HUB
Sign inSign up

meidlinger1024/lain-ttml-api

By meidlinger1024

•Updated about 8 hours ago

AMLL TTML word-level lyric search and delivery API with web preview and admin console.

Image
API management
Web servers
0

226

meidlinger1024/lain-ttml-api repository overview

⁠lain-ttml-api

Word-level lyric search and TTML delivery for AMLL TTML DB⁠. Includes a browser preview, download API and a key-protected index console.

Search page

⁠Features

  • Search by title, artist, album or source ID.
  • Preview word-level TTML in the browser; copy or download .ttml.
  • Manage the index, cache, refresh jobs and schedule from /admin.
  • Index snapshot included; TTML files are cached on demand.
  • linux/amd64 and linux/arm64.

⁠Run

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⁠.

PageDescription
/Search, preview, copy and download
/adminIndex console; requires ADMIN_KEY
/docsAPI reference
/healthService and index status

ADMIN_KEY defaults to lain-ttml-admin; change it in production.

⁠Configuration

VariableDefaultDescription
PORT8383Listen port
ADMIN_KEYlain-ttml-adminAdmin console key
CACHE_DIRcacheTTML cache
INDEX_REFRESH_HOURS6Index refresh interval
RATE_LIMIT_PER_MINUTE120API rate limit
API_USERNAME / API_PASSWORDemptyEnables token auth when set
AMLL_RAW_BASEAMLL raw URLTTML upstream
AMLL_MIRROR_PREFIXemptyUpstream mirror prefix
Tag summary
Recent tags
Content type
Image
Digest
sha256:d8d39da3f…
Size
38.1 MB
Last updated
about 8 hours ago
docker pull meidlinger1024/lain-ttml-api:latest