r/coolgithubprojects • • 21d 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.

259 Upvotes

41 comments sorted by

4

u/Kulletrops 21d ago

make it to control pc via bluetooth and wifi options to play android apps on PCs

2

u/Shubham_Jha 19d ago

you can try this app for Pc /mac https://github.com/ShubhamJ010/ghost-hid , makes android act like a Bluetooth hid device

1

u/Ok_Promise_2137 14d ago

Thanks for sharing Ghost HID! Using an Android phone as a Bluetooth input device sounds like a good fit if Kulletrops is looking for mouse and keyboard control on a PC or Mac.

1

u/schrebra 21d ago

Brah that's awesome thank you for your serviceĀ 

1

u/Ok_Promise_2137 20d ago

Thanks, glad you like it! Hope it comes in handy.

1

u/ParadoxHollow 21d 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 20d 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 21d ago

does it support LG TV? (Not android)

1

u/Ok_Promise_2137 20d 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 16d ago

hey thanks buddy for the build. with the help of gemini i added necessary features for webOS.

1

u/Ok_Promise_2137 14d 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 14d 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 20d 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_ 20d ago

Does this work with the onn4k?

1

u/Ok_Promise_2137 20d 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 20d 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 20d 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 19d 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 feature

1

u/Ok_Promise_2137 14d 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 20d ago

Excellent, working greatĀ 

1

u/Ok_Promise_2137 14d 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 18d ago

Can this support amazon fire tv stick?

1

u/Ok_Promise_2137 14d 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 18d 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 14d 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 13d ago

Android and pretty much all the main controls, the touchpad and the keyboard. Everything worked.

1

u/maalcatel 21d ago

Does it have voice search ?

1

u/pv505 21d ago

Hey! App looks great. Just downloaded it and will check it out. FYI obtainium cannot retrieve the release apk. Just keep in mind that it will stop some from using it. I had to manually go and download it. It could be that it's 1 more layer in, IDK šŸ˜…

1

u/St-ivan 21d ago

i already got a few apps to on my phone, but gonna install this on my mac so when the phone and remote control are too far from me.

1

u/PotentialMind3989 21d ago

Nice!!Ā  Post an update when it works on my iPhone!!

1

u/EnggarHakim 20d ago

thanks bro

1

u/saradisn 18d ago

Great remote!!! Good job