repowisegetmydia/mydia

Architecture of getmydia/mydia

getmydia/mydia is 6,055 source files holding 40,949 symbols across 20 modules, written mainly in Elixir, Dart, Rust. The largest module is player, with 1,938 files, and 48 files are entry points into the dependency graph.

How mydia fits together

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.

Largest modules

  • player: 1,938 files and 281,144 lines of code
  • test: 1,570 files and 272,460 lines of code
  • lib: 1,348 files and 255,900 lines of code
  • priv: 235 files and 10,028 lines of code
  • metadata-relay: 151 files and 16,880 lines of code
  • native: 72 files and 11,846 lines of code
  • scripts: 72 files and 5,274 lines of code
  • server: 72 files and 10,242 lines of code

Languages

By file count: Elixir 3,318 files, Dart 1,861 files, Rust 145 files, Shell 89 files, JavaScript 63 files, C# 28 files.

Documentation

Repowise documents mydia in 3,723 pages generated from the source.

More on mydia: summary and FAQ, codebase overview, code health.

Related guide: Best dependency graph tools for monorepos