forked from Furumi/furumi-web
0a258a3e05c80e43b45f04ea15ded2b3d10992d8
Add the matcher and the first two resolver stages of the library import. The matcher is pure: titles are split into a core, featured artists and version tags, taken from the album title too, so a remaster or concert album counts like a marker in the track title. Hard tags (live, remix, edit and similar) must be equal; remaster, mono, stereo, explicit and clean never match automatically. A match without a comparable duration needs the same album, and a single candidate is not a match by itself. Collaborations are split only into known artists, so "Tyler, The Creator" stays one artist. The resolve_local phase matches pending entries by artist group against the library, then against federated tracks this server already knows from searches and from the owner's synced likes and playlists, and stores matched, ambiguous (with up to five candidates) or unmatched decisions under the lease. A local match without a cached content id is hashed with ensure_local_content_id from agent_storage_dir, so local imports are publishable with federation disabled. The network is reached only through a FederationAccess trait and only with the user's consent. 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%