A modern streaming platform built with Django, offering a Netflix-like experience with features for watching movies, managing watchlists, and more.
- 🎥 Stream movies in multiple qualities (4K, 1080p, 720p, 480p)
- 📥 Download movies (with credits system)
- 🔍 Advanced search functionality
- 📋 Personal watchlist management
- ⭐ Rating and review system
- 🎯 Genre-based movie browsing
- 🎬 Movie trailers and additional videos
- 👤 User authentication and profiles
- 🌓 Dark theme UI
- 📱 Responsive design
- Backend: Django 4.x
- Frontend: HTML5, CSS3, JavaScript
- Styling: Bootstrap 5
- Icons: Font Awesome
- Database: PostgreSQL
- Video Streaming: Native HTML5 video player with quality switching
- Authentication: django-allauth
- API Integration: TMDb API for movie data
-
Clone the repository:
git clone https://github.com/yourusername/nobleflix.git cd nobleflix -
Create and activate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Create a .env file in the root directory with the following variables:
SECRET_KEY=your_secret_key DEBUG=True ALLOWED_HOSTS=localhost,127.0.0.1 DATABASE_URL=postgresql://user:password@localhost:5432/nobleflix TMDB_API_KEY=your_tmdb_api_key -
Run migrations:
python manage.py migrate
-
Create a superuser:
python manage.py createsuperuser
-
Run the development server:
python manage.py runserver
Visit http://127.0.0.1:8000 to access the application.
SECRET_KEY: Django secret keyDEBUG: Debug mode (True/False)ALLOWED_HOSTS: Comma-separated list of allowed hostsDATABASE_URL: PostgreSQL database URLTMDB_API_KEY: TMDb API key for fetching movie dataGOOGLE_ADSENSE_CLIENT_ID: (Optional) Google AdSense client ID
nobleflix/
├── core/ # Project core settings
├── movies/ # Movies app
│ ├── models.py # Database models
│ ├── views.py # View logic
│ ├── urls.py # URL routing
│ └── admin.py # Admin interface
├── templates/ # HTML templates
│ ├── base.html # Base template
│ └── movies/ # Movie-related templates
├── static/ # Static files
├── media/ # User-uploaded files
└── manage.py # Django management script
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- TMDb for providing movie data
- Bootstrap for the UI framework
- Font Awesome for icons
[Add screenshots of your application here]