This is a simple Google Chrome extension that adds external ratings to the Netflix interface.
The ratings are made available by the Open Movie Database. Depending on the movie, the API has multiple possible sources:
Two environment variables are required before running the build script:
- OMDB_HOST="https://www.omdbapi.com"
- OMDB_API_KEY=
You can set them using the export
command or by creating the .env
in the root directory.
> npm run build
If you want to install it locally, you need to update the Open Movie Database in the source code. First, you need to request one here. Once you have it, edit the scripts/api.js
file at line 43.
const query = new OpenMovieDatabaseQuery("<secret-key>", title, year);
Browse to chrome://extensions/
, activate the developer mode and click the Load unpacked button. Select the project root directory in the file explorer. The extension should be loaded succesfully.
You can start working.