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.
https://retroflix.ddlheaven.site
- 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.
- Backend: Flask
- Frontend: HTML, CSS, JavaScript
- Database: MongoDB
- Environment Variables Management: python-dotenv
- API Integration: Used for fetching movie data.
- Clone the repository:
git clone https://github.com/yourusername/retro_flix.git
- Navigate to the project directory:
cd retro_flix
- Create a virtual environment and activate it:
python -m venv env source env/bin/activate # On Windows, use `env\Scripts\activate`
- Install the required dependencies:
pip install -r requirements.txt
- 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"}```
- Create a
- Run the application:
python run.py
- Open your browser and navigate to
http://127.0.0.1:5000
.
A requirements.txt
file is included for managing dependencies. Below is the generated content for requirements.txt
:
Flask
flask-cors
pymongo
humanize
dotenv
requests
Contributions are welcome! Please fork the repository, make your changes, and create a pull request.
This project is licensed under the MIT License. See the LICENSE
file for details.