Featured answer
Give me an overview of mydia
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.
| Layer | Files |
|---|---|
| Service | 2177 |
| API | 40 |
| Application | 682 |
| UI | 21 |
| Middleware | 3 |
| Config | 139 |
| Types | 6 |
| Utility | 16 |
| Data | 50 |
| Docs & Tooling | 251 |
Basis: Inferred · knowledge graph· as of 0eefde5