Skip to content

Stream your Real Debrid files in Stremio. Disclaimer: This addon is not official and is not affiliated with the Real Debrid website.

License

Notifications You must be signed in to change notification settings

SHSharkar/Stremio-Real-Debrid-Addon

Repository files navigation

Stremio Real Debrid Addon

Stream your Real Debrid files in Stremio.

Disclaimer: This addon is not official and is not affiliated with the Real Debrid website.

Configure addon page

Downloads catalog

Table of Contents

Description

This Stremio addon allows you to stream your Real Debrid files directly in Stremio. Access your Real Debrid torrents and downloads seamlessly within the Stremio interface.

Features

  • Stream Real Debrid Torrents and Downloads: Access and stream your Real Debrid torrents and downloads directly within Stremio.
  • Support for Movies and Series: The addon supports both movies and TV series.
  • Metadata Fetching: Fetches metadata from TMDb and OMDb for enriched content information.
  • Easy Configuration: Configure the addon easily through a web interface.
  • Tailwind CSS Styling: The addon interface is styled using Tailwind CSS.
  • Customizable: You can host the addon locally or use the hosted version.
  • Nginx Proxy Support: Instructions provided for setting up the addon behind an Nginx proxy.

Installation

Production Deployment

You can use the addon right away without installing it locally. Use the following production domain hosted by us:

https://stremio-real-debrid-addon.devwz.com

Visit the above link and follow the instructions to configure and install the addon in Stremio.

Local Deployment

You are welcome to host the addon locally.

Prerequisites

  • Node.js (v18 or higher)
  • NPM

Steps

  1. Clone the repository:

    git clone https://github.com/SHSharkar/Stremio-Real-Debrid-Addon.git
  2. Navigate to the project directory:

    cd Stremio-Real-Debrid-Addon
  3. Install dependencies:

    npm install
  4. Compile Tailwind CSS:

    The addon uses Tailwind CSS for styling. You need to compile the CSS before starting the addon.

    npx tailwindcss -i ./src/main.css -o ./dist/main.css --watch

    This will watch for changes in your CSS files and recompile as necessary.

  5. Start the addon:

    npm start -- --launch

    The --launch flag will open the addon in your default browser.

  6. Configure the addon:

    Open your browser and navigate to http://localhost:62316 if it doesn't open automatically. Follow the instructions to configure and install the addon in Stremio.

Tailwind CSS Compilation

For production builds, you can compile Tailwind CSS without the --watch flag:

npx tailwindcss -i ./src/main.css -o ./dist/main.css --minify

This will generate a minified CSS file suitable for production.

Configuration

When configuring the addon, you will need:

  • Real Debrid API Key (Required): Obtain it from here.
  • TMDb API Key (Optional): For fetching additional metadata. Obtain it from here.
  • OMDb API Key (Optional): For fetching additional metadata. Obtain it from here.

Usage

After installing the addon, you can access your Real Debrid torrents and downloads directly in Stremio. The addon provides catalogs for movies and series from your Real Debrid account.

Nginx Proxy Configuration

If you want to use the addon behind an Nginx proxy, follow these step-by-step instructions:

Step 1: Install Nginx

If Nginx is not installed, install it using your package manager.

For Ubuntu/Debian:

sudo apt update
sudo apt install nginx

Step 2: Create Nginx Configuration

Create a new Nginx server block configuration file:

sudo nano /etc/nginx/sites-available/stremio-realdebrid

Add the following configuration:

server {
    listen 80;
    server_name your.domain.com;

    location / {
        proxy_pass http://127.0.0.1:62316;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection 'upgrade';
        proxy_set_header Host $host;
        proxy_cache_bypass $http_upgrade;
    }
}

Replace your.domain.com with your actual domain.

Step 3: Enable the Configuration

Enable the new configuration by creating a symbolic link:

sudo ln -s /etc/nginx/sites-available/stremio-realdebrid /etc/nginx/sites-enabled/

Step 4: Test Nginx Configuration

Test the Nginx configuration for syntax errors:

sudo nginx -t

If the test is successful, restart Nginx:

sudo systemctl restart nginx

Step 5: Configure Firewall (if necessary)

Ensure that your firewall allows HTTP traffic (port 80).

Step 6: Access the Addon

Navigate to http://your.domain.com in your browser. Follow the instructions to configure and install the addon in Stremio.

Contributing

Contributions are welcome! Please fork the repository and submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Disclaimer

This addon is not official and is not affiliated with the Real Debrid website.