Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lfarci/netflix-ratings-chrome-extension
This is a simple Google Chrome extension that adds external ratings to the Netflix interface.
https://github.com/lfarci/netflix-ratings-chrome-extension
google-chrome google-chrome-extension javascript netflix open-movie-database
Last synced: 14 days ago
JSON representation
This is a simple Google Chrome extension that adds external ratings to the Netflix interface.
- Host: GitHub
- URL: https://github.com/lfarci/netflix-ratings-chrome-extension
- Owner: lfarci
- Created: 2021-11-21T11:54:45.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2021-11-28T18:53:33.000Z (almost 3 years ago)
- Last Synced: 2024-10-04T21:11:26.261Z (about 1 month ago)
- Topics: google-chrome, google-chrome-extension, javascript, netflix, open-movie-database
- Language: TypeScript
- Homepage:
- Size: 31.1 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Netflix Ratings Chrome Extension
## About
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](http://www.omdbapi.com/). Depending on the movie, the API has multiple possible sources:
- [The Internat Movie Database (IMDb)](https://www.imdb.com/);
- [Rottent tomatoes](https://www.rottentomatoes.com/);
- [Metacritic](https://www.metacritic.com/);![Screenshot](assets/screenshot.gif)
## Build
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
```## Installation
### Development
If you want to install it locally, you need to update the [Open Movie Database](http://www.omdbapi.com/) in the source code. First, you need to request one [here](http://www.omdbapi.com/apikey.aspx). Once you have it, edit the `scripts/api.js` file at line 43.```js
const query = new OpenMovieDatabaseQuery("", 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.