A python CLI utility that can give you a random anime or manga from a selected genre, you can then watch the fetched anime straight from the terminal using ani-cli
. Made using InquirerPy and the Jikan API to pull data from MyAnimeList.
2023-09-13_16-44-39.mp4
- Python 3.x
- InquirerPy 0.3.3
- JikanPy 1.0.0
- clipboard 0.0.4
- ani-cli 4.6 (optional)
Clone this repository, then download the dependencies.
git clone https://github.com/tsukki9696/magatama.git
cd magatama/
pip install -r requirements.txt
TODO: Package script to the AUR.
python magatama.py
Move up and down genres with the arrow keys, confirm with Enter/Return.
Currently, the script is quite slow, and since the API requests from Jikan are fairly limited, I can only do so much optimisation, but improving the fetching speed is in my plans.
- JikanPy wrapper and the Jikan API maintainers
- InquirerPy maintainers
- ani-cli maintainers
- Where I got this whole idea from