Architecture of ccch1mneyyy/dsh-go
ccch1mneyyy/dsh-go is 3,293 source files holding 53,876 symbols across 11 modules, written mainly in Dart, JavaScript, Kotlin. The largest module is app, with 2,185 files, and 29 files are entry points into the dependency graph.
How dsh-go fits together
Screens are written in Dart under app/lib, where main.dart starts the program and app.dart declares the root widget. Those screens call into the Kotlin code in app/android, which provides phone features such as background mode and sign-in for model providers. The runtime directory packages the bundled Node runtime and makes its file, DNS, native module and child process calls resolve against its own guest root, with path mapping and identity checks applied at startup. The packages/dsh_client and packages/dsh_remote directories hold the Dart clients for the DSH Web API and DSH Remote, which handle the connection to a DSH on a computer or server. The tooling directory contains the scripts that set up the toolchain and build the APK.
Largest modules
- app: 2,185 files and 473,802 lines of code
- runtime: 343 files and 40,460 lines of code
- packages: 202 files and 46,812 lines of code
- services: 57 files and 8,069 lines of code
- sdk: 52 files and 5,932 lines of code
- examples: 34 files and 2,101 lines of code
- tooling: 12 files and 1,405 lines of code
- market: 8 files and 1,008 lines of code
Languages
By file count: Dart 1,984 files, JavaScript 435 files, Kotlin 358 files, Python 59 files, TypeScript 48 files, Shell 25 files.
Documentation
Repowise documents dsh-go in 2,047 pages generated from the source, 58 of them written explanations of the repository and its modules. Module guides include:
- app/android/app/src/main/kotlin/io/github/ccch1mneyyy/dsh_app/phone/a11y: A11 Y
- app/android: Android
- app/android/app: Android App
- app: App
- app/android/app/src/main/kotlin/io/github/ccch1mneyyy/dsh_app/phone/background: Background
More on dsh-go: summary and FAQ, codebase overview, code health.