baywatch is a TUI for The Pirate Bay built using Textual. It uses peerflix to stream torrents and Transmission to download torrents.
Optionally install peerflix:
npm install -g peerflix
Optionally install Transmission: https://transmissionbt.com/download/
Install baywatch via pip:
pip install bay-watch
Launch baywatch
baywatch
To open the configuration editor:
baywatch -c
To output the app log:
baywatch -l out.log
By default play
uses mpv to handle peerflix streams and open a file selection dialog when multiple files are present in the torrent. To change this, open the config editor using baywatch -c
and change Play
and Play Multifile
.
For instance, to set peerflix to use VLC and to play all files in a multifile torrent (e.g., like an album):
Play
:
peerflix '{}' --vlc
Play Multifile
:
peerflix '{}' --vlc -a
See peerflix documentation for more details.
On download
, baywatch attempts to connect to Transmission or transmission-daemon. baywatch will try to open transmission-gtk
if it is unable to find an running Transmission instance. This can be turned off or changed to another transmission interface by setting the Command (Transmission)
or Try Open (Transmission)
configuration variables.
baywatch is made for educational purposes for downloading legal torrents.