Skip to content

EzerchE/MovieFinder

 
 

Repository files navigation

Movie Finder

A web application that makes it easy to discover movies similar to others. It displays films on a grid, positioning them closer together or further apart based on how similar they are to each other.

Demo

You can try the app with a dataset of 10k movies here.

Usage

To generate your own data, you need to supply 2 values in constants.py :

Generating a dataset is a 3 step process :

  • movie_list.py creates a list of GRID_SIZE² movies.
  • movie_details.py adds details for every movie found.
  • movie_grid.py generates a grid based on the movie details.

Run the 3 scripts in order and 4 json files should be generated in the data folder :

  • movies.json a simple list of movies ids.
  • movie_details.json a dictionnary associating a movie to its details.
  • movie_grid.json the coordinates on a grid calculated for each movie.
  • movie_grid_adult.json the same as the previous one but the grid also contains adult movies.

You can then simply open index.html in your favorite browser to display the movie sorting grid.

Note : The browser can sometimes block the read access to the different json files. Simply open index.html in a small server. (ex: run python3 -m http.server 8000 in the project folder, then open the web app.)

Credits

This product uses the TMDB API but is not endorsed or certified by TMDB.

TMDB Logo

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 45.4%
  • CSS 30.9%
  • Python 15.8%
  • HTML 7.9%