webtorrent-cli
webtorrent-cli copied to clipboard
Display multiple torrents
What version of this package are you using? 4.0.3
What problem do you want to solve? Display info about multiple torrents
What do you think is the correct solution to this problem? Display each torrent being downloaded or seeded
Are you willing to submit a pull request to implement this change? Yeah, could totally take a stab at it
Description
Thanks for WebTorrent! :sparkling_heart:
webtorrent-cli can download multiple torrents by passing multiple filepaths or magnet links as arguments, like webtorrent download *.torrent
. This multi-torrent support is helpful.
When more than one torrent is specified, webtorrent-cli automatically enables quiet mode (equivalent to the --quiet
flag):
https://github.com/webtorrent/webtorrent-cli/blob/bbbe6ef6bdb033178c2615e3d36703a3afd970f7/bin/cmd.js#L831-L839
This means the user is unable to see the status of any of the torrents.
Suggestions
It would be great to have a compact display of each torrent being downloaded or seeded.
I would propose something like this:
- Display each torrent in 1-2 lines, with select metadata:
- name
- download speed and size
- upload speed and size
- peers
- When the number of torrents exceeds the height of the terminal window, abbreviate the list like
... and <n> more
(the current behavior for displaying peers)
It might look like this:

It's probably a good idea to support the --quiet
flag, in case users want to preserve the existing behavior.
Related
- webtorrent/webtorrent-cli#20
- webtorrent/webtorrent-cli#21
- webtorrent/webtorrent-cli#81
- webtorrent/webtorrent-cli#177
Torrents from screenshot:
- Pwned passwords list (Have I Been Pwned - help Troy Hunt reduce egress fees)
- The Origin of Species by Charles Darwin (LibriVox)
- Sintel (WebTorrent)
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This would be great! happy to review a PR :)
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
yes #240
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
yes #240
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
yes #240
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?