Architecture of gathin23/cleanyourtv
gathin23/cleanyourtv is 1,768 source files holding 12,043 symbols across 5 modules, written mainly in Java, Python, Kotlin. The largest module is addons, with 409 files, and 116 files are entry points into the dependency graph.
How cleanyourtv fits together
The owner turns on USB debugging on the TV, and a computer on the same Wi-Fi network connects to it over ADB. The steps in PROMPT.md drive a coding assistant, which reuses tools/disable.sh to back up the installed packages and disable telemetry, ad services and preloaded apps with pm disable-user. tools/manage.py is the entry point for the scripts in the tools directory, and tools/tv.py is one of its central helpers. launcher/build-and-install.sh builds the Android launcher and installs it as the default home screen, and MainActivity.java in launcher/app is the launcher's main screen. The addons directory holds optional apps and scripts that run separately from the core debloat.
Largest modules
- addons: 409 files and 37,558 lines of code
- tests: 258 files and 40,024 lines of code
- launcher: 120 files and 14,949 lines of code
- tools: 27 files and 6,864 lines of code
- themes: 3 files and 799 lines of code
Languages
By file count: Java 464 files, Python 287 files, Kotlin 37 files, Shell 28 files, Dockerfile 1 file.
Documentation
Repowise documents cleanyourtv in 546 pages generated from the source, 38 of them written explanations of the repository and its modules. Module guides include:
- tools: ADB Device Tooling
More on cleanyourtv: summary and FAQ, codebase overview, code health.
Related guide: Best dependency graph tools for monorepos