youtube-backup v0.0.1
Requirements
- node.js (tested on
v6.11.1) - youtube-dl
- unix (it will probably work on windows, but it's untested)
Usage
node lib (improve this...)
Vagrant
On the root path, you can run vagrant up to fire a clean Centos 7 VM with a basic Ansible provision.
If you vagrant ssh, it should work out of the box, and you will have a nice environment to use this.
But, as someone coding on windows and mac, I know that problems will happen. Some are solved here (at this moment...), new will arise in the future for sure, the combination of software versions, host OSs, virtualization providers, shared folders... is a real madness. As always, Google is your friend.
Some examples (mainly for my own future reference):
Centos 7comes clean, no guest additions, so depending on the software you're using you need to manually install them in order to shared folders to work. If you're using VirtualBox,vagrant plugin install vagrant-vbguestis a nice option.VirtualBox doesn't like symlinks on windows, so using
yarnornpm installwill fail. You need to add the param--no-bin-linksin order to work.Probably related with the above,
npm testwill fail on windows because it can't findeslinton the path. It uses the local one fromnode_modulesLine endings! CRLF/LF!! just commit a
.gitaatributesfile and enforce it at repo level (https://help.github.com/articles/dealing-with-line-endings).
8 years ago