How naexys/anime-requester works
anime-requester is a browser-based anime discovery app. A user enters through the landing page, proceeds to the search page, selects title, ID, rank, or genre criteria, and sees matching anime cards backed by Kitsu. Genre choices are preloaded and cached for the session; the app also provides a session-persisted theme toggle. The excerpts show search dispatch, API formatting, and rendering, but not the HTML wiring, so page-to-script relationships are left out where they cannot be verified.
Main entry points: search.js Search controls · api.js API requests · registration.js Genre preload · home.html Search page
Components 19
Entry and navigation
- Landing page
index.html - Genre preload
JS/registration.js - Search page
HTML/home.html - Page guard
JS/script.js
Anime discovery
- Search controls
JS/search.js - Title search
JS/api.js - ID lookup
JS/api.js - Rank lookup
JS/api.js - Genre filtering
JS/api.js - Genre listing
JS/api.js
API and session data
- API requests
JS/api.js - Anime formatting
JS/api.js - Kitsu API
- Genre session cache
JS/search.js
Presentation
- Result cards
JS/showcard.js - Single anime card
JS/showcard.js - Theme toggle
JS/theme.js - Page styling
CSS/style.css
Other components
- Visitor
Connections 27
- Visitor → Landing page: opens
README.md - Genre preload → Genre listing: loads genres
JS/registration.js - Genre preload → Genre session cache: caches genres
JS/registration.js - Genre preload → Search page: redirects to
JS/registration.js - Search page → Search controls: hosts search
- Page guard → Search controls: loads module
JS/script.js - Page guard → Genre session cache: checks cache
JS/script.js - Search controls → Genre session cache: reads genres
JS/search.js - Search controls → Title search: calls for titles
JS/search.js - Search controls → ID lookup: calls for IDs
JS/search.js - Search controls → Rank lookup: calls for ranks
JS/search.js - Search controls → Genre filtering: calls genre filters
JS/search.js - Search controls → Result cards: renders results
JS/search.js - Search controls → Single anime card: renders one result
JS/search.js - Genre preload → API requests: requests genres via
JS/api.js - Title search → API requests: requests data via
JS/api.js - ID lookup → API requests: requests data via
JS/api.js - Rank lookup → API requests: requests data via
JS/api.js - Genre filtering → API requests: requests data via
JS/api.js - API requests → Kitsu API: fetches from
JS/api.js - Title search → Anime formatting: formats results
JS/api.js - ID lookup → Anime formatting: formats result
JS/api.js - Rank lookup → Anime formatting: formats result
JS/api.js - Genre filtering → Anime formatting: formats results
JS/api.js - Genre listing → API requests: requests categories via
JS/api.js - Theme toggle → Genre session cache: persists theme separately
- Search page → Page styling: uses styles