A content-based movie recommender web app built with Streamlit, using movie similarity data and The Movie Database (TMDb) API to show posters, ratings, and genres for recommended movies.
- 🔍 Fuzzy search for movie titles
- 🎥 Top 5 recommendations with posters
- 🎭 Genre and ⭐ rating display using TMDb API
- ⚡ Fast performance with Streamlit caching
- 🧠 Uses precomputed similarity matrix for content-based filtering
- User searches/selects a movie.
- The app finds the most similar movies using a similarity matrix.
- For each recommended movie, it fetches:
- Poster
- Genre
- Rating
from TMDb API.
your_project/
├── application.py
├── model/
│ ├── movie_list.pkl
│ └── similarity.pkl
git clone https://github.com/your-username/movie-recommender.git
cd movie-recommender
pip install -r requirements.txt
streamlit run application.py
This app uses The Movie Database (TMDb) API to fetch movie posters, genres, and ratings.
The current code includes a demo API key. For production use, get your own:
- Go to https://www.themoviedb.org/settings/api
- Create an account and generate an API key
- Replace the API_KEY in application.py
Example:
API_KEY = "your_own_tmdb_api_key"
Chayank Tatavarty



