Debloat your Android TV, install apps, browse and transfer files on it, all from your phone. Just 3 MB, no tracking, no root, no PC.
Add a landing page for GitHub Pages
jesse-agent-23280ec53703f46
diff --git a/docs/index.html b/docs/index.htmlnew file mode 100644index 0000000..4825d92--- /dev/null+++ b/docs/index.html@@ -0,0 +1,131 @@+<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1">+<title>Tellyscope: control how your TV works</title>+<meta name="description" content="Debloat, install apps, send files and use a remote on Android TV, Google TV and Fire TV, all from your phone over Wi-Fi. Free and open source.">+<meta name="color-scheme" content="light dark">+<link rel="icon" href="logo/icon.svg" type="image/svg+xml">+<script>+// Before first paint, so there is no flash of the wrong theme: a saved choice, else the system's.+(() => {+ const forced = new URLSearchParams(location.search).get('theme');+ let saved = null; try { saved = localStorage.getItem('theme'); } catch (e) {}+ document.documentElement.dataset.theme = forced || saved || (matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light');+})();+</script>+<style>+:root { --bg: #F4FBFA; --ink: #0F2B2C; --sub: #557070; --pri: #00696B; --onpri: #FFFFFF; --tint: rgba(0,105,107,.09); --bar: #F4FBFA; --sbink: #161D1D; --grad: radial-gradient(1200px 900px at 85% 110%,#cfe2ff 0%,transparent 60%),radial-gradient(1100px 800px at 5% -10%,#c9f3f1 0%,transparent 60%),linear-gradient(120deg,#e3f6f4 0%,#e6eefb 100%); --frame: #C9CED1; --frame2: #9AA1A5; --shadow: 0 40px 80px rgba(0,40,50,.25),0 12px 24px rgba(0,40,50,.15); --dot: rgba(0,105,107,.25); color-scheme: light; }+:root[data-theme="dark"] { --bg: #0B1517; --ink: #E6F6F5; --sub: #93ACAB; --pri: #80D4D5; --onpri: #003737; --tint: rgba(128,212,213,.10); --bar: #0E1415; --sbink: #DDE4E3; --grad: radial-gradient(1200px 900px at 90% 110%,#1d3550 0%,transparent 60%),radial-gradient(1000px 800px at 0% -10%,#0f3a3b 0%,transparent 60%),linear-gradient(120deg,#0b1a1c 0%,#0f1b2b 100%); --frame: #3A4044; --frame2: #5E666B; --shadow: 0 40px 90px rgba(0,0,0,.6); --dot: rgba(128,212,213,.25); color-scheme: dark; }+* { box-sizing: border-box; }+html, body { margin: 0; min-height: 100%; }+body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--grad), var(--bg); min-height: 100vh; }+.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }+nav { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }+.logo { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 640; letter-spacing: -.02em; }+.logo img { width: 36px; height: 36px; border-radius: 10px; }+.right { display: flex; align-items: center; gap: 10px; }+.icon { width: 44px; height: 44px; border: 0; border-radius: 50%; display: grid; place-items: center; background: var(--tint); color: var(--pri); cursor: pointer; }+.icon svg { width: 22px; height: 22px; fill: currentColor; }+:root[data-theme="dark"] .sun, :root:not([data-theme="dark"]) .moon { display: none; }+.hero { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 48px; min-height: calc(100vh - 84px); padding: 24px 0 48px; }+.eyebrow { font-size: 22px; font-weight: 560; color: var(--pri); }+h1 { margin: 12px 0 0; font-size: 80px; line-height: 1.02; font-weight: 640; letter-spacing: -.03em; }+.lead { margin: 24px 0 0; font-size: 24px; line-height: 1.4; color: var(--sub); max-width: 26em; }+.cta { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }+.btn { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 28px; border-radius: 999px; font-size: 18px; font-weight: 560; text-decoration: none; }+.btn.pri { background: var(--pri); color: var(--onpri); }+.btn.ton { background: var(--tint); color: var(--pri); }+.btn.sm { height: 44px; padding: 0 18px; font-size: 15px; }+.alt { margin-top: 14px; font-size: 15px; color: var(--sub); } .alt a { color: var(--pri); font-weight: 560; }+.note { margin-top: 10px; font-size: 15px; color: var(--sub); }+/* Pixel 10, drawn: flat aluminium band, even bezel, centred punch-hole, power and volume on the right. */+.dev { display: flex; flex-direction: column; align-items: center; gap: 22px; }+.pixel { --w: 300px; position: relative; width: calc(var(--w) + 24px); padding: 10px; border-radius: 52px;+ background: #0b0c0d; box-shadow: 0 0 0 3px var(--frame), 0 0 0 4px var(--frame2), var(--shadow); }+.pixel::before, .pixel::after { content: ""; position: absolute; right: -7px; width: 4px; border-radius: 0 3px 3px 0; background: var(--frame2); }+.pixel::before { top: 120px; height: 52px; } .pixel::after { top: 196px; height: 92px; }+/* The renders are 411x891 dp; the status bar takes the rest of the Pixel's taller 1080x2424 screen, so nothing is cropped. */+.screen { position: relative; width: calc(var(--w) + 4px); aspect-ratio: 1080 / 2424; --sb: calc((var(--w) + 4px) * (2424 / 1080 - 891 / 411)); border-radius: 42px; overflow: hidden; background: var(--bar); }+.cam { position: absolute; z-index: 2; left: 50%; top: 5px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #050607; box-shadow: inset 0 0 0 2px #1a1d1f; }+.sb { position: absolute; z-index: 1; inset: 0 0 auto 0; height: var(--sb); display: flex; align-items: center; justify-content: space-between; padding: 0 24px 0 28px; font: 500 12px Roboto, sans-serif; color: var(--sbink); background: var(--bar); }+.sb svg { fill: currentColor; }+.track { position: absolute; inset: var(--sb) 0 0 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }+.track::-webkit-scrollbar { display: none; }+.slide { flex: 0 0 100%; scroll-snap-align: start; }+.slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }+.dots { display: flex; }+/* A 24 px tap target around each 8 px dot. */+.dot { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }+.dot::before { content: ""; width: 8px; height: 8px; border-radius: 4px; background: var(--dot); transition: width .3s; }+.dot.on::before { width: 24px; background: var(--pri); }+.cap { font-size: 15px; font-weight: 560; color: var(--sub); min-height: 20px; }+@media (max-width: 760px) {+ .wrap { padding: 0 20px; }+ .btn.sm { display: none; }+ .hero { grid-template-columns: 1fr; gap: 40px; min-height: 0; padding: 8px 0 48px; }+ .eyebrow { font-size: 18px; } h1 { font-size: 46px; } .lead { font-size: 19px; margin-top: 16px; }+ .cta { margin-top: 26px; } .btn { height: 52px; padding: 0 24px; font-size: 17px; }+ .pixel { --w: 264px; border-radius: 46px; } .screen { border-radius: 37px; }+}+</style></head><body>+<div class="wrap">+<nav><div class="logo"><img src="logo/icon.svg" alt="" width="36" height="36">Tellyscope</div>+<div class="right"><a class="btn ton sm" href="https://github.com/man15h/tellyscope"><svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"/></svg>GitHub</a>+<button class="icon" id="theme" aria-label="Switch theme"><svg class="sun" viewBox="0 0 24 24"><path d="M12 7a5 5 0 1 0 0 10 5 5 0 0 0 0-10zM11 1h2v3h-2zM11 20h2v3h-2zM1 11h3v2H1zM20 11h3v2h-3zM4.2 5.6l1.4-1.4 2.1 2.1-1.4 1.4zM16.3 17.7l1.4-1.4 2.1 2.1-1.4 1.4zM4.2 18.4l2.1-2.1 1.4 1.4-2.1 2.1zM16.3 6.3l2.1-2.1 1.4 1.4-2.1 2.1z"/></svg><svg class="moon" viewBox="0 0 24 24"><path d="M12.3 2A10 10 0 1 0 22 13.7 8 8 0 0 1 12.3 2z"/></svg></button></div></nav>+<main class="hero">+<div>+<div class="eyebrow">Meet Tellyscope.</div>+<h1>Control how your TV works.</h1>+<p class="lead">Debloat, install apps, send files and use a remote, all from your phone over Wi‑Fi. For Android TV, Google TV and Fire TV.</p>+<div class="cta"><a class="btn pri" id="apk" href="https://github.com/man15h/tellyscope/releases/latest"><svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor"><path d="M11 4h2v9.2l3.6-3.6 1.4 1.4-6 6-6-6 1.4-1.4 3.6 3.6zM5 18h14v2H5z"/></svg><span>Download APK</span></a><a class="btn ton" href="https://apps.obtainium.imranr.dev/redirect?r=obtainium%3A%2F%2Fadd%2Fhttps%3A%2F%2Fgithub.com%2Fman15h%2Ftellyscope"><svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor"><path d="M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18zm0 2a7 7 0 0 1 6.9 6H15a3 3 0 0 0-6 0H5.1A7 7 0 0 1 12 5zm0 14a7 7 0 0 1-6.9-6H9a3 3 0 0 0 6 0h3.9A7 7 0 0 1 12 19z"/></svg>Get it on Obtainium</a></div>+<div class="alt">From GitHub Releases. Don't have Obtainium? <a href="https://github.com/ImranR98/Obtainium">Get it here</a>.</div>+<div class="note">Free and open source · Under 3 MB · No root · No tracking</div>+</div>+<div class="dev">+<div class="pixel"><div class="screen"><div class="cam"></div>+<div class="sb"><span>9:30</span><svg width="44" height="14" viewBox="0 0 74 26"><path d="M14 22L2 9a17 17 0 0 1 24 0z"/><rect x="36" y="5" width="30" height="16" rx="4" fill="none" stroke="currentColor" stroke-width="2.4"/><rect x="39" y="8" width="20" height="10" rx="2"/></svg></div>+<div class="track"><div class="slide"><img data-name="tv" alt="Your TV at a glance" width="540" height="1171"></div><div class="slide"><img data-name="debloat" alt="Debloat, safely" width="540" height="1171" loading="lazy"></div><div class="slide"><img data-name="install" alt="Install apps" width="540" height="1171" loading="lazy"></div><div class="slide"><img data-name="launcher" alt="Set a new launcher" width="540" height="1171" loading="lazy"></div><div class="slide"><img data-name="adblock" alt="Block ads with Private DNS" width="540" height="1171" loading="lazy"></div><div class="slide"><img data-name="send" alt="Send files to the TV" width="540" height="1171" loading="lazy"></div><div class="slide"><img data-name="remote" alt="A remote in your pocket" width="540" height="1171" loading="lazy"></div><div class="slide"><img data-name="advanced" alt="Everything, in detail" width="540" height="1171" loading="lazy"></div></div></div></div>+<div class="cap" aria-live="polite"></div><div class="dots"><button class="dot" aria-label="Your TV at a glance"></button><button class="dot" aria-label="Debloat, safely"></button><button class="dot" aria-label="Install apps"></button><button class="dot" aria-label="Set a new launcher"></button><button class="dot" aria-label="Block ads with Private DNS"></button><button class="dot" aria-label="Send files to the TV"></button><button class="dot" aria-label="A remote in your pocket"></button><button class="dot" aria-label="Everything, in detail"></button></div>+</div>+</main>+</div>+<script>+const root = document.documentElement, btn = document.getElementById('theme');+const imgs = [...document.querySelectorAll('.track img')];+// The phone shows the light or dark renders to match the page.+const paint = () => {+ const dark = root.dataset.theme === 'dark';+ imgs.forEach(i => i.src = 'site/' + i.dataset.name + (dark ? '-dark' : '') + '.webp');+ btn.setAttribute('aria-label', dark ? 'Switch to light theme' : 'Switch to dark theme');+};+btn.onclick = () => {+ root.dataset.theme = root.dataset.theme === 'dark' ? 'light' : 'dark';+ try { localStorage.setItem('theme', root.dataset.theme); } catch (e) {}+ paint();+};+paint();++// The button works as a link to the latest release without JS; with it, it points straight at the release's APK.+fetch('https://api.github.com/repos/man15h/tellyscope/releases/latest')+ .then(r => r.ok ? r.json() : Promise.reject())+ .then(rel => {+ const apk = rel.assets.find(a => a.name.endsWith('.apk'));+ if (!apk) return;+ const a = document.getElementById('apk');+ a.href = apk.browser_download_url;+ a.querySelector('span').textContent = 'Download ' + rel.tag_name;+ }).catch(() => {});++// Swipe between screens; the dots follow and jump; it advances by itself every 4 s until touched.+const track = document.querySelector('.track'), dots = [...document.querySelectorAll('.dot')], cap = document.querySelector('.cap');+const q = new URLSearchParams(location.search);+let at = +(q.get('at') || 0), timer;+const show = (i, smooth) => track.scrollTo({ left: i * track.clientWidth, behavior: smooth ? 'smooth' : 'instant' });+const mark = i => { dots.forEach((d, j) => d.classList.toggle('on', j === i)); cap.textContent = imgs[i].alt; };+const stop = () => clearInterval(timer);+track.addEventListener('scroll', () => { at = Math.round(track.scrollLeft / track.clientWidth); mark(at); });+track.addEventListener('pointerdown', stop, { once: true });+dots.forEach((d, i) => d.onclick = () => { stop(); show(i, true); });+if (!q.has('still') && !matchMedia('(prefers-reduced-motion: reduce)').matches)+ timer = setInterval(() => show((at + 1) % dots.length, true), 4000);+show(at, false); mark(at);+</script>+</body></html>\ No newline at end of filediff --git a/docs/site/adblock-dark.webp b/docs/site/adblock-dark.webpnew file mode 100644index 0000000..225dedbBinary files /dev/null and b/docs/site/adblock-dark.webp differdiff --git a/docs/site/adblock.webp b/docs/site/adblock.webpnew file mode 100644index 0000000..92e9bf4Binary files /dev/null and b/docs/site/adblock.webp differdiff --git a/docs/site/advanced-dark.webp b/docs/site/advanced-dark.webpnew file mode 100644index 0000000..3054245Binary files /dev/null and b/docs/site/advanced-dark.webp differdiff --git a/docs/site/advanced.webp b/docs/site/advanced.webpnew file mode 100644index 0000000..de485ecBinary files /dev/null and b/docs/site/advanced.webp differdiff --git a/docs/site/debloat-dark.webp b/docs/site/debloat-dark.webpnew file mode 100644index 0000000..a23aabfBinary files /dev/null and b/docs/site/debloat-dark.webp differdiff --git a/docs/site/debloat.webp b/docs/site/debloat.webpnew file mode 100644index 0000000..7ffd635Binary files /dev/null and b/docs/site/debloat.webp differdiff --git a/docs/site/install-dark.webp b/docs/site/install-dark.webpnew file mode 100644index 0000000..3a5ed5bBinary files /dev/null and b/docs/site/install-dark.webp differdiff --git a/docs/site/install.webp b/docs/site/install.webpnew file mode 100644index 0000000..862a972Binary files /dev/null and b/docs/site/install.webp differdiff --git a/docs/site/launcher-dark.webp b/docs/site/launcher-dark.webpnew file mode 100644index 0000000..5583954Binary files /dev/null and b/docs/site/launcher-dark.webp differdiff --git a/docs/site/launcher.webp b/docs/site/launcher.webpnew file mode 100644index 0000000..5912349Binary files /dev/null and b/docs/site/launcher.webp differdiff --git a/docs/site/remote-dark.webp b/docs/site/remote-dark.webpnew file mode 100644index 0000000..191e18fBinary files /dev/null and b/docs/site/remote-dark.webp differdiff --git a/docs/site/remote.webp b/docs/site/remote.webpnew file mode 100644index 0000000..23d9732Binary files /dev/null and b/docs/site/remote.webp differdiff --git a/docs/site/send-dark.webp b/docs/site/send-dark.webpnew file mode 100644index 0000000..3af3b2aBinary files /dev/null and b/docs/site/send-dark.webp differdiff --git a/docs/site/send.webp b/docs/site/send.webpnew file mode 100644index 0000000..fd9d3b6Binary files /dev/null and b/docs/site/send.webp differdiff --git a/docs/site/tv-dark.webp b/docs/site/tv-dark.webpnew file mode 100644index 0000000..dd1a0a4Binary files /dev/null and b/docs/site/tv-dark.webp differdiff --git a/docs/site/tv.webp b/docs/site/tv.webpnew file mode 100644index 0000000..00c0b11Binary files /dev/null and b/docs/site/tv.webp differ