Comments (8)
What directory of the project do you want the command-line executable in?
from webtorrent.
Also, do you want the command to add the torrent and launch the normal GUI or be fully command line?
from webtorrent.
@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.
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.
is this being worked on ?
from webtorrent.
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.
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.
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)
- Do not use the old `import ... assert` syntax. HOT 1
- failed to build in Electron with utp-native error HOT 5
- autoStart option for client.add HOT 4
- client.seed() doesn't start unless client is restarted HOT 3
- wrong Return Value type of client.get() in @types/webtorrent packages HOT 1
- Update Flatpak version HOT 1
- Version 2.2.1 requires webrtc-polyfill due to loose dependency on torrent-discovery HOT 4
- Filename is overridden by the torrent name when seeding a single file HOT 1
- Already downloaded files are not showing inside torrent.files array HOT 2
- Cannot find module "node_datachannel.node" HOT 1
- Syntax error on webtorrent-min.js for multiple version HOT 5
- TypeError: Cannot read properties of null (reading 'isIP') HOT 6
- de-duplicate IP packages
- Publish on Flathub HOT 1
- Metadata is forgotten on page reload HOT 3
- Deno support HOT 1
- File transfer through WebTorrent works on local network, but not on the internet. HOT 4
- I am trying to implementing webtorrent to my react native project. HOT 1
- Send files to downloads without client.createServer or file.blob HOT 3
- infohash without trackers stopped working HOT 18
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webtorrent.