How arnoldhao/xiadown works
XiaDown is a local-first desktop media library and download application, also offering sniff-based downloads, YouTube and YouTube Music clients, and RSS subscriptions. The principal user journey is entering the desktop workspace, choosing a media capability, and browsing or managing media; library management additionally covers downloads, transcoding, and storage roots. The tree shows distinct UI and service areas, but sampled source does not establish most frontend-to-backend wiring, so the graph keeps those relationships out rather than inferring calls.
Main entry points: App.tsx Application entry · LibraryWorkspacePage.tsx Resource library · PageView.tsx Music workspace · YouTubeWorkspacePage.tsx YouTube workspace
Components 17
Desktop workspace
- Application entry
frontend/src/App.tsx - Workspace shell
frontend/src/app/workspace/AppShell.tsx - Settings
frontend/src/app/settings/SettingsApp.tsx
Library management
- Resource library
frontend/src/app/library/LibraryWorkspacePage.tsx - Storage roots
frontend/src/app/library/CatalogStorageSurfaces.tsx - Root emoji picker
frontend/src/app/library/CatalogStorageRootEmojiPicker.tsx - Catalog service
internal/application/library/service/catalog_service.go
Media clients
- Music workspace
frontend/src/app/main/listen/PageView.tsx - Music client
internal/application/youtubemusic/client.go - Local playback
internal/application/listenplayback/service_queue.go - YouTube workspace
frontend/src/app/youtube/YouTubeWorkspacePage.tsx - YouTube workspace client
internal/application/youtubeworkspace/innertube_client.go
Discovery and feeds
- Media sniffing
frontend/src/app/sniff-desk/SniffDeskPage.tsx - RSS workspace
frontend/src/app/rss/RSSWorkspacePage.tsx - Feed organization
frontend/src/app/rss/RSSOrganizationManager.tsx
Application services
- RSS service
internal/application/rss/service.go
Other components
- Desktop user
Connections 6
- Desktop user → Application entry: uses
README.md - Application entry → Resource library: offers library
README.md - Application entry → Media sniffing: offers sniffing
README.md - Application entry → Music workspace: offers music
README.md - Application entry → YouTube workspace: offers YouTube
README.md - Application entry → RSS workspace: offers RSS
README.md