Giter Site home page Giter Site logo

Comments (8)

wtfaremyinitials avatar wtfaremyinitials commented on August 22, 2024

What directory of the project do you want the command-line executable in?

from webtorrent.

wtfaremyinitials avatar wtfaremyinitials commented on August 22, 2024

Also, do you want the command to add the torrent and launch the normal GUI or be fully command line?

from webtorrent.

feross avatar feross commented on August 22, 2024

@wtfaremyinitials are you implementing this? sweet!

In node, usually this type of thing would go in a bin folder in the root. bin/cmd.js or something like that. Then you add an entry to package.json to declare it. See https://www.npmjs.org/doc/files/package.json.html#bin

Would be awesome if you sent in a PR!

from webtorrent.

feross avatar feross commented on August 22, 2024

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.

from webtorrent.

shavyg2 avatar shavyg2 commented on August 22, 2024

is this being worked on ?

from webtorrent.

wtfaremyinitials avatar wtfaremyinitials commented on August 22, 2024

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.

from webtorrent.

feross avatar feross commented on August 22, 2024

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.

from webtorrent.

feross avatar feross commented on August 22, 2024

WebTorrent is now usable as a command-line program, installable via npm. Give it a shot!

$ npm install webtorrent -g
$ webtorrent --help

Closing this issue now.

from webtorrent.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.