LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

webtorrent

Streaming torrent client for the terminal

TLDR

Download torrent
$ webtorrent download "[magnet:?xt=...]"
copy
Download to directory
$ webtorrent download [file.torrent] -o [./downloads]
copy
Stream to player
$ webtorrent download [magnet] --vlc
copy
Stream to Chromecast
$ webtorrent download [magnet] --chromecast
copy
Seed file
$ webtorrent seed [file.mp4]
copy
Show torrent info
$ webtorrent info [file.torrent]
copy
Create torrent
$ webtorrent create [file.mp4]
copy

SYNOPSIS

webtorrent command [--vlc|--mpv] [-o dir] [options] torrent

DESCRIPTION

webtorrent is a torrent client that can download files to disk or stream them directly to media players like VLC and mpv while the download is still in progress. It supports both traditional BitTorrent peers and WebRTC-based browser peers.The download command saves torrent contents to a specified directory, while streaming options like --vlc or --mpv open the media in the corresponding player as data arrives. Casting to Chromecast and AirPlay devices is also supported for streaming to TV screens.The seed command shares local files over the BitTorrent network, and the create command generates new .torrent files. The tool accepts magnet links, torrent files, and info hashes as input.

PARAMETERS

download TORRENT

Download torrent.
seed FILE
Seed file.
info TORRENT
Show info.
create FILE
Create torrent.
-o, --out DIR
Output directory.
--vlc
Open in VLC.
--mpv
Open in mpv.
--chromecast
Cast to Chromecast.
--airplay
Cast to AirPlay.
-s, --select N
Select file index.

CAVEATS

Some trackers not supported. Streaming needs sufficient bandwidth. Browser version is different.

HISTORY

WebTorrent was created by Feross Aboukhadijeh to bring torrents to browsers. The CLI extends functionality to Node.js.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid