How alfarrizi-studio/liriqo works
LiriQo’s sampled runtime here is its JavaScript client parser, not the public API server. The workflow is a client request to retrieve lyrics, followed by provider-aware parsing, quality selection and normalized lyric results; the parser also supports translation attachment and LRC-oriented output. The README documents the broader provider and format coverage. Source excerpts are partial, so some internal wiring—particularly selection and word-synced LRC building—is not asserted beyond documented behavior.
Main entry points: index.js Parser entry · util.js Shared utilities · api.js API client · words.js Word LRC builder
Components 13
Retrieval
- API client
lyrics-parser/src/api.js
Format parsing
- TTML parser
lyrics-parser/src/ttml.js - QRC parser
lyrics-parser/src/qrc.js - Provider formats
lyrics-parser/src/provider-formats.js - LRC and plain
lyrics-parser/src/lrc.js
Result shaping
- Parser entry
lyrics-parser/src/index.js - Track selection
lyrics-parser/src/select.js - Word LRC builder
lyrics-parser/src/words.js - Translations
lyrics-parser/src/translations.js - Shared utilities
lyrics-parser/src/util.js - Normalized lyrics
Other components
- Client developer
- LiriQo API
Connections 17
- Client developer → Parser entry: requests lyrics
README.md - Parser entry → API client: fetches response
lyrics-parser/src/index.js - API client → LiriQo API: requests data
lyrics-parser/src/api.js - LiriQo API → API client: returns JSON
lyrics-parser/src/api.js - Parser entry → TTML parser: parses TTML
lyrics-parser/src/index.js - Parser entry → QRC parser: parses QRC
lyrics-parser/src/index.js - Parser entry → Provider formats: parses provider formats
lyrics-parser/src/index.js - Parser entry → LRC and plain: parses LRC and plain
lyrics-parser/src/index.js - Parser entry → Track selection: selects tracks
lyrics-parser/src/index.js - Parser entry → Translations: attaches translations
lyrics-parser/src/index.js - Parser entry → Shared utilities: builds results
lyrics-parser/src/index.js - Parser entry → Normalized lyrics: returns results
lyrics-parser/src/index.js - Word LRC builder → Track selection: checks timing
lyrics-parser/src/words.js - Word LRC builder → Shared utilities: formats timestamps
lyrics-parser/src/words.js - TTML parser → Normalized lyrics: produces timed lyrics
lyrics-parser/src/ttml.js - QRC parser → Shared utilities: uses utilities
lyrics-parser/src/qrc.js - Translations → Shared utilities: uses language helper
lyrics-parser/src/translations.js