forked from Furumi/furumi-web
097812a84522f49a33a92c9e8a340bb8b7816169
Add the library_import subsystem core: migration m_0065 with the import, playlist, item, publication-receipt and attempt tables, the provider-neutral import model, the adapter trait and the storage layer. The library_import job claims imports under a two-minute lease that a heartbeat renews, checks cancellation between phases and resumes an interrupted import from its stored phase. Matching and publication phases are placeholders for the following changes. At boot, imports of the previous process are requeued; a sweeper starts a worker whenever an import waits without one, so a worker that stops without a server restart is replaced once its lease expires. The /api/imports endpoints list the user's imports, show one import with its playlists and paged entries, cancel it and delete its history while keeping the created playlists. Every request is scoped to the owner. GET /imports redirects to the player view. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Furumusic
Your library. Your users. Your network.
Furumusic is a self-hosted music server with a full web player. Bring your music, share a library with friends, and keep your own playlists, likes, and listening history. Listen from a desktop or phone, or connect independent servers through the Furumi federated network.
What you can do
- Listen anywhere. Browse artists and releases, search your collection, build queues, and manage playlists in a responsive web player.
- Bring your collection. Upload files and folders, or import music from YouTube, torrents, and magnet links directly into your library or a playlist.
- Organize your music. Optional AI assistance recognizes metadata, finds artwork, and helps repair messy releases. Review proposed changes before applying them.
- Share a song. Send a track or queue link that anyone can play and download without creating an account.
- Welcome your people. Use password login or SSO. Instance admins can approve new users without needing access to the identity provider.
- Discover more. Find similar tracks and connect Last.fm for scrobbling.
- Read along. View synchronized or plain lyrics, choose a text version, and enrich your collection with LRCLIB or edit texts manually. See lyrics.
- Connect your players. Pair trusted Furumi devices to synchronize playlists, likes, playback state, and playback controls.
- Join a network. Discover and stream music from other participating peers while keeping your own library independent.
- Manage from any screen. Review imports, manage users and background tasks, and explore listening statistics in a desktop and mobile admin console.
AI assistance, federation, similarity search, Last.fm, and SSO are optional. You choose which features to enable.
Quick start
With Rust and PostgreSQL installed, create an empty database and start the server:
export FURU_DATABASE_URL='postgresql://furumusic:password@127.0.0.1/furumusic'
cargo run --release --locked
Open http://127.0.0.1:8000/admin/setup to create your administrator account, then configure the inbox and music library directories in Admin → Settings.
Documentation
- Installation and configuration
- Using and administering Furumusic
- Development, architecture, and tests
- Admin UI conventions
Bug reports, ideas, and contributions are welcome.
Languages
Rust
65.8%
HTML
31.8%
JavaScript
2.3%