What changes on your TV
{/if} +{c.title}
+{c.body}
+On screen: {c.caption}, a real screenshot from the box.
+diff --git a/README.md b/README.md index dfe3030..96f727f 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ auto-installs from Google TV over network ADB. It then replaces the stock home screen with a small offline launcher that has six layouts to choose from. -🌐 **[boxclean.vachagan.dev](https://boxclean.vachagan.dev)** (coming soon) +🌐 **[boxclean.vachagan.dev](https://boxclean.vachagan.dev)**
diff --git a/site/.gitignore b/site/.gitignore
new file mode 100644
index 0000000..241b30a
--- /dev/null
+++ b/site/.gitignore
@@ -0,0 +1,4 @@
+.vercel
+.env*
+node_modules
+dist
diff --git a/site/index.html b/site/index.html
new file mode 100644
index 0000000..625d146
--- /dev/null
+++ b/site/index.html
@@ -0,0 +1,23 @@
+
+
+
+{/if}
+
+
diff --git a/site/src/lib/data.test.ts b/site/src/lib/data.test.ts
new file mode 100644
index 0000000..a3ed898
--- /dev/null
+++ b/site/src/lib/data.test.ts
@@ -0,0 +1,14 @@
+import { describe, expect, it } from "vitest";
+import { parseList, TELEMETRY_PACKAGES } from "./data";
+
+describe("parseList", () => {
+ it("drops comments, inline comments and blank lines", () => {
+ expect(parseList("# head\n\ncom.a # why\n com.b\n#com.c\n")).toEqual(["com.a", "com.b"]);
+ });
+
+ it("reads the real telemetry list", () => {
+ expect(TELEMETRY_PACKAGES).toHaveLength(10);
+ expect(TELEMETRY_PACKAGES).toContain("com.miui.tv.analytics");
+ expect(TELEMETRY_PACKAGES.every((p) => !p.includes(" ") && !p.includes("#"))).toBe(true);
+ });
+});
diff --git a/site/src/lib/data.ts b/site/src/lib/data.ts
new file mode 100644
index 0000000..8bd4d91
--- /dev/null
+++ b/site/src/lib/data.ts
@@ -0,0 +1,99 @@
+import telemetryList from "../../../lists/1-telemetry-ads.txt?raw";
+
+export const REPO = "https://github.com/VachaganGrigoryan/BoxClean";
+export const RELEASES = `${REPO}/releases/latest`;
+export const CLEANYOURTV = "https://github.com/Gathin23/cleanyourtv";
+
+/** Package names from a lists/*.txt file: one per line, `#` starts a comment. */
+export function parseList(text: string): string[] {
+ return text
+ .split("\n")
+ .map((line) => line.replace(/#.*/, "").trim())
+ .filter(Boolean);
+}
+
+export const TELEMETRY_LIST = "lists/1-telemetry-ads.txt";
+export const TELEMETRY_PACKAGES = parseList(telemetryList);
+
+export type ShotKey = "stock" | "v1" | "v2" | LayoutId;
+export type LayoutId = "bento" | "ribbon" | "spotlight" | "editorial" | "rail" | "classic";
+
+export const CHAPTERS: { shot: ShotKey; title: string; caption: string; body: string }[] = [
+ {
+ shot: "stock",
+ title: "Google TV, as it ships",
+ caption: "Google TV home",
+ body: 'The stock home opens on Google TV\'s own tabs and a "Discover more apps" banner. Behind it run dozens of services you never asked for: telemetry, promos and apps that install themselves.',
+ },
+ {
+ shot: "v1",
+ title: "A home that stays offline",
+ caption: "BoxClean Home, first version",
+ body: "With the clutter switched off, the box needs a home screen that doesn't phone home. The first BoxClean Home was a plain grid: a clock, your apps and Settings. It has no network permission at all.",
+ },
+ {
+ shot: "v2",
+ title: "One polished look",
+ caption: "BoxClean Home, one look",
+ body: "Next came the Outfit type, a colour glow sampled from the focused app, and a glass highlight that glides between tiles. This look, adapted from CleanYourTV, lives on as the Classic layout.",
+ },
+ {
+ shot: "bento",
+ title: "Six layouts, picked from the remote",
+ caption: "BoxClean Home, Bento layout",
+ body: "Today the launcher builds its home from the layout you choose: Bento, Ribbon, Spotlight, Editorial, Side rail or Classic. Press Layout, pick one, and it stays picked after a reboot.",
+ },
+];
+
+export const LAYOUTS: { id: LayoutId; name: string; desc: string }[] = [
+ { id: "bento", name: "Bento", desc: "The default. A board of rounded cells with a clock, four big apps and Wi-Fi, Settings and Layout; every other app is in a grid below." },
+ { id: "ribbon", name: "Ribbon", desc: "LG webOS style. The focused app's banner, blurred, fills the screen above one ribbon of cards." },
+ { id: "spotlight", name: "Spotlight", desc: "One app at a time, big. Left and right flip through the apps, Down opens a strip of all of them." },
+ { id: "editorial", name: "Editorial", desc: "A magazine contents page, with numbered app names and the focused one's banner framed beside them." },
+ { id: "rail", name: "Side rail", desc: "Round app icons down the left edge next to a big clock." },
+ { id: "classic", name: "Classic", desc: "Apple TV style, with a large app name over a dock, a gliding glass highlight and a grid." },
+];
+
+export const STEPS: { title: string; body: string; cmd?: string }[] = [
+ {
+ title: "Turn on ADB on the box",
+ body: 'Settings → System → About, press OK on Build seven times. Then Developer options → USB debugging on. Note the IP address under Settings → Network and accept "Allow debugging?" on the TV.',
+ },
+ {
+ title: "Look first, and back up",
+ body: "Neither command changes anything.",
+ cmd: "TV_HOST=+ BoxClean removes the ads, telemetry and auto-installs from a Xiaomi Mi Box S 2nd gen over network ADB. Then it + replaces the Google TV home screen with a small offline launcher that has six layouts. +
+Free and open source under Apache-2.0. Every change can be undone.
+
+ You need a Mac or Linux machine on the same network as the box, uv and
+ Android's adb. Replace <ip> with your box's address.
+
{s.body}
+ {#if s.cmd} +{s.cmd}
+
+
+ Changed your mind? restore lists/<list>.txt puts it all back. The
+ README has every detail.
+
Pick one the way you would on the TV. Every layout is plain Android views, so focus moves instantly on the box's small GPU.
+{current.name}. {current.desc}
+BoxClean exists because of CleanYourTV, Gathin's open-source project that showed a Google TV box can lose its ads without root.
+Forking it would have been the quick route. Instead, BoxClean was rebuilt from an empty folder with Claude Code, one decision at a time, so every package it turns off and every view it draws is understood. The first version, from the debloat script to the sixth layout, landed in eight commits on 21 October 2026.
+Where BoxClean does borrow, it says so. Those parts keep their MIT license and are credited in NOTICE.
+On screen: the Classic look wiping into Bento, then the eight commits.
+{c.body}
+On screen: {c.caption}, a real screenshot from the box.
+One cleans the box from your computer. The other is the home screen it leaves behind.
+pm disable-user.restore turns everything back on and returns Home to its old owner.disable and restore show what they would do first.On screen: the {TELEMETRY_PACKAGES.length} packages in {TELEMETRY_LIST}, the first batch to go.