How kushiemoon-dev/flacidal works
FLACidal is a desktop and headless-server application for finding and downloading lossless music, with metadata and artwork. Users paste a streaming URL or search for tracks, albums, or artists, then queue downloads; the configured source order tries providers until one succeeds. The README also describes library deduplication, history, endpoint status, extensions, and audio/file tools. Frontend-to-backend routing is visible in the API layer, but detailed backend call chains were not sampled, so those relationships are not expanded.
Main entry points: app_sources.go Ordered source fallback · App.svelte App shell · api.ts Runtime API client · handlers.go HTTP endpoints
Components 25
User interface
- App shell
frontend/src/App.svelte - URL intake
frontend/src/pages/Home.svelte - Music search
frontend/src/pages/Search.svelte - Download queue
frontend/src/pages/Queue.svelte - Settings
frontend/src/pages/Settings.svelte - Download history
frontend/src/pages/History.svelte - Runtime API client
frontend/src/lib/api.ts - Queue state
frontend/src/stores/queue.ts
Application backend
- Headless HTTP server
internal/api/server.go - HTTP endpoints
internal/api/handlers.go - Download services
internal/app/app.go - Search services
internal/app/app_search.go - History services
internal/app/app_history.go - Audio analyzer
internal/api/handlers_analyzer.go
Music acquisition
- Ordered source fallback
internal/app/app_sources.go - Tidal
- Qobuz
- Amazon Music
- Bandcamp
- Soulseek P2P
- Community extensions
internal/api/handlers_extensions.go
Library and tools
- Downloaded files
frontend/src/pages/Files.svelte - Audio and file tools
frontend/src/pages/tools - External music library
Other components
- Music listener
Connections 28
- Music listener → App shell: uses
README.md - App shell → URL intake: routes to
frontend/src/App.svelte - App shell → Music search: routes to
frontend/src/App.svelte - App shell → Download queue: routes to
frontend/src/App.svelte - App shell → Settings: routes to
frontend/src/App.svelte - App shell → Download history: routes to
frontend/src/App.svelte - URL intake → Runtime API client: requests content
- Music search → Runtime API client: searches and queues
frontend/src/pages/Search.svelte - Download queue → Runtime API client: manages downloads
- Download queue → Queue state: uses state
- Settings → Runtime API client: configures sources
- Download history → Runtime API client: loads history
- Runtime API client → Headless HTTP server: HTTP requests
frontend/src/lib/api.ts - Headless HTTP server → HTTP endpoints: routes requests
- HTTP endpoints → Download services: delegates
- HTTP endpoints → Search services: serves search
- HTTP endpoints → History services: serves history
- HTTP endpoints → Audio analyzer: serves analysis
- Download services → Ordered source fallback: tries sources
- Ordered source fallback → Tidal: tries first
README.md - Ordered source fallback → Qobuz: falls back
README.md - Ordered source fallback → Amazon Music: falls back
README.md - Ordered source fallback → Bandcamp: falls back
README.md - Ordered source fallback → Soulseek P2P: falls back
README.md - Ordered source fallback → Community extensions: tries enabled
README.md - Download services → Downloaded files: writes downloads
- Downloaded files → External music library: checks duplicates
README.md - Music listener → Audio and file tools: uses tools
README.md