naughty-doge / stremio-zooqle

Zooqle Addon for Stremio
https://stremio-zooqle.naughty-doge.pro
10 stars 5 forks source link






Zooqle Addon for Stremio

This is a Stremio addon that provides movies and series indexed by Zooqle from RARBG, KAT, YTS, MegaTorrents and other torrent trackers.

Features

Running

The addon is a web server that fetches torrent files from Zooqle, which indexes them from various trackers. It uses environment variables for configuration and includes a handful of npm scripts to run with or without Docker.

IMPORTANT: it requires a Zooqle account to scrape magnet links from movie pages. Before starting the addon, register on Zooqle and then set the STREMIO_ZOOQLE_USERNAME and STREMIO_ZOOQLE_PASSWORD environment variables to the corresponding values.

To install and quickly start the addon, do:

git clone https://github.com/naughty-doge/stremio-zooqle
cd stremio-zooqle
yarn # or `npm install`
yarn start # or `npm start`

By default the server starts on localhost:80 in development mode and doesn't announce itself to the Stremio addon tracker. To add the addon to Stremio app, open its endpoint in the browser and click the Install button, or enter the URL in the app's Addons section.

In order for the addon to work publicly, the following environment variables must be set in addition to the account variables:

Note: since this addon scrapes pages, it is recommended to run it behind a proxy and use Redis caching.

Development

The code is written in ES7 and then transpiled with Babel. It is covered by a suite of Jest tests, and the staged files are automatically linted with ESLint. The transpiled files are included in the repository: this makes for quicker start and eases deployment to different environments such as Docker and Heroku.

npm scripts

Each of these scripts can be used with yarn <script> or npm run <script>:

When run in Docker using these scripts, the variables from the current shell are passed to the Docker container.

Configuration

To configure the addon, set the following environment variables before running it:

The addon also respects environment variables commonly used by many hosting providers (e.g. Heroku):

Screenshots

Discover