r/coolgithubprojects • u/Ok_Promise_2137 • 28d ago
OpenTV-Remote - Free, open-source TV remote
A friend told me that every phone remote app he tried seemed to come with ads or payment prompts. I started making one for him, then got carried away making the controls customizable. I figured other people might want the same thing, so I opened the source.
OpenTV-Remote has native Android (Kotlin/Jetpack Compose) and iPhone (SwiftUI) apps. You can drag and resize buttons, choose presets and accent colors, save layouts for different TVs, and add app shortcuts where the TV supports them. No ads, subscriptions, paid unlocks, account requirement, or telemetry SDK. MIT licensed.
For anyone interested in the code: discovery/pairing and each TV protocol are separated from the UI, with explicit capabilities determining which controls are offered. Android TV keyboard sync uses transient IME sessions with readback/acknowledgments where available, plus a clearly labeled manual fallback.
This is a development release. Basic Android TV control has been used on a real MiTV; newer live keyboard behavior and other TV providers need broader hardware qualification. It is not universally compatible, Android TV Wi-Fi touchpad mode sends arrows rather than a mouse cursor, and casting is not included.
Android APKs are in Releases. The iPhone version currently requires a Mac and Xcode; it isn't on the App Store.
Disclosure: I'm the developer, and this was built with substantial AI assistance/vibe coding. The repository includes protocol notes, compatibility limits, and a record of what was actually tested.
Source: https://github.com/levhakobyan/OpenTV-Remote
Downloads and iPhone setup: https://levhakobyan.github.io/OpenTV-Remote/
The three screenshots show two Android layouts/colors and the iPhone app. Suggestions and bug reports are welcome.
1
1
1
u/ParadoxHollow 27d ago
I love this!
I actually did something similar but for Roku. I was looking for a way to use my laptop or desktop PC to manage my Roku devices, and found an existing solution, but without Docker support. So I forked it & vibecoded a little personal solution.
Here's a link if you, or anyone else is interested!
https://github.com/scopeddlol/dockerized-roku-remote
1
u/Ok_Promise_2137 27d ago
Nice! The āI just wanted this one thing to workā origin story sounds familiar š Thanks for sharing your projectābeing able to control the TV from a laptop sounds handy.
1
u/Icy_Dinner3323 27d ago
does it support LG TV? (Not android)
1
u/Ok_Promise_2137 27d ago
Thereās an LG webOS integration, but it hasnāt been verified on a physical LG TV yet, so I canāt promise compatibility. It currently supports the older local connection method; TVs requiring only the newer secure connection arenāt supported yet. What LG model and webOS version do you have?
1
u/Icy_Dinner3323 22d ago
hey thanks buddy for the build. with the help of gemini i added necessary features for webOS.
1
u/Ok_Promise_2137 21d ago
Thanks for trying it and making those changes! To answer your earlier question, the current LG integration asks you to approve the connection on the TV. It doesnāt support entering a pairing code. Did your changes get code-based pairing working on your TV, or were they for other webOS features? If you have a fork or a diff youāre happy to share, Iād love to see what worked and which LG model you tested.
1
u/Icy_Dinner3323 20d ago
yeah, now it connects with pairing code and everything works like app launch, pointer, inputs etc. actually i didn't do anything, gemini do it, i guess it added the sdk.
1
u/Icy_Dinner3323 27d ago
actually it's a older model, when i install any lgtv remote app from playstore (which have ads) and try to connect a code appear on the tv if i entered that remote is then connected.
Does this app works the same way??
1
u/maninder-j_ 27d ago
Does this work with the onn4k?
1
u/Ok_Promise_2137 27d ago
It may work through the Android/Google TV integration, but I havenāt tested an onn device yet. Which exact onn 4K model do you have? If you try it, Iād appreciate hearing whether discovery, pairing and the basic controls work on your setup.
1
u/herambskanda 27d ago
Bro try to add this feature.
I usually hate to search movies on TV especially with a phone I have to look what button Iām tapping instead my experience will be great if I can look up what I wanna watch on Netflix right in the remote app and click it and play. Itās not screen casting more like I wanna browse on my my phone and just watch on my TV. Navigation is a pain
1
u/Ok_Promise_2137 27d ago
That makes senseābrowse on the phone, then open the selected title on the TV. The app currently has app shortcuts, but no built-in movie browsing or search. Iāve added this to the feedback list; Iād need to check which services support reliable links to specific titles before promising it. Is Netflix your main use case, or would you want this for other services too?
1
u/herambskanda 25d ago
Not just Netflix I use prime, hotstar, Apple TV too, and other Indian OTTs too.
Before your app I used to use this very popular and similar app TVrem itās open source too check it out they have good feature set you can fork for your app. I wanted to add this feature on that long ago and gave up cuz of life. But from little research I did this is totally possible and there are many aggregator content engine which provides apis for this like watch mode api, tmdb etc⦠and to invoke the play call you need to integrate depeding on the specific smart tv os if you need my research doc or something let me know Iāll send it. Itās pretty old but should let you start off.
But check out TVrem their mouse pointer is really good should save a tonne of your time.
Thanks in advance if you add this feature1
u/Ok_Promise_2137 21d ago
Thanks for the details! If you still have your research notes, Iād love to see them, even if theyāre a bit old. Iām especially curious whether you found any links that open a specific title directly in a TV app. Thanks for the TVrem pointer tip too. Iāll take a look at how they handle it.
1
u/vishnu2676 26d ago
Excellent, working greatĀ
1
u/Ok_Promise_2137 21d ago
Thanks for giving it a try! Glad itās working well. What TV or streaming box are you using? Iām keeping track of which models people have tried.
1
u/EnergyDapper 24d ago
Can this support amazon fire tv stick?
1
u/Ok_Promise_2137 21d ago
Fire TV Stick isnāt supported over Wi-Fi in the current version. Which model or generation do you have? That would help me narrow down what to look into.
1
u/manusjude 24d ago
Just tried with my old LG UK6470PLC and everything works perfectly. As you said, all other remote apps were hammered with s ads, so this is great. Many thanks.
1
u/Ok_Promise_2137 21d ago
Thanks for testing it and sharing the exact model! Glad it worked on your LG UK6470PLC. Were you using the Android or iPhone app, and which controls did you try? Iād like to record what worked on your setup so other owners of that model know what to expect.
1
u/manusjude 20d ago
Android and pretty much all the main controls, the touchpad and the keyboard. Everything worked.
1
1
1
1



4
u/Kulletrops 28d ago
make it to control pc via bluetooth and wifi options to play android apps on PCs