Skip to content

Debloat any Android or Google TV over Wi-Fi and get an Apple TV-style home.

SHOWCASE: the weather card and the Panel are rows in a table again

xbshengdd29d6500732
diff --git a/README.md b/README.md
index 8981a502e..b09060a50 100644
--- a/README.md
+++ b/README.md
@@ -756,7 +756,7 @@ Contributing through a coding agent? [AGENTS.md](AGENTS.md) gives it the same ru
|---|---|
| **Your TV's debloat list** | The most useful one: the next person with that model skips the discovery. |
| **Launcher and prompt** | Launcher improvements and sharper prompt wording are welcome too. |
-| **Built something on top?** | A launcher, a port, a theme: add it to [SHOWCASE.md](SHOWCASE.md), where fifty-three projects already live, sorted into home screens, forks, add-ons, tools and other platforms, with an index by TV brand. |
+| **Built something on top?** | A launcher, a port, a theme: add it to [SHOWCASE.md](SHOWCASE.md), where fifty-five projects already live, sorted into home screens, forks, add-ons, tools and other platforms, with an index by TV brand. |
The people whose work is in this repo:
diff --git a/SHOWCASE.md b/SHOWCASE.md
index 33cb8d0cb..203426fde 100644
--- a/SHOWCASE.md
+++ b/SHOWCASE.md
@@ -10,7 +10,7 @@ project's own issue tracker.
**Jump to:** [Home screens built as their own app](#home-screens-built-as-their-own-app) · [Forks of the launcher](#forks-of-the-launcher) · [Screensavers and add-ons](#screensavers-and-add-ons) · [Tools and companion apps](#tools-and-companion-apps) · [Other platforms: Fire TV and LG webOS](#other-platforms-fire-tv-and-lg-webos) · [Add-ons in this repo](addons/README.md) · [Guides and write-ups](#guides-and-write-ups) · [Find a project by TV brand](#find-a-project-by-tv-brand) · [Add yours](#add-yours)
-53 projects so far.
+55 projects so far.
## Home screens built as their own app
@@ -61,6 +61,7 @@ This repo's launcher with new looks or features, often tuned for one TV. Good pl
| [Sony China launcher](https://github.com/roninriddle/tv-vibehack/tree/sony) ([issues](https://github.com/roninriddle/tv-vibehack/issues)) | A Sony-focused fork with Simplified Chinese, remote app ordering, two visible app rows, focus/ambient animations and an on-TV stock-home recovery shortcut; no Google services required | Sony K-85XR70 (China), Android 14 | [roninriddle](https://github.com/roninriddle) |
| [Stremio shelf, peek dock and calendar](https://github.com/benfirad/tv-vibehack) | A fork of the launcher with a Stremio poster shelf, a dock that peeks over playing content, a frosted settings panel and a calendar overlay | Android TV | [benfirad](https://github.com/benfirad) |
| [TCL G03: Search, Live, Memory and Shows](https://github.com/gpokhark/cleanyourtv/tree/dev) | A fork with Search, Live, Memory and Shows pills and tiles, a crash watchdog with safe mode, an Abyss theme and a sunrise/sunset sky; Search and the optional Live TV app use the network. | TCL G03 (Smart TV Pro, Android 11, 2 GB RAM) | [gpokhark](https://github.com/gpokhark) |
+| [Weather card and screensaver button](https://github.com/johnny1K/cleanyourtv/tree/weather-card) ([how it works](https://github.com/johnny1K/cleanyourtv/blob/weather-card/FORK.md), [screenshot](https://github.com/johnny1K/cleanyourtv/blob/weather-card/docs/weather-card/card.jpg)) | A fork with an opt-in Apple-Weather-style forecast card (Open-Meteo, only while on) and a moon button that starts the TV's screensaver. Off by default | TCL Smart TV Pro (G08), Google TV 14 | [johnny1K](https://github.com/johnny1K) |
| [Zen list](https://github.com/lengjingxu/cleanyourtv/tree/zen-list) ([issues](https://github.com/lengjingxu/cleanyourtv/issues)) | A home screen that is only the wallpaper, a clock and one list of app names in large light type: no icons, banners, dock or glass, focus carried by type size and ink alone | Android TV emulator (API 36, 1080p) | [lengjingxu](https://github.com/lengjingxu) |
## Screensavers and add-ons
@@ -82,6 +83,7 @@ Ways to run the cleanup or control the TV from a phone or a computer, without an
|---|---|---|---|
| [Clean Your TV Companion](https://github.com/gethari/clean-your-tv-companion) | A Windows, macOS and Linux app that connects to an Android TV or Google TV over ADB, checks its setup and compares the installed apps with the community lists. Runs locally, no account; the preview only inspects, changes are on its roadmap | Android TV / Google TV; tested on TCL Q6K | [gethari](https://github.com/gethari) |
| [CleanTV by VGS](https://github.com/vgscity/vgs-cleantv) ([APK](https://github.com/vgscity/vgs-cleantv/releases/latest)) | An Android phone app (plus a TV build) that applies this repo's per-model lists and installs a patched launcher over Wi-Fi ADB: backup first, `pm disable-user` only, rollback and one-tap restore. Vietnamese and English; anonymous usage counts, disclosed in its README | LG Android TV, Formovie L206 projector (Android 11), Android TV 9 and 14 emulators | [vgscity](https://github.com/vgscity) |
+| [CleanYourTV Panel](https://github.com/Pagamase/cleanyourtv-panel) ([screenshot](https://raw.githubusercontent.com/Pagamase/cleanyourtv-panel/8c52c884314cd85fba21a47e60b6e055d7c4e689/docs/screenshot.png)) | A local web page (Python standard library, 127.0.0.1 only) to arrange the launcher's dock, grid and hidden apps from the computer's browser and push it as a theme with `tools/theme.sh` / `theme.ps1`, keeping the keys already on the TV; English and Spanish | Xiaomi MiTV-MSSP2, Android TV 9 (from Windows 11) | [Pagamase](https://github.com/Pagamase) |
| [TidyTV](https://github.com/jolan94/tidytv) ([site](https://tidytv.winkle.dev)) | An Android phone app that applies this repo's per-model lists with no computer and no AI agent: backup first, `pm disable-user` only, an optional launcher install with rollback, and a one-tap restore. The lists are bundled from `examples/` and credited | TCL 32S5400, Android TV | [jolan94](https://github.com/jolan94) |
| [TV Remote](https://github.com/HoangTran0410/tv-remote) ([APK](https://github.com/HoangTran0410/tv-remote/releases/latest), [site](https://tvremote.pages.dev), [TV Home](https://tvremote.pages.dev/img/guide/home-1.en.webp)) | A phone, desktop and web remote over ADB with no server or account. **TV Home**, its own launcher: a clock, weather, lunar date and system cards over drawn or Bing wallpapers, set up from the phone or computer instead of the D-pad, installed with a swap that rolls back by itself when Home does not land on it. Its Optimize TV applies this repo's lists with an undo | FPT Play 650 (Android TV 14), Sony BRAVIA (Android 9), Google TV emulator (Android 14) | [HoangTran0410](https://github.com/HoangTran0410) |
@@ -133,11 +135,9 @@ By the TV each project was built and tested on. Most of them run on other Androi
- **Sharp:** [KIDŌ](https://github.com/glidiandev/kido)
- **Skyworth / Coocaa:** [coocaa-home-shim](https://github.com/VincentYe123/coocaa-home-shim), [TV Motorola Launcher](https://github.com/kartikcool15/tv-motorola-launcher)
- **Sony:** [Cosy TV](https://github.com/samipuro/tv-launcher), [Sony China launcher](https://github.com/roninriddle/tv-vibehack/tree/sony), [TV Remote](https://github.com/HoangTran0410/tv-remote), [tv-bookshelf](https://github.com/griffincockfoster56/tv-bookshelf), [Vibe Launcher](https://github.com/maydings/vibe-launcher), [WidgeTV](https://github.com/ashfaqhaq/widgetv)
-- **TCL:** [Afnon · أفنون](https://github.com/egyjs/afnon-android-tv-launcher), [Clean TV for TCL G10](https://github.com/itsmevizz/cleanyourtv/tree/clean-tv-launcher), [Clean Your TV Companion](https://github.com/gethari/clean-your-tv-companion), [CleanMyTCL-Android9](https://github.com/eddysangalli/CleanMyTCL-Android9), [CleanYourTV UI](https://github.com/matheus-caldeira/cleanyourtv-ui), [CleanYourTV, TCL Edition](https://github.com/Kaikhalid/cleanyourtv), [freeTV](https://github.com/kienmai160598/freeTV), [Live background and theme sounds](https://github.com/csermet/cleanyourtv/tree/repo-helper), [3D Pipes: XP Screensaver for Android TV](https://github.com/TheWombRaider/pipes-tv), [Quick panel and Free memory on a TCL G09](https://github.com/cristianrojas07/cleanyourtv/tree/showcase), [Scenes, frosted glass and weather](https://github.com/manas-04/cleanyourtv/tree/feat/wallpapers-weather), [TCL G03: Search, Live, Memory and Shows](https://github.com/gpokhark/cleanyourtv/tree/dev), [TidyTV](https://github.com/jolan94/tidytv)
-- **Xiaomi:** [AirPlay receiver installer](https://github.com/nguyenduchoai/tv-vibehack/tree/feat/airplay-receiver), [Aurora screensaver and wallpaper](https://github.com/rakshajag13/tv-vibehack/tree/xiaomi-mitv-axso0-debloat-wallpaper), [CleanTV](https://github.com/0x006E/cleantv), [CleanXiaomiTV](https://github.com/majnioui/CleanXiaomiTV), [Control Center](https://github.com/samdegan2311/tv-vibehack/tree/pr/control-center), [ExtremeSlimTV](https://github.com/yositapjani/ExtremeSlimTV), [freeTV](https://github.com/kienmai160598/freeTV), [glassOS-tv](https://github.com/jmarknavarro/glassOS-tv), [Google TV style home](https://github.com/SferaDev/android-tv/tree/dev), [Rotating wallpapers and a Wallpaper picker](https://github.com/Alafazam/cleanyourtv/tree/axso2-launcher)
+- **TCL:** [Afnon · أفنون](https://github.com/egyjs/afnon-android-tv-launcher), [Clean TV for TCL G10](https://github.com/itsmevizz/cleanyourtv/tree/clean-tv-launcher), [Clean Your TV Companion](https://github.com/gethari/clean-your-tv-companion), [CleanMyTCL-Android9](https://github.com/eddysangalli/CleanMyTCL-Android9), [CleanYourTV UI](https://github.com/matheus-caldeira/cleanyourtv-ui), [CleanYourTV, TCL Edition](https://github.com/Kaikhalid/cleanyourtv), [freeTV](https://github.com/kienmai160598/freeTV), [Live background and theme sounds](https://github.com/csermet/cleanyourtv/tree/repo-helper), [3D Pipes: XP Screensaver for Android TV](https://github.com/TheWombRaider/pipes-tv), [Quick panel and Free memory on a TCL G09](https://github.com/cristianrojas07/cleanyourtv/tree/showcase), [Scenes, frosted glass and weather](https://github.com/manas-04/cleanyourtv/tree/feat/wallpapers-weather), [TCL G03: Search, Live, Memory and Shows](https://github.com/gpokhark/cleanyourtv/tree/dev), [TidyTV](https://github.com/jolan94/tidytv), [Weather card and screensaver button](https://github.com/johnny1K/cleanyourtv/tree/weather-card)
+- **Xiaomi:** [AirPlay receiver installer](https://github.com/nguyenduchoai/tv-vibehack/tree/feat/airplay-receiver), [Aurora screensaver and wallpaper](https://github.com/rakshajag13/tv-vibehack/tree/xiaomi-mitv-axso0-debloat-wallpaper), [CleanTV](https://github.com/0x006E/cleantv), [CleanXiaomiTV](https://github.com/majnioui/CleanXiaomiTV), [CleanYourTV Panel](https://github.com/Pagamase/cleanyourtv-panel), [Control Center](https://github.com/samdegan2311/tv-vibehack/tree/pr/control-center), [ExtremeSlimTV](https://github.com/yositapjani/ExtremeSlimTV), [freeTV](https://github.com/kienmai160598/freeTV), [glassOS-tv](https://github.com/jmarknavarro/glassOS-tv), [Google TV style home](https://github.com/SferaDev/android-tv/tree/dev), [Rotating wallpapers and a Wallpaper picker](https://github.com/Alafazam/cleanyourtv/tree/axso2-launcher)
- **Any Android TV (emulator or generic):** [Clean Your TV Companion](https://github.com/gethari/clean-your-tv-companion), [CleanTV by VGS](https://github.com/vgscity/vgs-cleantv), [Stremio shelf, peek dock and calendar](https://github.com/benfirad/tv-vibehack), [TV Remote](https://github.com/HoangTran0410/tv-remote), [Zen list](https://github.com/lengjingxu/cleanyourtv/tree/zen-list)
-| [Weather card and screensaver button](https://github.com/johnny1K/cleanyourtv/tree/weather-card) ([how it works](https://github.com/johnny1K/cleanyourtv/blob/weather-card/FORK.md), [screenshot](https://github.com/johnny1K/cleanyourtv/blob/weather-card/docs/weather-card/card.jpg)) | A fork with an opt-in Apple-Weather-style forecast card (Open-Meteo, only while on) and a moon button that starts the TV's screensaver. Off by default | TCL Smart TV Pro (G08), Google TV 14 | [johnny1K](https://github.com/johnny1K) |
-| [CleanYourTV Panel](https://github.com/Pagamase/cleanyourtv-panel) ([screenshot](https://raw.githubusercontent.com/Pagamase/cleanyourtv-panel/8c52c884314cd85fba21a47e60b6e055d7c4e689/docs/screenshot.png)) | A local web page (Python standard library, 127.0.0.1 only) to arrange the launcher's dock, grid and hidden apps from the computer's browser and push it as a theme with `tools/theme.sh` / `theme.ps1`, keeping the keys already on the TV; English and Spanish | Xiaomi MiTV-MSSP2, Android TV 9 (from Windows 11) | [Pagamase](https://github.com/Pagamase) |
## Add yours
diff --git a/tests/test_showcase_tables.py b/tests/test_showcase_tables.py
new file mode 100644
index 000000000..f351a06f3
--- /dev/null
+++ b/tests/test_showcase_tables.py
@@ -0,0 +1,185 @@
+"""SHOWCASE.md is read as tables, and a row appended at the end of the page is not in one.
+
+Two projects - johnny1K's weather card and Pagamase's CleanYourTV Panel - were added to the end of
+SHOWCASE.md, after the brand index, instead of into the table each belongs to. GitHub renders a "|"
+line outside a table as plain text, so both projects were unreadable as projects, neither was named
+in "Find a project by TV brand", and "53 projects so far." was two short of the rows on the page.
+
+These tests read the page the way GitHub does: a table starts at its header row, then the `|---`
+dashes, and every following "|" line is a row until a line that is not one. A "|" line anywhere else
+is stranded. The project sections are also checked for the four cells a row needs, since a row with
+the wrong cell count renders broken too. No prose is matched, so rewording a row is free.
+"""
+
+import unittest
+from pathlib import Path
+
+ROOT = Path(__file__).resolve().parents[1]
+PAGE = ROOT / "SHOWCASE.md"
+
+
+def cells(line):
+ """The cells of a markdown table line, outer pipes stripped."""
+ return [cell.strip() for cell in line.strip().strip("|").split("|")]
+
+
+def is_dash_row(line):
+ """True for the `|---|:--:|` row that turns the line above it into a table header."""
+ if not line.startswith("|"):
+ return False
+ body = cells(line)
+ return bool(body) and all(cell and set(cell) <= set("-: ") for cell in body)
+
+
+def stray_rows(lines):
+ """[(line number, line)] for every "|" line that is not inside a table."""
+ inside = set()
+ index = 0
+ while index < len(lines) - 1:
+ line = lines[index]
+ if line.startswith("|") and not is_dash_row(line) and is_dash_row(lines[index + 1]):
+ inside.add(index)
+ inside.add(index + 1)
+ index += 2
+ while index < len(lines) and lines[index].startswith("|"):
+ inside.add(index)
+ index += 1
+ continue
+ index += 1
+ return [
+ (number + 1, line)
+ for number, line in enumerate(lines)
+ if line.startswith("|") and number not in inside
+ ]
+
+
+def tables(lines):
+ """[(first row index, [row lines])] for every table on the page."""
+ found = []
+ index = 0
+ while index < len(lines) - 1:
+ line = lines[index]
+ if line.startswith("|") and not is_dash_row(line) and is_dash_row(lines[index + 1]):
+ rows = []
+ index += 2
+ while index < len(lines) and lines[index].startswith("|"):
+ rows.append(lines[index])
+ index += 1
+ found.append((index, rows))
+ continue
+ index += 1
+ return found
+
+
+def heading_above(lines, stop):
+ """The last `## ` heading before `stop`, or '' when the table sits above every heading."""
+ for number in range(stop, -1, -1):
+ if lines[number].startswith("## "):
+ return lines[number][3:].strip()
+ return ""
+
+
+class ShowcaseTables(unittest.TestCase):
+ def setUp(self):
+ self.lines = PAGE.read_text(encoding="utf-8").splitlines()
+
+ def test_no_row_is_stranded_outside_a_table(self):
+ stranded = stray_rows(self.lines)
+ self.assertEqual(
+ stranded,
+ [],
+ "these lines start with '|' but are not in a table, so GitHub renders them as text:\n"
+ + "\n".join(f" line {number}: {line[:90]}" for number, line in stranded),
+ )
+
+ def test_every_table_has_rows_under_a_heading(self):
+ found = tables(self.lines)
+ self.assertGreaterEqual(
+ len(found), 5, "the page should carry the project tables; the parser found fewer"
+ )
+ for _, rows in found:
+ self.assertTrue(rows, "a table with a header and no rows")
+ for end, _ in found:
+ self.assertTrue(
+ heading_above(self.lines, end),
+ f"the table ending on line {end} is not under any '## ' heading",
+ )
+
+ def test_every_row_has_the_four_cells_the_header_names(self):
+ for _, rows in tables(self.lines):
+ for row in rows:
+ self.assertEqual(
+ len(cells(row)), 4, f"expected 4 cells in: {row[:90]}"
+ )
+
+ def test_every_row_names_a_project_a_tv_and_an_author(self):
+ for _, rows in tables(self.lines):
+ for row in rows:
+ project, what, built_on, by = cells(row)
+ self.assertTrue(project.startswith("["), f"no project link in: {row[:90]}")
+ self.assertTrue(what, f"an empty 'what it is' cell in: {row[:90]}")
+ self.assertTrue(built_on, f"no TV or platform named in: {row[:90]}")
+ self.assertIn("/", by, f"no author link in: {row[:90]}")
+
+
+class TheCheckerItself(unittest.TestCase):
+ """The repo-wide test above is only worth its failures if these hold."""
+
+ def test_a_row_appended_after_the_brand_list_is_reported(self):
+ lines = [
+ "## Forks of the launcher",
+ "",
+ "| Project | What it is | Built on | By |",
+ "|---|---|---|---|",
+ "| [One](https://example.com/one) | A fork | TCL G08 | [me](https://example.com) |",
+ "",
+ "- **TCL:** [One](https://example.com/one)",
+ "| [Two](https://example.com/two) | A fork | TCL G08 | [me](https://example.com) |",
+ ]
+ self.assertEqual([line for _, line in stray_rows(lines)], [lines[7]])
+
+ def test_a_row_inside_a_table_is_not_reported(self):
+ lines = [
+ "| Project | What it is | Built on | By |",
+ "|---|---|---|---|",
+ "| [One](https://example.com/one) | A fork | TCL G08 | [me](https://example.com) |",
+ "",
+ ]
+ self.assertEqual(stray_rows(lines), [])
+
+ def test_a_header_without_its_dash_row_is_not_a_table(self):
+ lines = [
+ "| Project | What it is | Built on | By |",
+ "| [One](https://example.com/one) | A fork | TCL G08 | [me](https://example.com) |",
+ ]
+ self.assertEqual(len(stray_rows(lines)), 2)
+ self.assertEqual(tables(lines), [])
+
+ def test_a_table_stops_at_the_first_line_that_is_not_a_row(self):
+ lines = [
+ "| Project | What it is | Built on | By |",
+ "|---|---|---|---|",
+ "| [One](https://example.com/one) | A fork | TCL G08 | [me](https://example.com) |",
+ "",
+ "| [Loose](https://example.com/loose) | Not a row | TCL G08 | [me](https://example.com) |",
+ ]
+ self.assertEqual(len(tables(lines)[0][1]), 1)
+ self.assertEqual([line for _, line in stray_rows(lines)], [lines[4]])
+
+ def test_a_page_with_no_tables_reports_no_table_and_no_rows(self):
+ lines = ["# Made with cleanyourtv", "", "Just prose, no pipes."]
+ self.assertEqual(tables(lines), [])
+ self.assertEqual(stray_rows(lines), [])
+
+ def test_a_narrow_table_is_still_read_as_a_table(self):
+ lines = [
+ "| Project | What it is |",
+ "|---|---|",
+ "| [One](https://example.com/one) | A fork |",
+ ]
+ self.assertEqual(len(tables(lines)), 1)
+ self.assertEqual(len(tables(lines)[0][1]), 1)
+
+
+if __name__ == "__main__":
+ unittest.main()