Magatama
Python script that fetches random anime and manga based on genre using the Jikan API.
Install / Use
/learn @vivifalls/MagatamaREADME
Magatama
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.
Demo
https://github.com/tsukki9696/magatama/assets/127806743/98ab56cd-4fcb-44ce-a12d-79697402e6c7
Dependencies
- Python 3.x
- InquirerPy 0.3.3
- JikanPy 1.0.0
- clipboard 0.0.4
- ani-cli 4.6 (optional)
Installation
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.
Usage
python magatama.py
Move up and down genres with the arrow keys, confirm with Enter/Return.
Limitations
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.
Credits
- JikanPy wrapper and the Jikan API maintainers
- InquirerPy maintainers
- ani-cli maintainers
- Where I got this whole idea from
Related Skills
node-connect
348.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
claude-opus-4-5-migration
108.9kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
frontend-design
108.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
model-usage
348.2kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
