Skip to content

shinas101/RetroFlix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Retro Flix

title

Overview

Retro Flix is a retro-themed movie download website.The project is built using Flask as the backend, HTML, JavaScript for the frontend, and MongoDB as the database.

Demo :

https://retroflix.ddlheaven.site

Features

  • Retro Theme: Includes both dark and light mode toggle for an immersive retro experience.
  • Search Functionality: Users can search for movies using the integrated search bar.
  • Movie Downloads: Direct download links for movies.
  • Responsive Design: Optimized for various devices.

Tech Stack

  • Backend: Flask
  • Frontend: HTML, CSS, JavaScript
  • Database: MongoDB
  • Environment Variables Management: python-dotenv
  • API Integration: Used for fetching movie data.

Setup Instructions

  1. Clone the repository:
    git clone https://github.com/yourusername/retro_flix.git
  2. Navigate to the project directory:
    cd retro_flix
  3. Create a virtual environment and activate it:
    python -m venv env
    source env/bin/activate  # On Windows, use `env\Scripts\activate`
  4. Install the required dependencies:
    pip install -r requirements.txt
  5. Set up environment variables:
    • Create a .env file in the project root.
    • Add the following variables:
      MONGO_URI=your_mongo_database_uri
      API_KEY=your_api_key_for_movie_data
    • Example data for mongodb :
      {"_id":{"$oid":"643b6b327c3fe343efe9589f"},
      "id":"20",
      "title":"Code.M.S02.S02.E04.1080p.VOOT.WEB-DL.DD5.1.H.264-Archie.mkv",
      "imdbId":"tt27187926",
      "link":"https://new6.gdtot.cfd/file/1566457617",
      "size":"1.46 GB",
      "indexTitle":"Code M S02 S02 E04 1080"}```
      
      
  6. Run the application:
    python run.py
  7. Open your browser and navigate to http://127.0.0.1:5000.

Screenshots

Dark Theme

Dark Theme

Light Theme

Light Theme

Search Feature

Search Feature

Dependencies

A requirements.txt file is included for managing dependencies. Below is the generated content for requirements.txt:

Flask
flask-cors
pymongo
humanize
dotenv
requests

Contributing

Contributions are welcome! Please fork the repository, make your changes, and create a pull request.

License

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