Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd `webtorrent` command line executable #28
Comments
This comment has been minimized.
This comment has been minimized.
|
What directory of the project do you want the command-line executable in? |
This comment has been minimized.
This comment has been minimized.
|
Also, do you want the command to add the torrent and launch the normal GUI or be fully command line? |
This comment has been minimized.
This comment has been minimized.
|
@wtfaremyinitials are you implementing this? sweet! In node, usually this type of thing would go in a Would be awesome if you sent in a PR! |
This comment has been minimized.
This comment has been minimized.
|
Fully command-line, ideally. The normal GUI will assume Chrome is installed and that's not necessarily true. Plus launching Chrome is super heavyweight. Showing the progress in the terminal would be cool. |
This comment has been minimized.
This comment has been minimized.
|
is this being worked on ? |
This comment has been minimized.
This comment has been minimized.
|
I've been super busy with school stuff lately. If nobody else wants to do it, I might be able to find some time to do it in the next week. |
This comment has been minimized.
This comment has been minimized.
|
There's actually already a command line client in this repo. It's just a front-end to bittorrent-client, plus an http server. It's almost working, but bittorrent-client needs a bit more work first. |
This comment has been minimized.
This comment has been minimized.
|
WebTorrent is now usable as a command-line program, installable via npm. Give it a shot! $ npm install webtorrent -g
$ webtorrent --helpClosing this issue now. |
Since we're using browserify and we've used the node
fs,dgramandnetapis with browser-specific shims, webtorrent works in node out-of-the-box. Specifically, the bittorrent client works in node. The webtorrent client will take a bit more work.We should add an executable so users can do:
or