Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

README.md

🎬 Movie Recommender System

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.


🚀 Features

  • 🔍 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

🧠 How It Works

  1. User searches/selects a movie.
  2. The app finds the most similar movies using a similarity matrix.
  3. For each recommended movie, it fetches:
    • Poster
    • Genre
    • Rating
      from TMDb API.

🗂️ Folder Structure

your_project/ ├── application.py
├── model/
│ ├── movie_list.pkl
│ └── similarity.pkl


🛠️ Installation

1. Clone this repository

git clone https://github.com/your-username/movie-recommender.git
cd movie-recommender

2. Install dependencies

pip install -r requirements.txt

3. Run the app

streamlit run application.py


🔑 TMDb API Key

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:

  1. Go to https://www.themoviedb.org/settings/api
  2. Create an account and generate an API key
  3. Replace the API_KEY in application.py

Example:

API_KEY = "your_own_tmdb_api_key"


🖼️ Preview

image

image

image

image


✍️ Author

Chayank Tatavarty

About

A content-based movie recommender web app

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages