Linux command
webtorrent 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Download torrent
webtorrent download "[magnet:?xt=...]"
Download to directory
webtorrent download [file.torrent] -o [./downloads]
Stream to player
webtorrent download [magnet] --vlc
Stream to Chromecast
webtorrent download [magnet] --chromecast
Seed file
webtorrent seed [file.mp4]
Show torrent info
webtorrent info [file.torrent]
Create torrent
webtorrent create [file.mp4]
说明
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.
参数
- 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.
FAQ
What is the webtorrent command used for?
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.
How do I run a basic webtorrent example?
Run `webtorrent download "[magnet:?xt=...]"` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does download _TORRENT_ do in webtorrent?
Download torrent.