A Python home karaoke system that reads Android playback via ADB to sync lyrics, web queuing, and background videos on large screens.
PythonCreated
What is decadeheart/home-ktv?
Home KTV is a Python-based living-room karaoke system created with Codex that separates audio playback from big-screen lyric display. It solves the friction of mirroring a phone screen or capturing audio when singing at home with friends.
An Android phone plays accompaniment through NetEase Cloud Music to a Bluetooth speaker, while a computer polls the current song title and playback progress over wireless ADB debugging without capturing audio or casting the screen. A browser connected via HDMI to a TV or projector displays synced lyrics that adjust with arrow keys, alongside a web queue for searching, reordering, auto-advancing, or picking random songs from history. It also plays muted music videos or mood-matched scenic clips from Bilibili and YouTube.
People hosting casual home karaoke sessions who use an Android phone with NetEase Cloud Music and a laptop connected to a TV can run this system for collaborative web-based song queuing.
Before you startThe README says
Runs on
Android phone; computer on macOS, Windows or Linux with Python 3.9 or newer
Needs
Android phone with NetEase Cloud Music and Wireless debugging on; computer on the same Wi-Fi with ADB; Bluetooth karaoke speaker; TV or projector
Accounts or paid services
A Google OAuth client ID for friends' login on a hosted server; optional YouTube Data API v3 key. Local mode needs no login.
How you get it
Create a venv, pip install -r requirements.txt, run adb pair and adb connect, then python -m ktv_sync --adb with --open-browser.
Asks for
Android Wireless debugging must be on and paired with a pairing code from the phone.
Not yet
Android only, since iPhone has no ADB; lock screen, NetEase pop-ups or missing play permission can block song switching; lyric and MV web interfaces may change.
README language
Chinese
Facts from GitHub (updated Dec 1, 2026) and the project's README. License summaries are simplified: check the license file. RepoRanking reviews listings for relevance and spam, and doesn't test or vouch for code.
Lets a Xiaomi Xiaoai smart speaker play songs from your own NAS music library first, falling back to online services when needed, all from a Docker container with no speaker modification.
A custom home screen and phone remote for your TV: scenes with a clock, apps in your order, keep watching across apps and a remote that finds a show and starts it. Open source and free of home-screen ads.
Removes ads and bloat from Android TV and Google TV devices over Wi-Fi from your computer, and installs a clean home screen in the style of Apple TV. No root required.