Debloat any Android or Google TV over Wi-Fi and get an Apple TV-style home.
Python adbadblockandroid-tvandroid-tv-launcherapple-tvbloatware-removalclaude-codedebloatfire-tvgoogle-tvlauncherprivacysmart-tvsony-braviatclvibe-codingxiaomi
SHOWCASE: one index line per brand after the batch, and the count once (104 projects)
Gathin2378ca57084795
diff --git a/README.md b/README.mdindex c86375ae9..23fcc23fe 100644--- a/README.md+++ b/README.md@@ -875,7 +875,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 ninety-five 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 a hundred and four 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.mdindex 9ace4386d..0fc41f0d1 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)-96 projects so far.+104 projects so far.## Home screens built as their own app@@ -166,8 +166,7 @@ Walkthroughs other people wrote or recorded. Press coverage is listed in [docs/PBy the TV each project was built and tested on. Most of them run on other Android TV sets too; check the project's README.-- **Amazon Fire TV:** [CleanYourTV on Fire OS](https://github.com/GaneshVarma1/cleanyourtv/tree/fire-tv-launcher-settings-fix), [Fire OS 6 Home watcher](https://github.com/ljis120301/tv-vibehack/tree/fire-tv-support), [Fire OS 7 fast Home](https://github.com/andrewsaad/fire-tv-cleanup), [Fire TV Glass](https://github.com/ivantrj/firetv-glass-launcher), [Fire TV Stick Lite cleanup (AFTSS)](https://github.com/eteen12/firetv-stick-aftss-cleanup), [Fire TV → Apple TV front end](https://github.com/NikhilSiddhu/firetv-tvos), [fire-tv-cleanup](https://github.com/itsmeterrylin/fire-tv-cleanup), [Home Return and weather moods on a Fire TV](https://github.com/bansiman/cleanyourtv/tree/my-tv)-- **Amazon Fire TV:** [CleanYourTV on Fire OS](https://github.com/GaneshVarma1/cleanyourtv/tree/fire-tv-launcher-settings-fix), [Fire OS 6 Home watcher](https://github.com/ljis120301/tv-vibehack/tree/fire-tv-support), [Fire OS 7 fast Home](https://github.com/andrewsaad/fire-tv-cleanup), [Fire TV Glass](https://github.com/ivantrj/firetv-glass-launcher), [Fire TV → Apple TV front end](https://github.com/NikhilSiddhu/firetv-tvos), [fire-tv-cleanup](https://github.com/itsmeterrylin/fire-tv-cleanup), [Home Return and weather moods on a Fire TV](https://github.com/bansiman/cleanyourtv/tree/my-tv), [Violet Horizon](https://github.com/Kiwicoop247/firetv-glass-launcher/tree/violet-horizon)+- **Amazon Fire TV:** [CleanYourTV on Fire OS](https://github.com/GaneshVarma1/cleanyourtv/tree/fire-tv-launcher-settings-fix), [Fire OS 6 Home watcher](https://github.com/ljis120301/tv-vibehack/tree/fire-tv-support), [Fire OS 7 fast Home](https://github.com/andrewsaad/fire-tv-cleanup), [Fire TV Glass](https://github.com/ivantrj/firetv-glass-launcher), [Fire TV Stick Lite cleanup (AFTSS)](https://github.com/eteen12/firetv-stick-aftss-cleanup), [Fire TV → Apple TV front end](https://github.com/NikhilSiddhu/firetv-tvos), [fire-tv-cleanup](https://github.com/itsmeterrylin/fire-tv-cleanup), [Home Return and weather moods on a Fire TV](https://github.com/bansiman/cleanyourtv/tree/my-tv), [Violet Horizon](https://github.com/Kiwicoop247/firetv-glass-launcher/tree/violet-horizon)- **Baron (CloudWalker OS):** [Baron Home](https://github.com/sethihq/baron-tv)- **BenQ:** [Navigation sounds](https://github.com/rocavence/tv-vibehack/tree/nav-sounds)- **Changhong:** [Glance line and crimson glass on a Changhong](https://github.com/bayhaqy/cleanyourtv/blob/main/my-tv/README.md)@@ -180,8 +179,7 @@ By the TV each project was built and tested on. Most of them run on other Androi- **Insignia:** [Insignia Clean Home](https://github.com/yjack-coder/insignia-clean-home)- **JVC:** [Spotlight](https://github.com/IyiolaJay/spotlight-tv)- **LG:** [Clean Your TV — LG webOS](https://github.com/Razdva122/clean-your-tv-lg-webos), [CleanYourTV for LG webOS](https://github.com/lasharor/cleanyourtv-WebOS), [webOS launcher](https://github.com/OmkarK97/webos-vibehack)-- **MOKA:** [Corner Player](https://github.com/maxhayim/corner-player)-- **MOKA:** [Webmote](https://github.com/maxhayim/webmote)+- **MOKA:** [Corner Player](https://github.com/maxhayim/corner-player), [Webmote](https://github.com/maxhayim/webmote)- **Motorola:** [TV Motorola Launcher](https://github.com/kartikcool15/tv-motorola-launcher)- **MYO:** [MYO Launcher](https://github.com/faustinoaq/myo-launcher)- **NVIDIA Shield:** [Vibe Launcher](https://github.com/maydings/vibe-launcher)@@ -190,13 +188,9 @@ By the TV each project was built and tested on. Most of them run on other Androi- **Sharp:** [Akhter & Ruby TV](https://github.com/arakaneserohingya/ahkter-tv-remake), [Home Deck](https://github.com/glidiandev/home-deck), [KIDŌ](https://github.com/glidiandev/kido)- **Skyworth / Coocaa:** [coocaa-home-shim](https://github.com/VincentYe123/coocaa-home-shim), [Skyworth theme-picker fork](https://github.com/abhishek00235/cleanyourtv/tree/codex/on-device-theme-picker), [TV Motorola Launcher](https://github.com/kartikcool15/tv-motorola-launcher)- **Sony:** [Ambient Theme](https://github.com/audiedv/cleanyourtv/tree/ambient-theme), [LiquiTvOs](https://github.com/purnavikas/cleanyourtv/tree/liquitvos), [Cosy TV](https://github.com/samipuro/tv-launcher), [Premium Minimal Home](https://github.com/Lzchyi/cleanyourtv/tree/v2.6.0-redesign), [Sony BRAVIA cinematic Home](https://github.com/Mahadevaswamys1999/cleanyourtv/tree/sony-bravia-vh21), [Photos, weather and a Telegram bot on a Sony BRAVIA](https://github.com/shivamsingh262/cleanyourtv/tree/sony-x82l-sky-photos), [Sony BRAVIA Launcher](https://github.com/udeshvirk/sony-bravia-launcher), [Sony China launcher](https://github.com/roninriddle/tv-vibehack/tree/sony), [TV Remote](https://github.com/HoangTran0410/tv-remote), [TV Remote + Timer Lock](https://github.com/ptrinh/tvhome-remote), [tv-bookshelf](https://github.com/griffincockfoster56/tv-bookshelf), [Vibe Launcher](https://github.com/maydings/vibe-launcher), [WidgeTV](https://github.com/ashfaqhaq/widgetv)-- **TCL:** [3D Pipes: XP Screensaver for Android TV](https://github.com/TheWombRaider/pipes-tv), [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), [Cristal negro](https://github.com/eltiotrondj/cleanyourtv-cristal-negro), [DVD Video screensaver for Android TV](https://github.com/TheWombRaider/dvd-tv), [freeTV](https://github.com/kienmai160598/freeTV), [Live background and theme sounds](https://github.com/csermet/cleanyourtv/tree/repo-helper), [Local-video Home and Netflix pointer](https://github.com/iloveOREO/cleanyourtv/tree/tv/local-video-wallpaper-and-pointer), [Minimal Home with Now on TV and a 5-day forecast](https://github.com/elioar/cleanyourtv/tree/minimal-home), [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)-- **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), [DVD Video screensaver for Android TV](https://github.com/TheWombRaider/dvd-tv), [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), [Minimal Home with Now on TV and a 5-day forecast](https://github.com/elioar/cleanyourtv/tree/minimal-home), [Local-video Home and Netflix pointer](https://github.com/iloveOREO/cleanyourtv/tree/tv/local-video-wallpaper-and-pointer), [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), [TCL GTV Launcher](https://github.com/alexkev/tcl-gtv-launcher), [TidyTV](https://github.com/jolan94/tidytv), [Weather card and screensaver button](https://github.com/johnny1K/cleanyourtv/tree/weather-card)+- **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), [Cristal negro](https://github.com/eltiotrondj/cleanyourtv-cristal-negro), [DVD Video screensaver for Android TV](https://github.com/TheWombRaider/dvd-tv), [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), [Minimal Home with Now on TV and a 5-day forecast](https://github.com/elioar/cleanyourtv/tree/minimal-home), [Local-video Home and Netflix pointer](https://github.com/iloveOREO/cleanyourtv/tree/tv/local-video-wallpaper-and-pointer), [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), [TCL GTV Launcher](https://github.com/alexkev/tcl-gtv-launcher), [TidyTV](https://github.com/jolan94/tidytv), [Weather card and screensaver button](https://github.com/johnny1K/cleanyourtv/tree/weather-card)- **XGIMI:** [Tellyscope](https://github.com/man15h/tellyscope)-- **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), [Bluetooth pill](https://github.com/nikhiltalreja/cleanyourtv/tree/bluetooth-pill-key-remaps), [CleanTV](https://github.com/0x006E/cleantv), [CleanXiaomiTV](https://github.com/majnioui/CleanXiaomiTV), [CleanYourTV Panel](https://github.com/Pagamase/cleanyourtv-panel), [CleanYourTV: Frutiger Aero](https://github.com/SadmanYasar/cleanyourtv/tree/frutiger-aero-edition), [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), [Nothing-style TV launcher](https://github.com/yashraut362/nothing-tv-launcher-CleanYourTV), [Offline ZIP theme library](https://github.com/DipsySu/cleanyourtv/tree/dipsy/personal-theme-showcase), [Pure TV](https://github.com/Vardxn/pure-tv), [Readable Home](https://github.com/itismowgli/cleanyourtv/tree/readable-home), [Redmi Glass Launcher](https://github.com/harshsingh0930/tv-vibehack), [Rotating wallpapers and a Wallpaper picker](https://github.com/Alafazam/cleanyourtv/tree/axso2-launcher), [stillOS](https://github.com/maximfakel/stillOS), [Xmen Android 6 port](https://github.com/yukunwu/cleanyourtv/tree/xmen-android6/ports/xmen-android6)-- **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), [Bluetooth pill](https://github.com/nikhiltalreja/cleanyourtv/tree/bluetooth-pill-key-remaps), [CleanTV](https://github.com/0x006E/cleantv), [CleanXiaomiTV](https://github.com/majnioui/CleanXiaomiTV), [CleanYourTV Panel](https://github.com/Pagamase/cleanyourtv-panel), [CleanYourTV: Frutiger Aero](https://github.com/SadmanYasar/cleanyourtv/tree/frutiger-aero-edition), [Control Center](https://github.com/samdegan2311/tv-vibehack/tree/pr/control-center), [Cristal negro](https://github.com/eltiotrondj/cleanyourtv-cristal-negro), [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), [Nothing-style TV launcher](https://github.com/yashraut362/nothing-tv-launcher-CleanYourTV), [Offline ZIP theme library](https://github.com/DipsySu/cleanyourtv/tree/dipsy/personal-theme-showcase), [Readable Home](https://github.com/itismowgli/cleanyourtv/tree/readable-home), [Redmi Glass Launcher](https://github.com/harshsingh0930/tv-vibehack), [Rotating wallpapers and a Wallpaper picker](https://github.com/Alafazam/cleanyourtv/tree/axso2-launcher), [stillOS](https://github.com/maximfakel/stillOS), [Xmen Android 6 port](https://github.com/yukunwu/cleanyourtv/tree/xmen-android6/ports/xmen-android6)-- **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), [Bluetooth pill](https://github.com/nikhiltalreja/cleanyourtv/tree/bluetooth-pill-key-remaps), [Chill TV](https://github.com/AlimangoStudio/chill-tv), [CleanTV](https://github.com/0x006E/cleantv), [CleanXiaomiTV](https://github.com/majnioui/CleanXiaomiTV), [CleanYourTV Panel](https://github.com/Pagamase/cleanyourtv-panel), [CleanYourTV: Frutiger Aero](https://github.com/SadmanYasar/cleanyourtv/tree/frutiger-aero-edition), [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), [Nothing-style TV launcher](https://github.com/yashraut362/nothing-tv-launcher-CleanYourTV), [Offline ZIP theme library](https://github.com/DipsySu/cleanyourtv/tree/dipsy/personal-theme-showcase), [Readable Home](https://github.com/itismowgli/cleanyourtv/tree/readable-home), [Redmi Glass Launcher](https://github.com/harshsingh0930/tv-vibehack), [Rotating wallpapers and a Wallpaper picker](https://github.com/Alafazam/cleanyourtv/tree/axso2-launcher), [stillOS](https://github.com/maximfakel/stillOS), [Xmen Android 6 port](https://github.com/yukunwu/cleanyourtv/tree/xmen-android6/ports/xmen-android6)-- **Xiaomi:** [AirPlay receiver installer](https://github.com/nguyenduchoai/tv-vibehack/tree/feat/airplay-receiver), [Android 6 launcher for the MiTV 4S 75](https://github.com/qqwersde/my-tv-signal-android6), [Aurora screensaver and wallpaper](https://github.com/rakshajag13/tv-vibehack/tree/xiaomi-mitv-axso0-debloat-wallpaper), [Bluetooth pill](https://github.com/nikhiltalreja/cleanyourtv/tree/bluetooth-pill-key-remaps), [CleanTV](https://github.com/0x006E/cleantv), [CleanXiaomiTV](https://github.com/majnioui/CleanXiaomiTV), [CleanYourTV Panel](https://github.com/Pagamase/cleanyourtv-panel), [CleanYourTV: Frutiger Aero](https://github.com/SadmanYasar/cleanyourtv/tree/frutiger-aero-edition), [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), [Nothing-style TV launcher](https://github.com/yashraut362/nothing-tv-launcher-CleanYourTV), [Offline ZIP theme library](https://github.com/DipsySu/cleanyourtv/tree/dipsy/personal-theme-showcase), [Readable Home](https://github.com/itismowgli/cleanyourtv/tree/readable-home), [Redmi Glass Launcher](https://github.com/harshsingh0930/tv-vibehack), [Rotating wallpapers and a Wallpaper picker](https://github.com/Alafazam/cleanyourtv/tree/axso2-launcher), [stillOS](https://github.com/maximfakel/stillOS), [Xmen Android 6 port](https://github.com/yukunwu/cleanyourtv/tree/xmen-android6/ports/xmen-android6)+- **Xiaomi:** [AirPlay receiver installer](https://github.com/nguyenduchoai/tv-vibehack/tree/feat/airplay-receiver), [Android 6 launcher for the MiTV 4S 75](https://github.com/qqwersde/my-tv-signal-android6), [Aurora screensaver and wallpaper](https://github.com/rakshajag13/tv-vibehack/tree/xiaomi-mitv-axso0-debloat-wallpaper), [Bluetooth pill](https://github.com/nikhiltalreja/cleanyourtv/tree/bluetooth-pill-key-remaps), [Chill TV](https://github.com/AlimangoStudio/chill-tv), [CleanTV](https://github.com/0x006E/cleantv), [CleanXiaomiTV](https://github.com/majnioui/CleanXiaomiTV), [CleanYourTV Panel](https://github.com/Pagamase/cleanyourtv-panel), [CleanYourTV: Frutiger Aero](https://github.com/SadmanYasar/cleanyourtv/tree/frutiger-aero-edition), [Control Center](https://github.com/samdegan2311/tv-vibehack/tree/pr/control-center), [Cristal negro](https://github.com/eltiotrondj/cleanyourtv-cristal-negro), [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), [Nothing-style TV launcher](https://github.com/yashraut362/nothing-tv-launcher-CleanYourTV), [Offline ZIP theme library](https://github.com/DipsySu/cleanyourtv/tree/dipsy/personal-theme-showcase), [Pure TV](https://github.com/Vardxn/pure-tv), [Readable Home](https://github.com/itismowgli/cleanyourtv/tree/readable-home), [Redmi Glass Launcher](https://github.com/harshsingh0930/tv-vibehack), [Rotating wallpapers and a Wallpaper picker](https://github.com/Alafazam/cleanyourtv/tree/axso2-launcher), [stillOS](https://github.com/maximfakel/stillOS), [Xmen Android 6 port](https://github.com/yukunwu/cleanyourtv/tree/xmen-android6/ports/xmen-android6)- **Any Android TV (emulator or generic):** [Clean Your TV app](https://github.com/udhaykumarbala/cleanyourtv-app), [Clean Your TV Companion](https://github.com/gethari/clean-your-tv-companion), [CleanTV by VGS](https://github.com/vgscity/vgs-cleantv), [CleanYourTV Studio](https://github.com/dazdenii/cleanyourtv-studio), [Dynamic wallpapers](https://github.com/BlockException/cleanyourtv/tree/feature/dynamic-wallpaper-797), [SamuraiOS (Cyberpunk TV Launcher)](https://github.com/0x3XPL017/cleanyourtv-cyberpunk-launcher), [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)diff --git a/tests/test_showcase_project_count.py b/tests/test_showcase_project_count.pyindex 9675adade..6e8036935 100644--- a/tests/test_showcase_project_count.py+++ b/tests/test_showcase_project_count.py@@ -57,9 +57,16 @@ def stated_number(lines):def spelled_number(word):- """"seventy-five" -> 75, "seventy" -> 70, "twenty one" -> 21, anything else -> None."""+ """"seventy-five" -> 75, "seventy" -> 70, "twenty one" -> 21, "a hundred and four" -> 104,+ anything else -> None."""text = word.lower().replace("-", " ").strip()- parts = text.split()+ parts = [p for p in text.split() if p != "and"]+ # The page passed a hundred rows in Round W: "a hundred", "one hundred and four", "a hundred and twenty".+ if len(parts) >= 2 and parts[0] in ("a", "one") and parts[1] == "hundred":+ if len(parts) == 2:+ return 100+ rest = spelled_number(" ".join(parts[2:]))+ return None if rest is None else 100 + restif not parts or len(parts) > 2:return Noneif len(parts) == 1:@@ -78,7 +85,7 @@ def readme_spelled(lines):for line in lines:for match in re.finditer(r"projects\b", line):words = re.findall(r"[A-Za-z-]+", line[: match.start()].rstrip())- for take in (2, 1):+ for take in (5, 4, 3, 2, 1):if len(words) >= take:candidate = " ".join(words[-take:])number = spelled_number(candidate)@@ -185,6 +192,8 @@ class TheCheckerItself(unittest.TestCase):def test_readme_words_are_read_and_an_unreadable_one_is_reported(self):self.assertEqual(readme_spelled(["where seventy-five projects already live"]), (75, "seventy-five"))self.assertEqual(readme_spelled(["where seventy projects already live"]), (70, "seventy"))+ self.assertEqual(readme_spelled(["where a hundred and four projects already live"]), (104, "a hundred and four"))+ self.assertEqual(readme_spelled(["where one hundred and twenty-one projects live"]), (121, "one hundred and twenty-one"))self.assertEqual(readme_spelled(["a row with no count at all"]), (None, None))