Skip to content

Torrent and stream Shows / Movies with cli with playback tracking

License

Notifications You must be signed in to change notification settings

Wraient/buttercup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

buttercup

A cli application to stream torrents and track the playback using jackett and webtorrent-cli

Join the discord server

https://discord.gg/cNaNVEE3B6

Demo

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

Features

  • Search for torrents
  • Stream torrents
  • Track playback
  • Save MPV Speed
  • Download / Install Jackett
  • Config file
  • CLI Selection menu
  • Rofi Support

Installing and Setup

Note: buttercup requires mpv, rofi, and webtorrent-cli for Rofi support and torrent streaming. These are included in the installation instructions below for each distribution.

Linux

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

Usage

Run buttercup with the following options:

buttercup [options]

Options

Examples

  • Play with Rofi:
    buttercup -rofi

Configuration

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

Dependencies

  • mpv - Video player (vlc support might be added later)
  • rofi - Selection menu
  • tar - Download and unzip Jackett

API Used