8000 GitHub - kalvinarts/torrs: A simple torrent streaming service
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

kalvinarts/torrs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

torrs

A simple torrent streaming service

Installation

Using the install script (Linux/macOS)

curl -fsSL https://raw.githubusercontent.com/kalvinarts/torrs/main/install.sh | sh

Manual download

You can also download the binary for your system directly from the releases page.

Usage

To start streaming a torrent:

torrs -m "magnet:?xt=urn:btih:..." 

Options

Option Description Default
-m Magnet link for the torrent -
-fc Get magnet link from clipboard false
-l List all files in the torrent false
-n Selects the file index number to download (use -l to see file index numbers)(takes precedence over -t) 0
-t Selects the first file with that extension (e.g. mp4)(takes precedence over -e) -
-e Select the first file that matches a regular expression -
-p Port to serve the file on "8457"
-d Download directory "~/Downloads"
-s Seed the torrent after download false
-tc Copy the stream URL to clipboard false

Examples

List files in a torrent:

torrs -m "magnet:?xt=urn:btih:..." -l

Stream specific file on custom port:

torrs -m "magnet:?xt=urn:btih:..." -n 2 -p 8080

Stream the first MP4 file found:

torrs -m "magnet:?xt=urn:btih:..." -t mp4

Stream the first file getting the magnet from clipboard:

torrs -fc -n 1

Development

Command Description
make build Build the project
make clean Clean build artifacts and test cache
make test Run tests with race detection and coverage
make run Run the application
make lint Lint the code using revive
make install Install the application
make release-build Build releases for Linux, macOS, and Windows

Roadmap

  • Add libVLC to stream to chromecast
  • Add testing

About

A simple torrent streaming service

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  
0