Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

Free My TV

A fast, ad-free home screen for Google TV, LG and Samsung TVs.

Trending picks from your own apps, the weather at a glance, and a look that follows the sunset.
Open source. Built with Claude Code. One button to undo.

freemytv.io · Install · LG TVs · Samsung TVs · Any TV · Make it yours

The Free My TV home screen: a glass shelf of apps, trending picks, and a drawer with the weather and crypto prices

What you get

  • No ads. No sponsored rows, banners or autoplaying promos. Not one.
  • Your apps, front and center. The streaming apps you actually use, on a glass shelf. Pick them and their order right on the TV.
  • Trending, not sponsored. Three fresh picks every hour from what's trending this week and the latest releases, only from apps you already have. Movies and Shows get their own tabs.
  • Weather and markets, one press away. The hour-by-hour forecast, sunrise and sunset, and live crypto prices.
  • Light by day, dark by night. It follows your city's real sunset, the way your phone does.
  • A screensaver to match. Full-screen photos of the picks with a big glass clock.
  • Fast. 60 fps, every frame in 16.6 ms, on the TV's own chip. The home screen uses 96 MB of memory instead of 242 MB (−60%).
    Measured on a 98″ TCL Google TV running Android 14.
  • Set up on the TV. Language, your city, temperature, theme, the weather and prices cards, which coins, and the apps on the shelf, in Free My TV's own settings.
  • Safe. No root. Nothing is uninstalled. One button brings back the factory home screen.

Install

About ten minutes. You need a Google TV or Android TV (Android 8 or newer) and a computer on the same Wi-Fi.

The easy way: an AI assistant

  1. On the TV, turn on developer mode: Settings → System → About → press Android TV OS build 7 times. Then Settings → System → Developer options → turn on USB debugging. Write down the TV's IP address (Settings → Network & Internet).

  2. On your computer, open an AI coding assistant (Claude Code, Codex or Antigravity) and say:

    Install Free My TV (github.com/simbasjungles/free-my-tv) on my TV at 192.168.1.50. I live in Lisbon.

    It downloads the code, installs the tools it needs, builds the app and puts it on your TV, and asks before anything important. Swap in your TV's IP and your city.

  3. On the TV, open Free My TV → Home Screen → Free My TV, and accept the debugging prompt (tick Always allow).

The manual way

  1. On the TV, do step 1 above.
  2. Tools: a JDK (17+), the Android SDK command-line tools (build-tools 34, platform android-34) and adb. On a Mac:
    brew install --cask temurin android-commandlinetools android-platform-tools
    sdkmanager "build-tools;34.0.0" "platforms;android-34"
    On Linux, get OpenJDK 17, Android's command-line tools and adb from your package manager, then run the same sdkmanager line. On Windows, use Git Bash (which Claude Code uses there) or WSL.
  3. Build:
    ./build.sh
    The first run creates config.properties. Set your city and your TMDB key there, then run it again.
  4. Install:
    adb connect 192.168.1.50:5555
    adb install -r FreeMyTV.apk
    On TCL TVs, also let it run in the background (TCL blocks it by default, and the switch never starts):
    adb shell "appops set io.freemytv AUTO_START allow || appops set io.freemytv APP_AUTO_START allow"
  5. On the TV, open Free My TV → Home Screen → Free My TV.

LG TVs (webOS)

The same home screen as an LG app: the picks, the glass shelf with your apps, the drawer with inputs, weather and prices, day and night, Home Settings and the shelf editor. It installs through LG's own Developer Mode, with nothing rooted or changed on the TV. LG's home screen stays where it is, and Free My TV is one press of a number key away.

You need an LG TV (webOS 3 or newer) and a computer on the same Wi-Fi, with Python 3.

  1. On the TV, open the LG Content Store and install Developer Mode. Sign in with a free LG developer account, turn on Dev Mode Status (the TV restarts), then turn on Key Server. Write down the IP address and the passphrase it shows.
  2. On your computer, get the code and build. config.properties works as for Google TV (your city, your TMDB key):
    git clone https://github.com/simbasjungles/free-my-tv && cd free-my-tv
    python3 webos/build.py
  3. Install. The first time, it asks for the TV's passphrase; updates don't:
    python3 webos/install.py 192.168.1.50
  4. On the TV, while Free My TV is open, hold a number key on the remote. From then on, that key opens it from anywhere.

With an AI assistant, say "Install Free My TV (github.com/simbasjungles/free-my-tv) on my LG TV at 192.168.1.50. I live in Lisbon." It builds the app and hands you the install command, so you type the passphrase yourself.

Developer Mode lasts about 40 days: open the Developer Mode app now and then and press EXTEND. To remove Free My TV, run python3 webos/install.py 192.168.1.50 --uninstall.

Samsung TVs (Tizen)

The same home screen as a Samsung app, with everything the LG one has: the picks, the shelf, the drawer with the inputs, the weather and the prices, day and night, and its own settings. It installs through Samsung's own Developer Mode, with nothing rooted or changed on the TV, and Samsung's home screen stays where it is.

You need a Samsung TV from 2017 or newer (Tizen 3+) and a computer on the same Wi-Fi.

  1. On the TV, open Apps and type 1 2 3 4 5 on the remote. Turn Developer mode on, type your computer's IP address in Host PC IP, and restart the TV.
  2. On your computer, download TizenBrew Installer, the community's installer for Samsung TVs, open it and connect to your TV.
  3. Install from GitHub: type simbasjungles/free-my-tv. On 2023 and newer TVs it asks you to sign in to your Samsung account once, to sign the app for your TV.
  4. Straight to it: in the TV's settings, under Start Screen Options, turn on Autorun Last App: the TV turns on into Free My TV.

This build takes your city from the TV's time zone. For your exact city and the trending picks, build it with your own config.properties and TMDB key: open the folder in Claude Code and say "Install Free My TV on my Samsung TV at 192.168.1.50. I live in Lisbon." It sets up Samsung's tools, and on 2023 and newer TVs you sign in to your Samsung account in the browser to make the certificate. Your signed build installs with python3 tizen/install.py 192.168.1.50, which needs only Python: no Tizen Studio, and no Rosetta on Apple Silicon Macs.

Settings

The first values come from config.properties, created by the first build (Google TV, LG and Samsung use the same file). Most of them can also be changed on the TV, in Free My TV → Home Settings, and the TV's choice wins:

KeyWhat it doesDefault
tmdb_keyYour free TMDB key, for the picksempty
tmdb_regionYour country (two letters): which titles are on which appUS
watchmode_keyOptional, free Watchmode key: a pick opens the title's page in its appempty
latitude, longitudeYour city, for the weather and the sunsetNew York
cityThe name on the weather cardWeather
hide_animationLeave cartoons and anime out of the picksfalse
languageauto (follows the TV), or a language with a translation (en, pt, es, de, ru, fr, ja…) on Google TV; en, es, pt, ru or de on LG and Samsungauto
show_cryptoShow Binance crypto prices on home and screensavertrue
currencyCrypto prices in USD, EUR, BRL…USD
temperatureC, F or autoauto
disable_assistantAlso turn off Google Assistantfalse
hide_servicesStreaming services to leave out of the picks even when their app is on the TV (netflix, prime, disney…), comma separated; for apps the TV ships that you don't subscribe to. Google TV onlyempty

Changed something? Run ./build.sh and install again. Keep freemytv.keystore: updates are signed with it.

The TMDB key

Free, and it takes two minutes: create an account at themoviedb.org, then open Settings → API and request a developer key. Paste the API Read Access Token (or the API Key) after tmdb_key=. It's your key: config.properties stays out of git.

Opening a title, not just its app (optional)

With a free Watchmode key (watchmode_key= in config.properties), a pick opens its own page in the streaming app instead of the app's home. The free plan (2,500 credits a month) is enough: each title costs two requests the first time and is remembered after that. It works where the app takes the title's web address (tested: Prime Video and JioHotstar); where it doesn't, the pick just opens the app, as without a key.

Going back

On the TV: Free My TV → Home Screen → Original. The factory home screen, screensaver and every app come back exactly as they were. If the new home screen ever crashes three times in five minutes, it switches back by itself.

To remove it for good, switch to Original first, then uninstall Free My TV (Settings → Apps). Uninstalled it while it was on? Install it again and pick Original: the list of what it turned off is kept in the TV's settings, so everything comes back.

What it changes

  • It becomes the home screen and the screensaver.
  • It turns off, without uninstalling:
    • the stock home screen and screensaver;
    • Google TV's recovery home, Play Games and YouTube Music;
    • on TCL TVs, the TCL Channel, messages, store demo, hotel menu, manuals, mirroring and logging apps;
    • on Philco TVs, AI PONT (promo channels and app downloads) and the manual;
    • on Multilaser TVs, Anoki's screen-content recognition (ACR), the store demo and the manual;
    • on KTC-made TVs (NextStar), Anoki's screen-content recognition (ACR), the store demo and the manual;
    • Google Assistant, only with disable_assistant=true.
  • On TCL TVs, the remote's Netflix, YouTube and Prime buttons keep working through a small accessibility service that only reads those buttons. Pick what each one opens in Free My TV → Remote Buttons; Original turns the service off. On Vestel-made TVs (F&U and other store brands) and Xiaomi (Formovie) projectors the same goes for the Netflix button, and on KTC-made TVs (NextStar) for the Tabii button. On Sony TVs, the BRAVIA CORE, Netflix, Disney+, Prime Video, YouTube and Crunchyroll buttons (and Google Play, on remotes that have it) can each open the app you pick, or keep Sony's default.
  • Picture, sound, inputs, remote pairing, Google services and the Play Store are on a protected list, checked before every change, and so are Android's own pieces and factory menus. Before anything goes off, the TV is asked whether its inputs or its remote's Input key depend on it; those stay on.
  • On Google TV, the setup app goes off before the stock home screen and comes back after it, so its recovery screen never takes over the Home button in between.
  • Apps that saved a Wi-Fi network are never turned off, since Android would erase the network. If the TV's first setup saved yours, the switch asks you to forget the network and connect again in Settings first (saved networks out of range don't show there; Claude Code can remove them).

Any TV

Free My TV runs on Google TV and Android TV: TCL, Sony, Hisense, Philips, Xiaomi, Vestel-made TVs (F&U), KTC-made TVs (NextStar) and more, plus streamers like Chromecast with Google TV, the Google TV Streamer, onn 4K and NVIDIA Shield. And on LG and Samsung TVs, as an app.

Any other TV: plug a Google TV streamer into HDMI and free that one. Same steps, same home screen.

A different brand or model: ask Claude. Free My TV is made to be adapted by AI. Open the folder in Claude Code and say "set it up for my Sony": it reads your TV, finds its home screen and its promo apps, updates the lists below and walks you through a test. CLAUDE.md tells it how.

WhatWhere
Apps to turn offDEBLOAT in HomeMode.java
Apps never to touchPROTECTED in the same file
Apps on the shelfSHELF in HomeApps.java
Your brand's live TV appLIVE_TV_APPS in the same file

Make it yours

It's your code, and Claude Code finds its way around it. Try:

  • "Add Crunchyroll to the shelf."
  • "Show the prices in euros."
  • "Add Catalan."
  • "Switch to the night look an hour after sunset."

How it works

  • A plain Android app, no Gradle, no libraries. build.sh runs aapt2 → javac → d8 → zipalign → apksigner and makes a 2 MB APK.
  • It uses the TV's own ADB, from inside the TV. The app connects to 127.0.0.1:5555 with its own key (that's the Allow USB debugging? prompt) and runs the same commands you would: cmd package set-home-activity, settings put secure screensaver_components, pm disable-user. Nothing listens to the network.
  • Drawn by hand on one Canvas, with Android 13 shaders for the frosted glass and the sky (plain fills on Android 8 to 12, with lighter shadows and no GPU layers on 8 to 11 for their older GPUs).
  • A safety net. A watchdog in a separate process brings back the stock home screen after three crashes in five minutes, and a boot check keeps your choice after TV updates.
  • On LG and Samsung, the same design in plain HTML, CSS and JavaScript (web/), written for the Chromium of older TVs, with no frameworks. webos/build.py packs it with config.properties into an .ipk without LG's tools, and webos/install.py installs it through Developer Mode; on LG it lists and opens apps through the TV's own service bus (Luna), as LG's launcher does. tizen/build.py packs the same app into a Samsung .wgt, which uses Tizen's web APIs for the apps and the inputs. To preview it on a computer: python3 webos/build.py --preview, then open out/webos/index.html (a stand-in lists sample apps).
  • Data from TMDB (trending titles, new releases and which app streams what in your country), Open-Meteo (forecast, sunrise and sunset), and optionally Binance (24-hour prices when show_crypto=true).
FileWhat it is
HomeView.javaThe home screen
HomeMode.javaSwitching between Free My TV and Original
Adb.javaThe TV's own ADB, from inside the TV
Recs.javaThe picks (TMDB)
HomeData.javaWeather and prices
HomeApps.javaThe shelf, inputs and All Apps
DreamView.javaThe screensaver
SettingsActivity.javaThe settings screen (the app's icon)
Prefs.javaSettings changed on the TV
RemoteKeys.javaThe TCL remote's app buttons
Watchdog.javaThe safety net
web/home.jsThe home screen on LG TVs
web/tv.jsThe TV's apps and inputs, on LG and Samsung
webos/build.py, webos/install.pyThe LG app package and its install
tizen/build.pyThe Samsung app package

The website (freemytv.io) is in docs/: plain HTML, CSS and JS on GitHub Pages.

Translations

On Google TV, each language is one file, app/assets/i18n/<lang>.json, keyed by the English text in the code. Automatic follows the TV's language and uses any language that has a file (English otherwise); Home Settings → Language lists them all. Today: English, Portuguese, Spanish, German, French, Italian, Dutch, Polish, Swedish, Danish, Norwegian, Finnish, Czech, Romanian, Turkish, Russian, Ukrainian, Greek, Japanese, Korean, Simplified Chinese, Hindi, Indonesian and Vietnamese. Portuguese, Spanish, German and Russian were translated by hand and are the reference (fix them by hand); the others were machine-made, and corrections from native speakers are welcome.

  • Add a language: python3 tools/translate.py --new ca, then fill app/assets/i18n/ca.json by hand, or with ANTHROPIC_API_KEY set, python3 tools/translate.py --fill --lang ca (only the strings go to the API).
  • After changing text in the code: python3 tools/translate.py lists what each language lacks; --fill translates only that, --prune drops strings the code no longer uses. Run python3 tools/translate.py --check to validate all catalogues without writing files.
  • Text built at runtime has placeholders ("{n} min ago"), so each language puts the words in its own order. A key like "unit|Automatic" is the same English in another place, where a language may need another word.
  • Counts have plural forms: "plural|one:{n} season|other:{n} seasons" is translated with one form per plural category the language uses (Russian "one:{n} сезон|few:{n} сезона|many:{n} сезонов|other:{n} сезона", Japanese just "other:{n}シーズン"), and Android's plural rules pick the one for each number.
  • Limits: right-to-left languages (Arabic, Hebrew, Persian) would need the layout mirrored, so they aren't there yet. Chinese, Japanese, Korean and Hindi are drawn with the TV's system font (Inter has no such letters). The LG and Samsung app has English, Portuguese, Spanish, German and Russian.

Privacy

No accounts, no analytics, no tracking. The app talks to TMDB, Open-Meteo (with the coordinates you set, or your time zone's main city), and Binance only when show_crypto=true, and Watchmode only when you set a watchmode_key. Your settings stay on your computer and your TV.

Credits

License

MIT. Fork it, change it, ship it.

关于 About

A fast, ad-free home screen for Google TV. Open source, built with Claude Code. One button to undo.
android-tvclaude-codegoogle-tvhome-screenlauncherno-adsopen-sourcetmdb

语言 Languages

Java74.4%
JavaScript12.8%
Python8.0%
CSS3.5%
Shell1.0%
HTML0.2%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
150
Total Commits
峰值: 150次/周
Less
More

核心贡献者 Contributors