Skip to content

mikdanjey/MediaFusion

 
 

Repository files navigation

Media Fusion Stremio Addon 🎬

Media Fusion Logo

⚠️ Disclaimer ⚠️

The content of this script is created strictly for educational purposes. Use of the Add-on is at your own risk. This Add-on, written in Python, serves as an API for stremio. There is no affiliation with any scraping sites.

✨ Features

  • Provides catalogs for multiple languages: Tamil, Hindi, Malayalam, Kannada, English, and dubbed movies & series.

    Media Fusion Catalog

  • Supports streams for playback with torrent, Real Debrid, and Seedr integration.

    Media Fusion Streams

🚀 Installation

  1. Install Stremio from here.
  2. Navigate to Media Fusion and click on the 'Configure Add-on' button.

🛠️ Development

Prerequisites

  • Python: This project uses Python version 3.11. Ensure you have it installed.
  • MongoDB: Set up a MongoDB server. You can use MongoDB Atlas to create a free MongoDB cluster.
  • mkcert: To set up local HTTPS, you'll need to use mkcert to generate SSL certificates. If not installed, get it from here.

Setup

  1. Pipenv: Use Pipenv for managing project dependencies. If you don't have it installed, you can install it with:

    pip install pipenv
  2. Clone: Clone this repository.

    git clone https://github.com/mhdzumair/MediaFusion
  3. Environment Variables: Create a .env file in the root directory with the following variables:

    MONGO_URI=<Your_MongoDB_URI>
    SECRET_KEY=<Your_Random_32_Character_Secret>
    HOST_URL=https://localhost:8443
  4. Local HTTPS Setup:

    • Navigate to the MediaFusion directory.
    • Generate local SSL certificates using mkcert:
    mkcert -install
    mkcert localhost

    This will generate two files: localhost.pem and localhost-key.pem.

  5. Run Servers:

    • To serve your application over HTTPS on port 8443:
    pipenv run uvicorn main:app --host 0.0.0.0 --port 8443 --ssl-keyfile localhost-key.pem --ssl-certfile localhost.pem
    • Since Stremio doesn't support localhost HTTPS servers to install add-on, also run an HTTP server on port 8000:
    pipenv run uvicorn main:app --host 0.0.0.0 --port 8000
  6. For scraping instructions: refer to the scrapping README.

📚 References

pipenv run uvicorn --host 0.0.0.0 --port 8000 api.main:app

About

Universal Stremio Add-On

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 86.1%
  • JavaScript 6.0%
  • HTML 5.6%
  • CSS 2.3%