Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 15 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<p align="center">f@#k netflix use notflix a tool which search magnet links and stream it with webtorrent</p>

##

<p align="center">
<img src="./preview.gif" alt="Video Preview" width="500px">
</p>
Expand All @@ -16,20 +17,27 @@ For scraping, the script uses simple gnu utils like sed, awk, paste, cut.

## Requirements

* [webtorrent](https://webtorrent.io/) - A tool to stream torrent. `npm install webtorrent-cli -g`
- [webtorrent](https://webtorrent.io/) - A tool to stream torrent. `npm install webtorrent-cli -g`

## Installation

### cURL
cURL **notflix** to your **$PATH** and give execute permissions.

```sh
$ sudo curl -sL "https://raw.githubusercontent.com/Bugswriter/notflix/master/notflix" -o /usr/local/bin/notflix
$ sudo chmod +x /usr/local/bin/notflix
sudo curl -sL "https://raw.githubusercontent.com/Bugswriter/notflix/master/notflix" -o /usr/local/bin/notflix
sudo chmod +x /usr/local/bin/notflix
```

*To update, just do `curl` again, no need to `chmod` anymore.*

## Uninstall

To uninstall, simply remove `notflix` from your **$PATH**, for example

```bash
sudo rm -f /usr/local/bin/notflix
```
- To update, just do `curl` again, no need to `chmod` anymore.
- To uninstall, simply remove `notflix` from your **$PATH**, for example `sudo rm -f /usr/local/bin/notflix.

## License
This project is licensed under [GPL-3.0](https://raw.githubusercontent.com/Illumina/licenses/master/gpl-3.0.txt).

This project is licensed under [GPL-3.0](https://raw.githubusercontent.com/Illumina/licenses/master/gpl-3.0.txt).
2 changes: 1 addition & 1 deletion notflix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ baseurl="https://1337x.wtf"
cachedir="$HOME/.cache/notflix"

if [ -z $1 ]; then
query=$(dmenu -p "Search Torrent: " <&-)
query=$(echo "" | dmenu -p "Search Torrent: ")
else
query=$1
fi
Expand Down