RepositoryJava
tshi-dev

tshi-dev/UrTV

Arabic home screen and screensaver for Android TV / Google TV: prayer times, Quran, matches. Sets itself up from the TV. واجهة عربية وشاشة توقف لتلفزيونات أندرويد، تجهّز نفسها من التلفزيون نفسه.

270sao
97fork
10issue
1lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: adhan

#1 Repository của tuần

1
TINIX TRENDING·Chủ đề: arabic

#1 Repository của tuần

1
TINIX TRENDING·Chủ đề: saudi-arabia

#1 Repository của tuần

تلفزيونك · UrTV

تلفزيونك · UrTV

واجهة رئيسية عربية وشاشة توقف سعودية لتلفزيونات Android TV و Google TV، وتسريع آمن للتلفزيون.
يركّبها لك مساعد ذكاء اصطناعي بأمر واحد.

An Arabic home screen and a Saudi screensaver for Android TV / Google TV, and a safe speed-up.
Your AI agent sets it all up.

Before: Google TV home. After: the تلفزيونك home screen

Before: the Google screensaver. After: شاشة تلفزيونك

ركّبه في 3 خطوات

① التلفزيون

الإعدادات ← حول ← اضغط OK على Build سبع مرات. بعدها روح إلى خيارات المطوّر ← شغّل USB debugging.

② كمبيوتر على نفس الواي فاي، وعليه واحد من هذي

Codex (OpenAI)Claude Code (Anthropic)
مجاني بحساب ChatGPTيحتاج اشتراك Claude Pro (20$ بالشهر)
حمّل تطبيق Codexحمّل تطبيق Claude ← تبويب Code
الموافقات: اختر «Approve for me»الموافقات: Allow للمهمة كلها

ويندوز: ركّب Git وPython أول (winget install Git.Git Python.Python.3.12). Gemini CLI مجاني وناس قالوا يشتغل؛ ما جرّبناه.

③ الصق هذا

ركّب تلفزيوني من https://github.com/tshi-dev/UrTV: انسخ المستودع واتبع docs/SETUP-PROMPT.md خطوة بخطوة. أنت على كمبيوتر متصل بنفس شبكة الواي فاي حقت التلفزيون.

وش يصير بعد اللصق؟

يسألك عن مدينتك وأنديتك، والتلفزيون يسألك Allow مرة وحدة، وبعدها خلّه يشتغل: 40 دقيقة وكم إعادة تشغيل.

بترجعه مثل ما كان؟

نعم، بأي وقت: تطبيقاتنا تنحذف، واللي أطفأناه يرجع، وشاشة التلفزيون الأصلية ترجع. optimize/reset.sh

نزلت نسخة جديدة؟

حدّث التطبيقين وإعداداتك كلها باقية. الشاشة نفسها تتحدّث لحالها. وصف «تحديث الشاشة الآن» في الإعدادات يخبرك متى يوجد إصدار جديد. optimize/install.sh all

نزل تحديث للنظام وقفل تطبيقنا؟

أعد الإعداد كله بأمر واحد، وإعداداتك باقية. optimize/run.sh again

Set it up in 3 steps

① The TV

Settings → About → press OK on Build 7 times. Then go to Developer options → turn on USB debugging.

② A computer on the same Wi-Fi, with one of these

Codex (OpenAI)Claude Code (Anthropic)
Free with a ChatGPT accountNeeds Claude Pro ($20/month)
Download the Codex appDownload the Claude app → Code tab
Approvals: choose «Approve for me»Approvals: Allow for the whole task

Windows: install Git and Python first (winget install Git.Git Python.Python.3.12). Gemini CLI is free and reported to work; not tested by us.

③ Paste this

Set up my TV with https://github.com/tshi-dev/UrTV: clone it and follow docs/SETUP-PROMPT.md step by step. You are on a computer on the same Wi-Fi as the TV.

What happens after pasting?

It asks your city and your clubs, the TV asks Allow once, then leave it: 40 minutes, a few restarts.

Can I put it back as it was?

Yes, anytime: our apps are removed, what we turned off comes back on, the TV's own screen returns. optimize/reset.sh

A new version came out?

Update both apps; all your settings stay. The screen itself updates on its own. The settings row tells you when one exists. optimize/install.sh all

The TV updated its system and locked our app out?

Redo the whole setup with one command, settings kept. optimize/run.sh again

Safe: nothing is uninstalled; AirPlay, Chromecast and voice are never touched; a 5-minute safety switch puts the stock home back if ours doesn't come up. The apps are built and signed by GitHub Actions from this repo (version 3.N = the build number). The full prompt: docs/SETUP-PROMPT.md. To build a different screen: docs/RECREATE-PROMPT.md.

What you get

شاشة تلفزيونك · screensaverClock, Hijri date, prayer times and iqama, Ramadan, your teams' matches, weather, markets, and beside the clock your choice of new episodes, today's prayers, the 5-day forecast, all your teams' games, or a verse/hadith of the day, over Saudi landscapesurtv-screensaver.apk
تلفزيونك · home screenClean Arabic launcher: favourites row (5–10 apps) arranged in «ترتيب المفضلة», all apps, inputs, Wi-Fi, settings; optional card from the screensaver (off by default)urtv-home.apk
Two free appsTV Bro, a web browser for the TV, and SmartTube, YouTube without ads, from their own releases (skip with SKIP_EXTRAS=1)optimize/install.sh extras
Speed-upTelemetry, ads and demos off (reversibly), closed apps frozen, Play Store kept from running in the background, faster animationsoptimize/

Download the apps yourself: releases/apk-latest (install with adb install; the agent route above also sets everything up). Every build is also kept as a numbered release (v3.N, the apps' version), to go back to one: APK_TAG=v3.N optimize/install.sh all.

For agents and scripts

Everything is scriptable over ADB, made for slow Wi-Fi (retries, resumable uploads, every step remembered):

optimize/find-tv.sh--check: can this terminal reach the home network at all (not from a cloud or sandbox) · then finds the TV (Windows, Mac, Linux)
optimize/run.shthe whole setup; run again after any failure to continue · status · again after a TV system update (redo all, settings kept)
optimize/saver.shscreensaver settings: show, cities, city, find-team, teams, card, home-card, genres, langs, minrating, photos, idle, update
optimize/dock.shfavourites row: show, apps, set, reset; hidden, hide PKG, show PKG for apps left off the home screen
optimize/measure.sh · shot.shmemory before/after (restart + settle) · screenshots without navigating
optimize/keep.shturn back on anything protected (AirPlay, casting, voice, updates…) that something turned off
docs/TVS.mdwhat was seen on each TV model (ADB port, home switch, what to watch out for)
optimize/reset.shback to stock: lists re-enabled, stock home and screensaver back, our apps removed
optimize/share.shif the owner wants: how the setup went (TV model, time per step, what failed, memory before/after; nothing personal), sent anonymously to the author (from their phone by a QR code if this computer is offline)

What we learned on real TCL sets, and what must stay on: docs/OPTIMIZE.md. Manual test plan: docs/TEST-PLAN.md.

For developers

src/template.html     the screen (HTML/CSS/JS, no framework); edit this, then run src/build.py
src/build.py          builds the two pages in dist/
dist/urtv.html        stand-alone page, fonts and photos inlined: open in any browser (F = full screen), works offline
dist/tv.html          light page the Android app loads (0.3 MB); the app serves fonts and photos from disk
android/app           the screensaver app (sa.urtv.screensaver): DreamService, settings, auto-update
android/launcher      the home screen (sa.urtv.home)
assets/               fonts, bundled photos, Arabic team names, verse and hadith texts
photos/               the hosted photo set (5 shown per 4 days, rotating every 30 min)
optimize/             TV tools (Python ADB client, no adb binary needed); lists/ says what may be turned off
docs/                 the agent prompts (setup, recreate), what we learned on real TVs, test plan, photo credits
.github/              CI: APK builds, checks, data tools (verses, hadith, clubs, photos), README images
tests/run.sh          every check: build, data, fonts, scripts, private data, flaky-ADB upload, the screen in a browser

A push to master builds both APKs in GitHub Actions and publishes them to apk-latest and a numbered v3.N release; a push to next publishes apk-next instead (a test build). tests/run.sh runs on master, next, content and pull requests. Local Android build (needs the SDK): python3 src/build.py && gradle -p android assembleRelease (signed with the debug key; the release key lives only in the repository's secrets).

Screen settings come from the URL fragment (works on file:// and in WebView):

urtv.html#city=جدة&lat=21.5433&lon=39.1728&tz=Asia/Riyadh&teams=136013,136137&panel=prayers

teams: up to 10 TheSportsDB ids in priority order. panel: the card beside the clock: shows, prayers, forecast, matches, verse or none. Also genres, langs, shows, minrating for the episodes card.

Data (free, no keys): Aladhan (prayer times, Umm al-Qura), Open-Meteo (weather), Yahoo and CoinGecko (markets), TVMaze (episodes), TheSportsDB (matches). Everything fails soft: offline, the clock, dates, prayer and Ramadan countdowns still work and the last good data stays on screen. A finished game's score stays up for a day.

Verse and hadith texts are never typed by hand: verses come from the Quran API via CI (.github/tools/fetch_verses.py); each hadith is checked by CI (.github/tools/verify_hadith.py) against the Arabic text of the six Sunni books, and only those found are shown, with the books as the source line.

The Android apps update the screen page from this repo every 6 hours (so it must stay public), start fast (the page shows once the clock, saved panels and photo are ready), and come back after a power cut.

Credits

Photos: Unsplash photographers, listed in docs/PHOTO-CREDITS.md. Fonts: Thmanyah, and Noto Naskh Arabic for ﷺ ﴿﴾ (OFL, assets/fonts/). Home screen adapted from mihirgupta0900/tv-home (MIT, android/launcher/LICENSE-tv-home). Package ratings from UAD-ng.

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryPython
Gathin23/cleanyourtv

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

62.6k
Dec 1, 2026
RepositoryJava
mclhm8182/tvhome-zh

Apple TV-style launcher for Android TV — ready-to-install APK, no build needed. Apple TV 风格的 Android TV 桌面 —— 装完即用,无需编译。Based on Gathin23/tv-vibehack (CleanYourTV).

346
Oct 27, 2026
RepositoryKotlin
udhaykumarbala/cleanyourtv-app

A community-built phone app for Clean Your TV: clean up an Android TV from your phone. No laptop, no coding agent, nothing uninstalled.

2.6k
Nov 3, 2026
RepositoryJava
simbasjungles/free-my-tv

A fast, ad-free home screen for Google TV, LG webOS and Samsung Tizen. One button to undo.

6.9k
Nov 13, 2026
RepositoryJava
humblemuzzu/dumbtv

Take the ads, tracking and clutter out of your Fire TV over ADB, no root. Every step can be undone. Comes with its own open-source home screen.

2.3k
Nov 25, 2026
RepositoryJava
BeatsAD/quiet-tv

面向国内电视机的适配与应用升级改造:轻量 Android 电视桌面、应用配置、可恢复精简与机型验证。基于 Gathin23/cleanyourtv。

312
Nov 29, 2026
RepositoryKotlin
theothernt/AerialViews

A screensaver for Android TV devices including Google TV, Nvidia Shield, and Fire TV. Inspired by Apple TV's video screensaver.

1.2k
Dec 1, 2026
RepositoryKotlin
wingedpanther/cleanmytv

Remove ads and bloat from Android TV and Google TV. Free Mac, Windows and Linux app with an ad-free launcher you can set up from your computer or the TV.

831
Nov 27, 2026
RepositoryJavaScript
affaan-m/ECC

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

315.1k
Dec 1, 2026