{"id":28403611,"url":"https://github.com/pavan143kundeti/streamlit-project","last_synced_at":"2026-05-01T03:38:04.441Z","repository":{"id":287664124,"uuid":"965429208","full_name":"Pavan143Kundeti/streamlit-project","owner":"Pavan143Kundeti","description":"An Intelligent OTT System leveraging Machine Learning, NLP, and hybrid recommendation algorithms to enhance content management and personalization. Built using Streamlit, it integrates cosine similarity and TF-IDF for real-time, accurate movie suggestions.","archived":false,"fork":false,"pushed_at":"2025-04-13T07:57:36.000Z","size":12196,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-02T03:48:14.366Z","etag":null,"topics":["machine-learning","natural-language-processing","overview","python","technological-impact"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Pavan143Kundeti.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-13T06:26:31.000Z","updated_at":"2025-04-23T02:05:01.000Z","dependencies_parsed_at":"2025-04-13T07:45:55.678Z","dependency_job_id":null,"html_url":"https://github.com/Pavan143Kundeti/streamlit-project","commit_stats":null,"previous_names":["pavan143kundeti/streamlit-project"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Pavan143Kundeti/streamlit-project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pavan143Kundeti%2Fstreamlit-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pavan143Kundeti%2Fstreamlit-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pavan143Kundeti%2Fstreamlit-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pavan143Kundeti%2Fstreamlit-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Pavan143Kundeti","download_url":"https://codeload.github.com/Pavan143Kundeti/streamlit-project/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pavan143Kundeti%2Fstreamlit-project/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262222237,"owners_count":23277387,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["machine-learning","natural-language-processing","overview","python","technological-impact"],"created_at":"2025-06-01T18:37:55.420Z","updated_at":"2026-05-01T03:38:04.435Z","avatar_url":"https://github.com/Pavan143Kundeti.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🎬 CineAI — Movie Recommendation System\n\nA full-stack movie recommendation system using a **Hybrid ML engine** (SVD Matrix Factorization + TF-IDF Content-Based Filtering), FastAPI backend, MySQL database, and Streamlit frontend.\n\n## Tech Stack\n\n| Layer | Technology |\n|-------|-----------|\n| Frontend | Streamlit (dark Netflix-style UI) |\n| Backend | FastAPI + Python |\n| Database | MySQL |\n| ML | SVD Matrix Factorization + TF-IDF + Cosine Similarity + Pearson CF |\n\n## ML Algorithms\n\n- **SVD Matrix Factorization** — learns latent user/movie factors from ratings\n- **TF-IDF Content-Based Filtering** — finds similar movies via genres, overview, cast, director\n- **User-Based Collaborative Filtering** — Pearson correlation between users\n- **Hybrid Engine** — adaptive weights (SVD-heavy for experienced users, content-heavy for new users)\n- **Cold Start Handling** — popularity-based recommendations for new users\n\n## API Endpoints\n\n| Method | Endpoint | Description |\n|--------|----------|-------------|\n| POST | `/api/v1/auth/register` | Register |\n| POST | `/api/v1/auth/login` | Login (JWT) |\n| GET | `/api/v1/movies/` | List movies |\n| GET | `/api/v1/movies/search/` | Search movies |\n| GET | `/api/v1/recommendations/` | Personalised recommendations |\n| GET | `/api/v1/recommendations/popular` | Popular movies |\n| GET | `/api/v1/recommendations/explain/{id}` | Explain why a movie was recommended |\n| POST | `/api/v1/ratings/` | Rate a movie |\n| GET | `/api/v1/watchlist/` | Get watchlist |\n| POST | `/api/v1/users/preferences` | Set genre preferences |\n\nFull interactive docs at `http://localhost:8000/docs`\n\n## Run Locally\n\n### 1. Setup database\n```bash\nmysql -u root -p\nCREATE DATABASE movie_recommender;\nEXIT;\n```\n\n### 2. Backend\n```bash\ncd backend\npython -m venv venv\nvenv\\Scripts\\activate        # Windows\npip install -r requirements.txt\ncopy .env.example .env       # then edit .env\npython migrate_data.py       # import movies from CSV\nuvicorn app.main:app --reload\n```\n\n### 3. Frontend\n```bash\ncd frontend\npip install -r requirements.txt\nstreamlit run app.py\n```\n\n- Frontend: http://localhost:8501\n- API docs: http://localhost:8000/docs\n\n## Deploy with Docker\n\n```bash\ndocker-compose up --build\n```\n\nEverything (MySQL + backend + frontend) starts with one command.\n\n## Environment Variables\n\nCopy `backend/.env.example` to `backend/.env` and fill in:\n\n```\nDATABASE_URL=mysql+pymysql://root:PASSWORD@localhost:3306/movie_recommender\nSECRET_KEY=your-random-32-char-secret\nTMDB_API_KEY=optional-for-posters\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpavan143kundeti%2Fstreamlit-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpavan143kundeti%2Fstreamlit-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpavan143kundeti%2Fstreamlit-project/lists"}