How okami89aut/aiki-nikki works
Aikido Tracker is a Home Assistant integration paired with a browser-based kyu curriculum and training diary. A person opens the app, signs in or registers, and synchronizes training records and goals with the server; the integration validates requests and persists each person’s data. Other documented capabilities include delayed account deletion, an administrative person-deletion service, and a Home Assistant overview sensor. The app’s implementation was not excerpted, so its internal workflow is summarized rather than decomposed; QA and build tooling are excluded.
Main entry points: api.py HTTP API · __init__.py Integration setup · store.py Person store · aikido-kyu-tracker.html Kyu tracker app
Components 12
Browser app
- Kyu tracker app
custom_components/aikido_tracker/app/aikido-kyu-tracker.html
Server integration
- Integration setup
custom_components/aikido_tracker/__init__.py - HTTP API
custom_components/aikido_tracker/api.py - Request limits
custom_components/aikido_tracker/limits.py - App page delivery
custom_components/aikido_tracker/page.py
Identity and storage
- Identity checks
custom_components/aikido_tracker/identity.py - Person store
custom_components/aikido_tracker/store.py - Person data files
custom_components/aikido_tracker/store.py
Home Assistant
- Person overview sensor
custom_components/aikido_tracker/sensor.py - Overview formatter
custom_components/aikido_tracker/report.py
Other components
- Tracker user
- Home Assistant admin
Connections 14
- Tracker user → Kyu tracker app: opens
README.md - Kyu tracker app → HTTP API: syncs records
README.md - Tracker user → HTTP API: registers or signs in
- Integration setup → HTTP API: registers routes
custom_components/aikido_tracker/__init__.py - Integration setup → Person store: loads store
custom_components/aikido_tracker/__init__.py - Integration setup → App page delivery: registers page
custom_components/aikido_tracker/__init__.py - Integration setup → Person overview sensor: loads platform
custom_components/aikido_tracker/__init__.py - HTTP API → Identity checks: checks credentials
custom_components/aikido_tracker/api.py - HTTP API → Request limits: checks request limits
custom_components/aikido_tracker/api.py - HTTP API → Person store: reads and writes
custom_components/aikido_tracker/api.py - Person store → Person data files: persists records
custom_components/aikido_tracker/store.py - Person overview sensor → Overview formatter: formats overview
custom_components/aikido_tracker/sensor.py - Home Assistant admin → Integration setup: configures integration
README.md - Home Assistant admin → Person store: deletes person