尚未收集仓库信息。
尚未检测到更新。GitHub 发布版本后会显示在这里。
Ad-free TV remote for Android TV / Google TV (Xiaomi, Sony, TCL, Chromecast…) with real phone-keyboard typing
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗A TV remote for your phone. No ads, no account, no tracking.
Download: https://sofa.outsmartis.dev
It speaks the Android TV Remote protocol v2, the one Google's own TV remote uses, over your local network only:
_androidtvremote2._tcp.tv/Pairing.kt.remote_key_inject), app links, power / volume / current app state, pings. See tv/RemoteSession.kt.remote_ime_key_inject (app info + field status). remote_ime_batch_edit inserts at the cursor, it never replaces, and must carry the IME counter from the app info and the field counter from the latest field status (the TV bumps it after every edit and echoes the new text in remote_ime_show_request). So each phone edit becomes Backspaces for the changed tail plus one insert, sent one at a time and confirmed by the echo. See tv/Typist.kt.The protobuf messages are hand-encoded (tv/Proto.kt) and the client certificate is built with a tiny DER encoder (tv/Identity.kt), so the protocol code has no dependencies and runs in plain JVM tests.
./gradlew testDebugUnitTest assembleDebug
Release: ./release.sh X.Y.Z builds and signs the APK, tags, and attaches it to a GitHub Release. The signing key never leaves the build machine; CI only runs the tests.
LiveTvDriver (a skipped-by-default test) drives a real TV or the Google TV emulator from the JVM: set SOFA_TV_DIR and append commands to $SOFA_TV_DIR/cmd.txt. On the emulator, the remote port refuses connections from its own loopback, so use adb emu redir add tcp:26466:6466 (and 26467:6467) instead of adb forward.
Protocol knowledge from tronikos/androidtvremote2, louis49/androidtv-remote and Google's pairing protocol. Not affiliated with Google or Xiaomi.
MIT licensed.