@alchmy/youtube2ipfs
downloads from youtube and uploads to ipfs
Last updated 2 years ago by alchmy .
GPL-3.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @alchmy/youtube2ipfs 
SYNC missed versions from official npm registry.

youtube2ipfs

It's all in the name. ☺ Downloads from youtube and uploads to ipfs.

Summary

Installation

npm install --global @alchmy/youtube2ipfs

If you need to install a daemon to receive the ipfs files. This will download ipfs, install it, and set it up as a service that automatically restarts on reboot.

git clone https://github.com/alchmy/librarian.git
cd librarian
chmod +x ipfs-linux-install.sh
./ipfs-linux-install

Usage

Basic

By default, it is currently assumed that you have an IPFS daemon listening on localhost:5001, which is the default configuration of an IPFS daemon. If you wish to send to another endpoint, see the Advanced section.

youtube2ipfs 'https://www.youtube.com/watch?v=8wLCmDtCDAM'

Make sure that you put the main parameter in quotes so the shell does not try to expand any of the special characters.

Advanced

Sending to non-default endpoints.

This is for sending the video to a daemon not on localhost:5001. Just specify the flags --ip, --port, and --protocol.

youtube2ipfs 'https://www.youtube.com/watch?v=8wLCmDtCDAM' --ip '164.13.543.32' --port '3454' --protocol 'http'
To come
  • Add an option to make persistant endpoint configuration.
  • When no node is detected, offer to install an IPFS daemon for the user and configure appropriately if needed.

Feedback

Please let me know if you find this package useful and in what way you use it. Also tell me if there are any features you would like me to add in order that you might be able to integrate it into your project.

Current Tags

  • 0.0.14842                                ...           latest (2 years ago)

19 Versions

  • 0.0.14842                                ...           2 years ago
  • 0.0.14841                                ...           2 years ago
  • 0.0.1484                                ...           2 years ago
  • 0.0.1483                                ...           2 years ago
  • 0.0.1482                                ...           2 years ago
  • 0.0.1481                                ...           2 years ago
  • 0.0.148                                ...           2 years ago
  • 0.0.147                                ...           2 years ago
  • 0.0.146                                ...           2 years ago
  • 0.0.145                                ...           2 years ago
  • 0.0.144                                ...           2 years ago
  • 0.0.143                                ...           2 years ago
  • 0.0.142                                ...           2 years ago
  • 0.0.141                                ...           2 years ago
  • 0.0.14                                ...           2 years ago
  • 0.0.13                                ...           2 years ago
  • 0.0.12                                ...           2 years ago
  • 0.0.11                                ...           2 years ago
  • 0.0.1                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 38
Last Day 0
Last Week 0
Last Month 0
Dependencies (4)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |