How sud0-odus/aurral-dev works
Aurral is a self-hosted music-discovery and library-management application. Its user-facing journey spans discovery and search, requests and downloads, library management, playlists, and playback; Lidarr is optional. The repository separates a React client, an Express backend, domain services, persistent stores, and external integrations. The README documents the major capabilities and integrations; sampled backend references confirm server route wiring, discovery delegation, and several storage and worker relationships. Many feature-specific implementation links are omitted because their source was not sampled.
Main entry points: downloadPipeline.js Download pipeline · main.js Discovery routes · downloadTracker.js Download tracking · downloadClientSettings.js Download clients
Components 21
User experience
- Web application
frontend/src/App.jsx
Discovery and search
- Discovery routes
backend/routes/discovery/handlers/main.js - User discovery
backend/services/discovery/userDiscovery.js - Recommendations
backend/services/discovery/recommendationPipeline.js - Search
backend/services/searchService.js
Requests and library
- Album requests
backend/routes/requests.js - Download pipeline
backend/services/downloadPipeline.js - Download tracking
backend/services/downloadJobs/downloadTracker.js - Download clients
backend/services/download/downloadClientSettings.js - Library queries
backend/services/libraryQueryService.js - Library ingestion
backend/services/libraryFiles/ingest.js
Playlists and playback
- Playlist manager
backend/services/playlists/playlistManager.js - Playback destinations
backend/services/playback/playbackDestinationRegistry.js - Subsonic API
backend/routes/subsonic.js
Backend platform
- HTTP server
backend/server.js - Application database
backend/config/db-sqlite.js - Durable job queues
backend/services/honkerDb.js
Other components
- Music listener
- Lidarr
- Playback servers
- Download services
Connections 18
- Music listener → Web application: uses
README.md - HTTP server → Discovery routes: mounts routes
backend/server.js - Discovery routes → User discovery: delegates
backend/routes/discovery/handlers/main.js - Music listener → Recommendations: gets recommendations
README.md - Music listener → Search: searches music
README.md - Music listener → Album requests: requests albums
README.md - Download pipeline → Download clients: uses clients
backend/services/downloadPipeline.js - Download pipeline → Download tracking: tracks jobs
backend/services/downloadPipeline.js - Download tracking → Application database: persists jobs
backend/services/downloadJobs/downloadTracker.js - Music listener → Library queries: browses library
README.md - Library ingestion → Library queries: updates queries
backend/services/libraryFiles/ingest.js - Music listener → Playlist manager: manages playlists
README.md - Playlist manager → Playback destinations: publishes playlists
backend/services/playlists/playlistManager.js - Music listener → Subsonic API: connects player
README.md - Playback destinations → Playback servers: publishes to
README.md - Download clients → Download services: configures clients
backend/services/download/downloadClientSettings.js - Music listener → Lidarr: may connect
README.md - Durable job queues → Application database: stores queues
README.md