Nyaaflix is a simple bash script that will scrape the website nyaa.iss.ink, fetch the magnet url of torrent for the requested show and stream it using peerflix.
peerflix
node (nodejs)
curl
mpv
fzf
bash
- First install the dependencies listed above using your package manager
- Follow the following instructions
git clone https://github.com/zypherfunk/nyaaflix
cd nyaaflix
sudo cp nyaaflix.sh /usr/local/bin/nyaaflix
cd ..
rm -rf nyaaflix/
curl -L "https://raw.githubusercontent.com/zypherfunk/nyaaflix/main/nyaaflix.sh" | sudo tee /usr/local/bin/nyaaflix
sudo chmod +x /usr/local/bin/nyaaflix
curl -L "https://raw.githubusercontent.com/zypherfunk/nyaaflix/main/nyaaflix.sh" > ~/.local/bin/nyaaflix
chmod +x ~/.local/bin/nyaaflix
Add ~/.local/bin to PATH if not added. Change to zshrc if your'e using that.
echo 'export PATH=$HOME/.local/bin:$PATH' >> ~/.bashrc
nyaaflix <Search Term>
Eg: nyaaflix Chainsaw man