# Kotlin project architecture examples

Interactive architecture diagrams of 185 open-source Kotlin repositories with a GitDiagram architecture diagram, most stars first. Each diagram shows the project's main components, how they connect, and links every part to its file on GitHub.

Across the 107 most-starred Kotlin projects here, the median diagram has 21 components. 70% draw a data store (most often a cache and files on disk), 10% have a command-line interface and 8% a web interface.

15% have a plugin or extension system.

The files their components link to most are MainActivity.kt (45), App.kt (9), Main.kt (8), MainViewModel.kt (8) and MusicService.kt (7).

Group names that recur: “android app” (12), “app shell” (9), “app experience” (8), “configuration” (5) and “playback” (5).

## Repositories 1 to 50 of 185

1. [base/chains](https://gitdiagram.com/base/chains) (79.1k stars) Markdown: https://gitdiagram.com/base/chains.md
2. [topjohnwu/magisk](https://gitdiagram.com/topjohnwu/magisk) (62.9k stars): Magisk is an Android root-management suite. Markdown: https://gitdiagram.com/topjohnwu/magisk.md
3. [jetbrains/kotlin](https://gitdiagram.com/jetbrains/kotlin) (53.5k stars): This is the Kotlin programming-language repository, including compiler and IDE-facing analysis infrastructure. Markdown: https://gitdiagram.com/jetbrains/kotlin.md
4. [2dust/v2rayng](https://gitdiagram.com/2dust/v2rayng) (52.9k stars): UI Layer – Represent the Android Activities, Fragments, and adapters under the “ui” package. Markdown: https://gitdiagram.com/2dust/v2rayng.md
5. [team-spotube/spotube](https://gitdiagram.com/team-spotube/spotube) (49.6k stars): Spotube is documented as a cross-platform, plugin-extensible music streaming app with local playback controls, downloadable tagged tracks, and time-synced lyrics. Markdown: https://gitdiagram.com/team-spotube/spotube.md
6. [lysine-dev/okhttp](https://gitdiagram.com/lysine-dev/okhttp) (47.1k stars) Markdown: https://gitdiagram.com/lysine-dev/okhttp.md
7. [square/okhttp](https://gitdiagram.com/square/okhttp) (46.9k stars) Markdown: https://gitdiagram.com/square/okhttp.md
8. [android/architecture-samples](https://gitdiagram.com/android/architecture-samples) (45.9k stars): This repository is an Android TODO-app architecture sample. Markdown: https://gitdiagram.com/android/architecture-samples.md
9. [gedoor/legado](https://gitdiagram.com/gedoor/legado) (45.3k stars): Book Processing Modules – In the “modules” folder you find a module dedicated to book processing (modules/book) that handles EPUB and possibly other formats, with libraries for… Markdown: https://gitdiagram.com/gedoor/legado.md
10. [krtirtho/spotube](https://gitdiagram.com/krtirtho/spotube) (45.2k stars): This project is an open source, cross‐platform Spotify client built using Flutter and Dart. Markdown: https://gitdiagram.com/krtirtho/spotube.md
11. [philjay/mpandroidchart](https://gitdiagram.com/philjay/mpandroidchart) (38.2k stars): MPAndroidChart is an Android charting library: an application supplies chart-specific data and configures a chart view, which presents visualizations such as line, bar, pie… Markdown: https://gitdiagram.com/philjay/mpandroidchart.md
12. [shadowsocks/shadowsocks-android](https://gitdiagram.com/shadowsocks/shadowsocks-android) (36.7k stars): This is a VPN/proxy application for Android that implements the Shadowsocks protocol. Markdown: https://gitdiagram.com/shadowsocks/shadowsocks-android.md
13. [rikkaapps/shizuku](https://gitdiagram.com/rikkaapps/shizuku) (30.9k stars): Shizuku is an Android privilege-bridging system: the Manager guides a user to start a privileged server through root or ADB, and client apps use the server’s Binder to invoke… Markdown: https://gitdiagram.com/rikkaapps/shizuku.md
14. [square/leakcanary](https://gitdiagram.com/square/leakcanary) (29.9k stars): LeakCanary is an open-source Android memory-leak detection library, comprising both runtime instrumentation modules (to observe and dump the heap from an app under test) and… Markdown: https://gitdiagram.com/square/leakcanary.md
15. [librepods-org/librepods](https://gitdiagram.com/librepods-org/librepods) (29.9k stars): LibrePods is a cross-platform AirPods protocol client for Android and Linux. Markdown: https://gitdiagram.com/librepods-org/librepods.md
16. [signalapp/signal-android](https://gitdiagram.com/signalapp/signal-android) (29.4k stars): Signal Android is a secure messaging app for sending messages and media, making voice/video calls, and managing an account across devices. Markdown: https://gitdiagram.com/signalapp/signal-android.md
17. [revanced/revanced-manager](https://gitdiagram.com/revanced/revanced-manager) (27k stars): User Interface (UI) Layer – Represent the Flutter UI. This includes. Markdown: https://gitdiagram.com/revanced/revanced-manager.md
18. [junkfood02/seal](https://gitdiagram.com/junkfood02/seal) (27k stars): - Seal is an Android downloader app built as a single-activity, Compose-first application. Markdown: https://gitdiagram.com/junkfood02/seal.md
19. [google-ai-edge/gallery](https://gitdiagram.com/google-ai-edge/gallery) (25.2k stars): Google AI Edge Gallery is an Android application for exploring on-device generative AI. Markdown: https://gitdiagram.com/google-ai-edge/gallery.md
20. [android/compose-samples](https://gitdiagram.com/android/compose-samples) (23k stars): JetNews is a single-module Android sample app demonstrating a Material blog post viewer built with Jetpack Compose and typical real-world architecture. Markdown: https://gitdiagram.com/android/compose-samples.md
21. [google/iosched](https://gitdiagram.com/google/iosched) (21.7k stars) Markdown: https://gitdiagram.com/google/iosched.md
22. [android/nowinandroid](https://gitdiagram.com/android/nowinandroid) (21.6k stars): Now in Android is a modular Kotlin/Jetpack Compose Android reference app for browsing Android-development news, following topics, bookmarking content, searching, and receiving… Markdown: https://gitdiagram.com/android/nowinandroid.md
23. [open-ani/animeko](https://gitdiagram.com/open-ani/animeko) (20.3k stars): Animeko is a cross-platform anime discovery and viewing app. Markdown: https://gitdiagram.com/open-ani/animeko.md
24. [afollestad/material-dialogs](https://gitdiagram.com/afollestad/material-dialogs) (19.6k stars): Core Module: Represent this as the foundational component. It contains the primary dialog functionality (UI layouts, fundamental behaviors, utility functions, etc.). Markdown: https://gitdiagram.com/afollestad/material-dialogs.md
25. [matsuridayo/nekoboxforandroid](https://gitdiagram.com/matsuridayo/nekoboxforandroid) (19.6k stars): Step 1: Identify project type and purpose Markdown: https://gitdiagram.com/matsuridayo/nekoboxforandroid.md
26. [mihonapp/mihon](https://gitdiagram.com/mihonapp/mihon) (19.5k stars) Markdown: https://gitdiagram.com/mihonapp/mihon.md
27. [jetbrains/compose-multiplatform](https://gitdiagram.com/jetbrains/compose-multiplatform) (19.1k stars): 1. This is a monorepo for Compose Multiplatform, not a single app. Markdown: https://gitdiagram.com/jetbrains/compose-multiplatform.md
28. [square/picasso](https://gitdiagram.com/square/picasso) (19.1k stars) Markdown: https://gitdiagram.com/square/picasso.md
29. [tiann/kernelsu](https://gitdiagram.com/tiann/kernelsu) (18.8k stars): KernelSU is an Android kernel-based root solution, with an Android manager and a companion userspace daemon. Markdown: https://gitdiagram.com/tiann/kernelsu.md
30. [rainxchzed/github-store](https://gitdiagram.com/rainxchzed/github-store) (18.6k stars): Komi Store is a Kotlin Multiplatform Compose client for discovering GitHub-hosted open-source releases, downloading release assets, and installing/managing them. Markdown: https://gitdiagram.com/rainxchzed/github-store.md
31. [komi-store/komi-store](https://gitdiagram.com/komi-store/komi-store) (18.5k stars): Komi Store is a Kotlin Multiplatform, Compose-based client for discovering GitHub release software, browsing repositories, downloading assets, and installing/managing apps. Markdown: https://gitdiagram.com/komi-store/komi-store.md
32. [android/sunflower](https://gitdiagram.com/android/sunflower) (17.8k stars): The project is an Android application sample that focuses on showcasing best practices for using Jetpack Compose. Markdown: https://gitdiagram.com/android/sunflower.md
33. [kurikomi-labs/komi-store](https://gitdiagram.com/kurikomi-labs/komi-store) (17.5k stars): Komi Store is a Kotlin Multiplatform Compose client for discovering GitHub-hosted open-source releases, browsing repository details, downloading assets, and installing/managing… Markdown: https://gitdiagram.com/kurikomi-labs/komi-store.md
34. [mobile-dev-inc/maestro](https://gitdiagram.com/mobile-dev-inc/maestro) (15.7k stars): Maestro is a JVM-based, cross-platform UI/E2E automation framework for Android, iOS, and web. Markdown: https://gitdiagram.com/mobile-dev-inc/maestro.md
35. [t8rin/imagetoolbox](https://gitdiagram.com/t8rin/imagetoolbox) (15.2k stars): Image Toolbox is an Android image-editing and utility app. Markdown: https://gitdiagram.com/t8rin/imagetoolbox.md
36. [mamoe/mirai](https://gitdiagram.com/mamoe/mirai) (14.9k stars): – “mirai-core-api” defines the public interfaces: the bot, contact, message, and event models. Markdown: https://gitdiagram.com/mamoe/mirai.md
37. [ktorio/ktor](https://gitdiagram.com/ktorio/ktor) (14.5k stars): Ktor is a Kotlin asynchronous framework for building HTTP services and clients. Markdown: https://gitdiagram.com/ktorio/ktor.md
38. [droid-deck/droiddeck](https://gitdiagram.com/droid-deck/droiddeck) (14.5k stars): DroidDeck is an Android gaming environment that brings Steam Big Picture and Windows games to supported Adreno devices, with Linux apps, game-store downloads, desktop sessions… Markdown: https://gitdiagram.com/droid-deck/droiddeck.md
39. [amir1376/ab-download-manager](https://gitdiagram.com/amir1376/ab-download-manager) (14.2k stars) Markdown: https://gitdiagram.com/amir1376/ab-download-manager.md
40. [metrolistgroup/metrolist](https://gitdiagram.com/metrolistgroup/metrolist) (13.9k stars): Metrolist is an Android YouTube Music client. Markdown: https://gitdiagram.com/metrolistgroup/metrolist.md
41. [kotlin/kotlinx.coroutines](https://gitdiagram.com/kotlin/kotlinx.coroutines) (13.7k stars): This project is an open‐source, multiplatform library that provides the Kotlin coroutines framework – a foundation for asynchronous and nonblocking programming in Kotlin. Markdown: https://gitdiagram.com/kotlin/kotlinx.coroutines.md
42. [libre-tube/libretube](https://gitdiagram.com/libre-tube/libretube) (12.7k stars): LibreTube is a privacy-focused Android YouTube client. Markdown: https://gitdiagram.com/libre-tube/libretube.md
43. [jingmatrix/vector](https://gitdiagram.com/jingmatrix/vector) (12.5k stars): Vector is a Zygisk-based Android ART hooking framework with a manager application. Markdown: https://gitdiagram.com/jingmatrix/vector.md
44. [openhub-store/github-store](https://gitdiagram.com/openhub-store/github-store) (12.4k stars): - GitHub Store is a Kotlin Multiplatform Compose app that ships to Android and desktop (JVM). Markdown: https://gitdiagram.com/openhub-store/github-store.md
45. [coil-kt/coil](https://gitdiagram.com/coil-kt/coil) (11.9k stars): Coil is a multiplatform image-loading library for Android and Compose. Markdown: https://gitdiagram.com/coil-kt/coil.md
46. [maxrave-dev/simpmusic](https://gitdiagram.com/maxrave-dev/simpmusic) (11.5k stars): SimpMusic is a Compose Multiplatform YouTube Music client for Android and desktop. Markdown: https://gitdiagram.com/maxrave-dev/simpmusic.md
47. [breezy-weather/breezy-weather](https://gitdiagram.com/breezy-weather/breezy-weather) (11.5k stars): Breezy Weather is an Android weather application whose primary workflow is selecting a location, obtaining weather data from a selected provider, and presenting forecasts… Markdown: https://gitdiagram.com/breezy-weather/breezy-weather.md
48. [ankidroid/anki-android](https://gitdiagram.com/ankidroid/anki-android) (11.2k stars): This is a large multi-module Android application: AnkiDroid, a flashcard/spaced-repetition client that is mostly offline-first but syncs with AnkiWeb. Markdown: https://gitdiagram.com/ankidroid/anki-android.md
49. [jakewharton/timber](https://gitdiagram.com/jakewharton/timber) (10.9k stars): Timber is an extensible Android logging library: an application installs Trees, then sends log calls through Timber’s facade for dispatch and destination-specific handling. Markdown: https://gitdiagram.com/jakewharton/timber.md
50. [utkarshdalal/gamenative](https://gitdiagram.com/utkarshdalal/gamenative) (10.8k stars): GameNative is an Android app for installing and running owned PC games locally, with library access across several stores, cloud saves, compatibility configuration, and… Markdown: https://gitdiagram.com/utkarshdalal/gamenative.md

Next page: https://gitdiagram.com/architecture-examples/kotlin/2

More hubs: https://gitdiagram.com/architecture-examples

Counted over GitDiagram's stored diagrams of public repositories, from the names their components and groups carry and the files they link to; the rules are the ones in the [2026 open-source architecture report](https://gitdiagram.com/open-source-architecture-2026). Stars are GitHub's when the diagram was last made. Rebuilt daily: hubs grow as more repositories' languages are known.
