Skip to content

ahuactl/webtorrent-rofi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 

Repository files navigation

webtorrent-rofi

A rofi client for scraping.

Watch BugsWriters video on it - bugswriter's notflix

How does this work?

This is a shell script. It scrapes 1337x and gets the magnet link. After this it uses webtorrent to stream the video from the magnet link. For scraping, the script uses simple gnu utils like sed, awk, paste, cut.

Usage

webtorrent-rofi
webtorrent-rofi [query]

Requirements

  • webtorrent - A tool to stream torrent.
  • rofi - A window switcher, Application launcher and dmenu replacement.
# npm install webtorrent-cli -g
# pacman -S rofi

Installation

# curl -sL "https://raw.githubusercontent.com/ahuactl/webtorrent-rofi/master/webtorrent-rofi" -o /usr/local/bin/webtorrent-rofi
# chmod +x /usr/local/bin/notflix
  • To update, just do curl again, no need to chmod anymore.
  • To uninstall, simply run sudo rm -f /usr/local/bin/webtorrent-rofi.

License

This project is licensed under GPL-3.0.