Find your next open-source project

Search by name, purpose, or keyword, or paste a GitHub URL. Start with / to search agent skills (e.g. /pdf)

henriquesebastiao/downtify

Media & Design

Self-hosted music downloader and player that turns Spotify, YouTube Music, Deezer or SoundCloud links into a tagged library.

1,247
140
Python
AGPL-3.0
1 year old

What it does

Downtify is a self-hosted music service: paste a Spotify, YouTube Music, YouTube, Deezer or SoundCloud link, and it resolves the track, album, playlist or artist from public metadata, finds matching audio and saves a tagged file. It then serves that library through a built-in browser player. The intended user runs it on a home server or NAS and wants their own library plus a streaming front end that media servers like Jellyfin, Navidrome and Plex can also read.

No Spotify account, API key or Premium is required, and audio is never pulled from Spotify. By default it reads Spotify's public embed pages, matches audio on YouTube Music (YouTube as fallback), downloads with yt-dlp, converts with ffmpeg and tags with mutagen. Optional SoundCloud, Soulseek (slskd) and Deemix sources add other formats and lossless files (How it works).

Beyond downloading, the app includes a full-screen player with synced lyrics and karaoke mode, liked songs, podcasts, listening statistics, an M3U export, scheduled playlist/artist monitoring, notifications to Discord/ntfy/Gotify/webhook, per-user accounts with optional OpenID Connect, storage quotas and PostgreSQL support.

Quick start

The documented path is Docker. Install Docker, pick a host folder for music and start the container:

docker run -d -p 8000:8000 --name downtify \
  -v /path/to/music:/downloads \
  -v downtify_data:/data \
  --restart unless-stopped \
  ghcr.io/henriquesebastiao/downtify

Open http://localhost:8000, sign in with admin / downtify, paste a link and let it download. Change the password in Settings → General, or set DOWNTIFY_DISABLE_AUTH=true only on a server reachable by you alone. Music lands in /path/to/music; /data holds the database and settings, so keep both on persistent storage. A Docker Compose file is available, with options for a pinned version tag, PostgreSQL, timezone and a cookies file in the Docker Compose guide.

Supported sources and output

Paste links for Spotify tracks/albums/playlists/artists, YouTube Music songs/albums/playlists/artists, single YouTube videos, Deezer tracks/albums/playlists/artists and SoundCloud tracks; free-text search and CSV library exports from Soundiiz, TuneMyMusic or Exportify are also accepted (what you can paste). Output formats are MP3, FLAC, M4A, OGG or Opus at a chosen bitrate, or the untouched source audio. Files are organized as Artist/Album/ and carry cover art, credited artists, album artist, year, track number and lyrics; playlists also produce standard M3U files.

Constraints and operational notes

  • The default audio source is YouTube Music, so quality is bounded by what that source provides; lossless files depend on a Soulseek or Deemix server you add yourself.
  • YouTube may show "Sign in to confirm you're not a bot"; the documented workaround is uploading a cookies.txt in Settings → YouTube cookies, then tuning pause and parallel-download settings.
  • Docker images are built for amd64 and arm64, covering Raspberry Pi and NAS setups; one-click listings exist for Umbrel, CasaOS and HomeDock OS.
  • Accounts default to a single shared library; per-user libraries, quotas and admin hiding of items are optional features. Authentication can be disabled, but only for a privately reachable instance.
  • The Android app is described as young and still in testing; the iOS client is a community project requiring iOS 17 or later.
  • Licensed AGPL-3.0. The README carries an explicit warning that users are responsible for their downloads and that the project does not support unauthorized downloading of copyrighted material.

HotRepo's take

The repository had a single recorded weekly snapshot: on the Python weekly list dated 2026-12-04 it stood at 1,245 stars and 140 forks, with 297 stars gained that week and a best rank of 13 in that list. That is the only same-口径 data point available, so it supports "a strong single week on the Python weekly board" rather than any trend claim. The scope of the offering is unusually broad for a downloader — player, monitoring, multi-user accounts, two mobile clients and an API contract — and the Docker-first install plus documentation site make it easy to try without reading source. The trade-off is that the main download path routes through yt-dlp and YouTube Music, so runtime reliability is tied to that source's behavior.

Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.

You might also like

  1. spotDL/spotify-downloaderCommand-line tool that finds Spotify playlist tracks on YouTube and downloads them with metadata and album art.Python26,653
  2. fzn0x/mixmusicA desktop music player that searches, queues and mixes Spotify and YouTube Music in one library, for people split across two services.Go110
  3. crmne/spotifastA native Rust Spotify client for desktop listeners who want their library and local playback without a browser engine.Rust9,274
  4. SimoHypers/limusicA desktop YouTube Music client built with Rust and Tauri that streams ad-free audio through libmpv, for listeners who want a native player.Rust1,551
  5. chthollyphile/folia-majorA music player centered on immersive full-screen lyric animations, for local libraries and multiple streaming sources.TypeScript10,127