Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/seanbreckenridge/mal-unapproved
website that displays unapproved MAL entries
https://github.com/seanbreckenridge/mal-unapproved
anime-databases jikan jikan-api mal-unapproved myanimelist sinatra
Last synced: 4 months ago
JSON representation
website that displays unapproved MAL entries
- Host: GitHub
- URL: https://github.com/seanbreckenridge/mal-unapproved
- Owner: seanbreckenridge
- License: mit
- Created: 2020-01-11T08:21:29.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-19T03:39:14.000Z (about 2 years ago)
- Last Synced: 2023-03-01T15:05:50.568Z (almost 2 years ago)
- Topics: anime-databases, jikan, jikan-api, mal-unapproved, myanimelist, sinatra
- Language: Ruby
- Homepage: https://sean.fish/mal_unapproved
- Size: 45.9 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
This has been replaced by [checker_mal](https://github.com/Hiyori-API/checker_mal), which consolidates `mal_id_cache` and this website into the same application
---
A Sinatra website that serves the output of [`mal_id_cache --unapproved json`](https://github.com/seanbreckenridge/mal-id-cache)
Consists of `cache_loop`, which keeps the JSON cache file up to date and the http server.
##### Install/Run:
After installing `ruby`, `bundle`, and `python3.6+`, `uglifycss`:
Assumes you have a built [`mal_id_cache`](https://github.com/seanbreckenridge/mal-id-cache). I run that on my server anyways, so you could just set up a script to periodically `git pull` from that repo. Otherwise, run `mal_id_cache --loop` in the background.
Host an instance of jikan on port 8000. See [here](https://github.com/jikan-me/jikan-rest#01-installation-prerequisites) for more info; my [docker setup](https://github.com/seanbreckenridge/docker-jikan)
Uses `uglifycss` to minify CSS from `./public/raw_css` to `./public/css`. That can be done with `./uglify_css`
```
bundle install
pip3 install --user jikanpy requests
./cache_loop once # (run once to build the initial unapproved/name cache)
./cache_loop & # run in background to keep unapproved IDs updated
ruby server.rb # to serve html
```I handle the backgrounds tasks using supervisor [here](https://github.com/seanbreckenridge/vps)