04ae7d5bd1b5609e15f6f9b3f0c8020fd7926318
Feed and enclosure URLs come from users and third-party feeds. SafeHttp accepts only http(s) URLs without credentials, resolves names with a resolver that refuses the whole answer unless every address is public (loopback, private, CGNAT, link-local, cloud metadata, unique local, multicast, reserved; IPv4-mapped, NAT64 and 6to4 judged by their IPv4 part), and connects to exactly the checked addresses, so DNS rebinding cannot swap them. IP literals and every redirect hop are checked; system proxies, cookies and Referer are off. Loopback is reachable only through a #[cfg(test)] policy used by the local test server. 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.
- 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%