AMLL TTML word-level lyric search and delivery API with web preview and admin console.
226
Word-level lyric search and TTML delivery for AMLL TTML DB. Includes a browser preview, download API and a key-protected index console.

.ttml./admin.linux/amd64 and linux/arm64.docker run -d --name lain-ttml-api \
-p 8383:8383 \
-e ADMIN_KEY=change-me \
-v "$PWD/lain-ttml-cache:/app/cache" \
--restart unless-stopped \
meidlinger1024/lain-ttml-api:latest
Open http://localhost:8383.
| Page | Description |
|---|---|
/ | Search, preview, copy and download |
/admin | Index console; requires ADMIN_KEY |
/docs | API reference |
/health | Service and index status |
ADMIN_KEY defaults to lain-ttml-admin; change it in production.
| Variable | Default | Description |
|---|---|---|
PORT | 8383 | Listen port |
ADMIN_KEY | lain-ttml-admin | Admin console key |
CACHE_DIR | cache | TTML cache |
INDEX_REFRESH_HOURS | 6 | Index refresh interval |
RATE_LIMIT_PER_MINUTE | 120 | API rate limit |
API_USERNAME / API_PASSWORD | empty | Enables token auth when set |
AMLL_RAW_BASE | AMLL raw URL | TTML upstream |
AMLL_MIRROR_PREFIX | empty | Upstream mirror prefix |
docker pull meidlinger1024/lain-ttml-api:latest