Architecture of simbasjungles/free-my-tv
simbasjungles/free-my-tv is 55 source files holding 841 symbols across 7 modules, written mainly in Java, Python, JavaScript. The largest module is app, with 34 files, and 9 files are entry points into the dependency graph.
How free-my-tv fits together
The Android app starts in app/src/io/freemytv/App.java, and app/src/io/freemytv/HomeView.java draws the home screen on a single canvas. app/src/io/freemytv/Adb.java connects to the TV's own ADB from inside the TV and runs the commands that make the app the home screen and turn off stock apps. app/src/io/freemytv/HomeMode.java switches between Free My TV and the original home screen. app/src/io/freemytv/Watchdog.java runs in a separate process and restores the stock home screen after repeated crashes. On LG and Samsung TVs, web/home.js runs the same home screen in web code, and the picks, weather and prices come from TMDB, Open-Meteo and optionally Binance.
Largest modules
- app: 34 files and 9,062 lines of code
- web: 5 files and 1,609 lines of code
- tools: 4 files and 283 lines of code
- webos: 2 files and 180 lines of code
- docs: 1 file and 256 lines of code
- root: 1 file and 102 lines of code
- tizen: 1 file and 76 lines of code
Languages
By file count: Java 34 files, Python 7 files, JavaScript 6 files, Shell 1 file.
Documentation
Repowise documents free-my-tv in 67 pages generated from the source, 10 of them written explanations of the repository and its modules. Module guides include:
- web: LG TVs webOS
- tools: Project Tools
- app/src/io/freemytv: TV App Lifecycle and UI
More on free-my-tv: summary and FAQ, codebase overview, code health.
Related guide: Best dependency graph tools for monorepos