RepositoryPython
mornyeapp

mornyeapp/Mornye-Python

Python module to fetch Spotify track metadata and retrieve matching lossless audio through configurable Tidal, Qobuz, Deezer & Amazon Music providers.

131stars
10forks
2issues
5views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: discord-bot

#1 Repository of the week

1
TINIX TRENDING·Topic: spotify-downloader

#1 Repository of the week

1
TINIX TRENDING·Topic: music-downloader

#1 Repository of the week

Mornye Python

Fetch track metadata and retrieve matching lossless audio through Tidal, Qobuz, Amazon Music and other provider backends — supplied entirely via extensions you choose and configure yourself. Integrate directly into your Python projects, build custom Telegram bots, automation tools, or bulk downloaders.

GitHub stars Latest release PyPI version Python versions GitHub downloads PyPI downloads Telegram community

Disclaimer

This project is intended for educational and personal use only. The developer does not condone or encourage copyright infringement. The software is licensed under the MIT License.

Mornye-Python is an independent, third-party tool and is not affiliated with, endorsed by, or connected to Spotify, Tidal, Qobuz, Amazon Music, Deezer, or any other streaming service. It is also not affiliated with, and has no control over or responsibility for, any other project sharing a similar name on other platforms.

No copyrighted content is hosted, stored, mirrored, or distributed by this repository. The core application does not bundle, ship, or default to any third-party extension, registry, or provider. Extensions are installed only if a user explicitly configures and requests them from a source of their own choosing; the maintainer has no control over, does not review, and assumes no responsibility for the content or behavior of third-party extensions or registries a user may choose to install.

You are solely responsible for:

  1. Ensuring your use of this software, and any extension or registry you choose to install, complies with your local laws.
  2. Reading and adhering to the Terms of Service of any platform or provider you access, directly or through an extension.
  3. Any legal consequences resulting from the use or misuse of this tool.

This software is provided free of charge by the maintainer. If you paid a third party for access to it, you may have been misled or scammed.

The software is provided "as is", without warranty of any kind, express or implied. The author assumes no liability for any bans, damages, or legal issues arising from its use or misuse. Users assume all risk associated with its use.

If you are a copyright holder or an authorized representative and believe this repository infringes upon your rights, please contact the maintainer with sufficient detail (including relevant URLs and proof of ownership); the matter will be promptly investigated.


Looking for a standalone app?


Why Python (instead of the standalone app)

The Mobile app is built for direct, immediate use: open it, paste a link, download. Python exists for a different case — integrating this logic into something else.

It makes sense to start here if:

  • You're building a bot (Telegram, Discord) or a service that needs to handle requests from many users automatically, not a single manual download.
  • You need the async API (AsyncMornye) inside an existing FastAPI/Quart/Sanic app, with shared connection pooling.
  • You want to orchestrate bulk downloads via scripts — multiple playlists, full discographies, local library retagging — with custom logic (filenames via a Python function, post-download actions, saved profiles).
  • You need to run headless, on a server, a NAS, or inside Docker, possibly as part of a larger pipeline.
  • You want full control over which extensions get loaded and from which registry, instead of relying on a fixed set baked into an app.

If you just want a GUI for personal use, with no code involved, the Mobile app remain the simpler choice — this module is the building block those (and similar projects) can be built on top of.


Features

  • Native synchronous and asynchronous Python APIs
  • Modular JavaScript and Python Extension system (bring-your-own registry — nothing bundled)
  • Automatic fallback among the extensions you have installed
  • Built-in GUI, as a native window or served locally in a browser (--gui / --web)
  • Guided terminal UI (--tui), with the download queue live on screen
  • Docker support
  • Configuration Profiles
  • MusicBrainz metadata enrichment
  • Synchronized lyrics — embedded in the tag and, optionally, written out as .lrc files; word-by-word where the source has it, or line-synced if you prefer
  • Optional Canvas sidecars — the short looping visual a track carries, saved next to it as a video file (off by default; no media server reads these on its own)
  • Optional MP3 320 kbps transcoding
  • Watch mode: re-sync a playlist/album/artist/URL on an interval, indefinitely
  • Optional shared-secret or per-account authentication for --web, plus a queued, per-user download history in multi-user mode
  • Extension discovery directories, and optional Ed25519 signature verification on top of registry checksums
  • Local-library duplicate detection by acoustic fingerprint, independent of tags/ISRC
  • Extension scaffolding + dry-run validation for developing your own
  • Installable as a PWA in --web mode (Add to Home Screen / standalone window)
  • Follow artists — check for new releases and fetch only what came out since
  • Library upgrade — find files below a target quality (including fake Hi-Res) and re-fetch them
  • Outbound notifications — webhook, Discord, Telegram or ntfy, per track or one summary per run
  • Versioned REST API at /api/v1, with an OpenAPI document at /docs
  • CSV input — hand it a playlist export (Exportify, Soundiiz, a bare list of links) and it downloads what the file lists, matching rows that carry no link and reporting the ones it cannot
  • Dashboard — what you have actually downloaded, as numbers: top artists, genres, decades, providers, listening time, activity by weekday and streaks (--stats, or the Stats screen)
  • Durable queue and download log (SQLite): a restart no longer loses queued work
  • SMB destinations — use an OS-mounted share or the optional SMB2/SMB3 backend, with staged and verified remote delivery
  • Per-account quotas and an admin role in --web-multiuser
  • Extension health panel — success rate, latency and last error per provider
  • Wrong-recording guard — a provider that answers with a karaoke take, a clean edit of an explicit track, or another artist's cover is rejected and the download falls through to the next one, instead of producing a file that carries the right tags and the wrong audio

Installation

pip install mornye

Important: out of the box, Mornye does nothing but resolve metadata — it ships with no built-in provider and no default extension source. Before you can download anything, you need to point it at an extension registry of your own choosing and install at least one extension. See Extensions below.


Documentation

The full guide lives in docs/guide/ — the README had grown to 76 KB and 87 headings, which is past the point where GitHub or PyPI renders it usefully. Every page below is the same text that used to be here.

PageWhat's in it
Quick StartEvery way to run it — GUI, web, CLI, terminal UI, Python — and the URL types it accepts
Terminal UI--tui, the guided mode: every setting on one screen, and the download queue live
ExtensionsRegistries, installing providers, signature verification and trust tiers
Downloading from a CSVFeeding it a file of tracks instead of a link: supported exports, how rows without a link are matched, and the unmatched-row report
Your library in numbersThe dashboard built from what you have actually downloaded — top artists, genres, decades, activity
ConfigurationEvery option: naming, quality, lyrics, enrichment, transcoding, watch mode, profiles
Network DestinationsMounted paths, native SMB profiles, safe transfers, CLI and Docker
API ReferenceMornye and AsyncMornye, and the objects they return
Migration GuideMoving from the old distribution, CLI, environment, and local state
Local TaggingRetagging an existing library, MusicBrainz enrichment, download validation
Automation & OperationsJSON output, post-download hooks, notifications, M3U, library rescan, cache maintenance, running the web server
Following ArtistsSubscriptions, new-release checks, scheduled playlist monitoring, and the library-upgrade pass
REST APIThe versioned /api/v1 surface, quotas and the admin endpoints
DockerHeadless and NAS setups
CLIThe standalone executables

Security policy and the reporting process: SECURITY.md.


Want to support the project?

If this software is useful and brings you value, consider supporting the project by buying us a coffee. Your support helps keep development going.

Ko-fi


API Credits

MusicBrainz · LRCLIB · Musixmatch · iTunes Search API

Provider-specific credits (Tidal, Qobuz, Amazon Music, Deezer, SoundCloud, Apple Music, Pandora, and any third-party API used to reach them) now belong to whichever extension you install — see that extension's own documentation for its credits and terms.

[!TIP] Star the repo to show support, and click Watch → Custom → Releases on GitHub if you want to be notified as soon as a new release goes out.

Similar Projects

Discover other similar projects and AI models.

RepositoryPython
yt-dlp/yt-dlp

A feature-rich command-line audio/video downloader

212.4k
Dec 2, 2026
RepositoryPython
sunnypatell/sunnify-spotify-downloader

Sunnify is a Spotify downloader application + CLI that allows you to download entire playlists locally onto your Mac/Linux/Windows PC.

1.6k
Nov 13, 2026
RepositoryPython
521xueweihan/HelloGitHub

:octocat: 分享 GitHub 上有趣、入门级的开源项目。Share interesting, entry-level open source projects on GitHub.

192.6k
Nov 27, 2026
RepositoryPython
harry0703/MoneyPrinterTurbo

利用 AI 大模型和自动化工作流,根据主题或关键词一键生成高清短视频。Generate HD short videos from a topic or keyword with an automated AI workflow.

147.3k
Dec 1, 2026
RepositoryTypeScript
morluto/rea

Reverse engineer anything with agents, from app behavior down to native binaries.

487.0k
Dec 2, 2026
RepositoryPython
home-assistant/core

:house_with_garden: Open source home automation that puts local control and privacy first.

92.6k
Nov 27, 2026
RepositoryPython
XiaoYouChR/Ghost-Downloader-3

The only downloader you need. 下载器的集大成者。

23.3k
Dec 2, 2026
RepositoryPython
hect0x7/JMComic-Crawler-Python

Python API for JMComic | 提供Python API访问禁漫天堂,同时支持网页端和移动端 | 禁漫天堂GitHub Actions下载器🚀

8.3k
Nov 26, 2026
RepositoryPython
henriquesebastiao/downtify

Download and listen to your music, playlists, and podcasts, along with album art and metadata

1.2k
Dec 2, 2026