This is Donghua DB, a database dedicated to Chinese anime (donghua). It combines English and machine translated Chinese language data sources to come up with a more comprehensive set of shows and features including search and filter, ranking, tagging, and recommendations.
Contains the serverless Next.js frontend for the DonghuaDB app
- Install Node.js (v16.17.0 or later)
cd frontend
npm i
- Add a file in the frontend folder called
.env
containing a DATABASE_URL variable in the formatmysql://USER:PASSWORD@HOST:PORT/DATABASE
npm run dev
and it should be running on localhost:3000
Contains various scripts used to scrape MyAnimeList and Bangumi.tv, and also connect to the database and Google Cloud Translate API
- Install python (3.10.7 or later)
cd data
pip install -r requirements.txt
- Run any script, eg.
python translate.py