repowiserepowise

App

getmydia / mydia

Verified maintainer

Your personal media companion, built with Phoenix LiveView

★ 807stars on GitHubElixirAGPL-3.0

This connects Repowise to getmydia/mydia's code. It does not install mydia.

Repowise maps public repos from their source. Not affiliated with getmydia. What is Repowise?

github.com/getmydia/mydiaIndexed at 0eefde5Refreshes weekly

What is mydia?

Mydia is a self-hosted library manager and automated downloader for movies and TV shows. It scans local folders or S3 buckets, fetches posters and episode data from TMDB and TVDB, monitors missing titles and upgrades releases when better ones appear. Its server is written in Elixir with Phoenix LiveView, and Mydia Player is a separate companion client. To install it, run openssl rand -base64 48 # SECRET_KEY_BASE and follow the steps below. Its code health is 7.9 out of 10. The last commit to mydia was on Nov 15, 2026, and 7 people have contributed.

As of commit 0eefde5, indexed Nov 15, 2026. What it is comes from a model reading the README; the rest is measured from the source and git history, not from the maintainer.

For agentsmydia.md

Repo facts: type, license, health, rank, contributors
mydia facts
TypeApp
LicenseAGPL-3.0
Code health7.9 / 10
Health rankNot ranked (not on a leaderboard yet)
Last commitNov 15, 2026
Contributors7
Bus factor1
Size6,055 files, 887,274 lines

Install mydia

Commands copied from the README

  1. 1Generate the SECRET_KEY_BASE value with openssl.
    openssl rand -base64 48 # SECRET_KEY_BASE
  2. 2Generate the GUARDIAN_SECRET_KEY value with openssl.
    openssl rand -base64 48 # GUARDIAN_SECRET_KEY

Full install notes on GitHub

Explore mydia

Ask about this code in your agent

This connects Repowise to mydia's code. It does not install mydia. To install mydia, use the install steps.

Useful if you want to change or fork mydia: your agent can ask how it is put together and get answers that cite its files.

Ask about mydia

Answers come from mydia's README and source, with the files they cite. Two free answers a day without an account.

Featured answer

Mydia is a self-hosted library manager and automated downloader for movies and TV shows, pulling posters and episode data from TMDB and TVDB. Its server is written in Elixir with Phoenix LiveView, and it starts from lib/mydia/application.ex, which launches the Elixir supervision tree. Library and media logic lives in lib/mydia/media.ex and lib/mydia/library.ex, while web pages are LiveView modules under lib/mydia_web, such as lib/mydia_web/live/import_media_live/index.ex. Mydia Player is a separate Dart companion app in the player directory, with its screen at player/lib/presentation/screens/player/player_screen.dart, and a Rust crate in native/mydia_p2p_core handles peer-to-peer remote streaming. The layer chart is led by the Service layer with 2177 files, then Application with 682, so start reading at application.ex and the media and library modules.

Files per layer in mydia10 layers.

Basis: Inferred · knowledge graph· as of 0eefde5

Want this for your own codebase? Map your repo free

About this page

Get a page like this for your own codebase

Repowise built this map of getmydia/mydia from its source and git history. It parses every symbol, draws the dependency graph, scores each file's health from complexity, duplication, coverage and churn, finds hotspots and owners in the history, and writes documentation for every module. Your coding agent reads the same index over MCP, so its answers cite real files.

Free for 2 public repos, with a page like this one. No card. See how Repowise works

Prefer local? pip install repowise && repowise init indexes your own checkout, no account needed. Star Repowise on GitHub

getmydia/mydia FAQ

What is Mydia?

Mydia is a self-hosted library manager and automated downloader for movies and TV shows. It also includes Mydia Player, a separate media player for Android, iOS, macOS, Windows, Linux and the web.

How does Mydia work?

Mydia Server scans your media folders or S3 buckets and fetches metadata from TMDB and TVDB. It monitors missing titles, selects matching releases and sends them to download clients such as qBittorrent or SABnzbd.

How do I install Mydia?

Mydia Server is installed by generating two secret keys with openssl and saving a docker-compose.yml file with those keys and your media path. You then start it with Docker Compose and create an admin account in the web interface. See the install steps

What language is Mydia written in?

Mydia's server is written mainly in Elixir with Phoenix LiveView. Mydia Player uses Dart, and the repository also contains Rust and C# code.

How is the Mydia code organized?

The lib directory holds the Elixir server, and the player directory holds the Dart player app. The native directory contains the Rust peer-to-peer core, and metadata-relay is a separate part of the repository.

Who is Mydia for?

Mydia Server is for people who want to self-host a library of movies and TV shows with automated downloads in one application. Mydia Player is for playing media from Plex, Jellyfin, Stash, Mydia Server and local folders.

What license does Mydia use?

Mydia is licensed under AGPL-3.0. Mydia Player is also open source under the same AGPL-3.0 license.

Code health

7.8out of 10Good

Hotspots average 6.6, the place fixes pay off most.

Key features of mydia

  • Scans local folders or S3 buckets and fetches posters, descriptions and episode data from TMDB and TVDB.
  • Monitors missing movies and episodes and selects releases that match your languages, quality profile and custom formats.
  • Connects to qBittorrent, Transmission, rqbit, SABnzbd, NZBGet and debrid providers.
  • Lets guest users request movies and shows for an admin to approve.
  • Runs WebAssembly plugins in a sandbox that needs explicit user approval for network hosts, events and library access.
  • Uses SQLite by default, with optional PostgreSQL support.

How getmydia/mydia works

Startup begins in lib/mydia/application.ex, the application entry point that starts the Elixir supervision tree. Library and media logic lives in lib/mydia/media.ex and lib/mydia/library.ex, both listed as hotspot files in the repository. Web pages are Phoenix LiveView modules under lib/mydia_web, such as lib/mydia_web/live/import_media_live/index.ex for importing media. Mydia Player is a Dart app in the player directory, with player/lib/presentation/screens/player/player_screen.dart as its player screen. The peer-to-peer remote streaming core is a Rust crate in native/mydia_p2p_core, with its code entry in native/mydia_p2p_core/src/lib.rs. The metadata-relay directory is a separate part of the repository with its own assets/package.json.

The codebase has 6,055 files and 40,949 symbols in 20 modules, led by Elixir, Dart and Rust. Code health is 7.8 out of 10, rated good.