A cli application to stream torrents and track the playback using jackett and webtorrent-cli
The demo speed has been increased, real speed would be slower depending on number of seeders and leechers
Cli Mode:
buttercup-demo.mp4
Rofi Mode:
buttercup-rofi-demo.mp4
- Search for torrents
- Stream torrents
- Track playback
- Save MPV Speed
- Download / Install Jackett
- Config file
- CLI Selection menu
- Rofi Support
Note:
buttercup
requiresmpv
,rofi
, andwebtorrent-cli
for Rofi support and torrent streaming. These are included in the installation instructions below for each distribution.
Arch Linux / Manjaro (AUR-based systems)
Using Yay:
yay -Sy buttercup
or using Paru:
paru -Sy buttercup
Or, to manually clone and install:
git clone https://aur.archlinux.org/buttercup.git
cd buttercup
makepkg -si
sudo pacman -S rofi npm
npm install -g webtorrent-cli
Debian / Ubuntu (and derivatives)
sudo apt update
sudo apt install -y mpv curl rofi npm
sudo npm install -g webtorrent-cli
curl -Lo buttercup https://github.com/Wraient/buttercup/releases/latest/download/buttercup
chmod +x buttercup
sudo mv buttercup /usr/local/bin/
buttercup
Fedora Installation
sudo dnf update
sudo dnf install -y mpv curl rofi npm
sudo npm install -g webtorrent-cli
curl -Lo buttercup https://github.com/Wraient/buttercup/releases/latest/download/buttercup
chmod +x buttercup
sudo mv buttercup /usr/local/bin/
buttercup
openSUSE Installation
sudo zypper refresh
sudo zypper install -y mpv curl rofi npm
sudo npm install -g webtorrent-cli
curl -Lo buttercup https://github.com/Wraient/buttercup/releases/latest/download/buttercup
chmod +x buttercup
sudo mv buttercup /usr/local/bin/
buttercup
Generic Installation
# Install mpv, curl, rofi, npm, and webtorrent-cli (required for torrent streaming)
# Install npm for any additional packages
curl -Lo buttercup https://github.com/Wraient/buttercup/releases/latest/download/buttercup
chmod +x buttercup
sudo mv buttercup /usr/local/bin/
buttercup
Uninstallation
sudo rm /usr/local/bin/buttercup
For AUR-based distributions:
yay -R buttercup
Run buttercup
with the following options:
buttercup [options]
- Play with Rofi:
buttercup -rofi
All configurations are stored in a file you can edit with the -e
option.
buttercup -e
Script is made in a way that you use it for one session of watching.
You can quit it anytime and the resume time would be saved in the history file
more settings can be found at config file.
config file is located at ~/.config/buttercup/config
- mpv - Video player (vlc support might be added later)
- rofi - Selection menu
- tar - Download and unzip Jackett
- Jackett - To get torrents