From 761c2dc7187ee95b3b0dde1ff1d974ce9456116e Mon Sep 17 00:00:00 2001 From: Owen Voke Date: Sat, 22 Dec 2018 11:57:41 +0000 Subject: [PATCH] webtorrent: add page (#2659) --- pages/common/webtorrent.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pages/common/webtorrent.md diff --git a/pages/common/webtorrent.md b/pages/common/webtorrent.md new file mode 100644 index 000000000..26a39d724 --- /dev/null +++ b/pages/common/webtorrent.md @@ -0,0 +1,36 @@ +# webtorrent + +> The command line interface for WebTorrent. +> Supports magnets, urls, info hashes and .torrent files. + +- Download a torrent: + +`webtorrent download "{{torrent_id}}"` + +- Stream a torrent to VLC media player: + +`webtorrent download "{{torrent_id}}" --vlc` + +- Stream a torrent to a Digital Living Network Alliance (DLNA) device: + +`webtorrent download "{{torrent_id}}" --dlna` + +- Display a list of files for a specific torrent: + +`webtorrent download "{{torrent_id}}" --select` + +- Specify a file index from the torrent to download: + +`webtorrent download "{{torrent_id}}" --select {{index}}` + +- Seed a specific file or directory: + +`webtorrent seed {{path/to/file_or_directory}}` + +- Create a new torrent file for the specified file path: + +`webtorrent create {{path/to/file}}` + +- Display information for a magnet uri or .torrent file: + +`webtorrent info {{path/to/file_or_magnet}}`