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 7
comes 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-vbguest
is a nice option.VirtualBox doesn't like symlinks on windows, so using
yarn
ornpm install
will fail. You need to add the param--no-bin-links
in order to work.Probably related with the above,
npm test
will fail on windows because it can't findeslint
on the path. It uses the local one fromnode_modules
Line endings! CRLF/LF!! just commit a
.gitaatributes
file and enforce it at repo level (https://help.github.com/articles/dealing-with-line-endings).
7 years ago