We've all been there: a song comes on, you want to sing along, and you know about half the words. Lots of us have a screen in the kitchen that could just show them.
I have an Echo Show 8 and my music lives in Apple Music. It's been connected through the official Alexa skill for a long time and works great. But the Echo Show only shows synced lyrics when the music comes from Amazon Music. With Apple Music you get the song title and the cover art, and that's it.
I could switch services. I'm not going to. I built the lyrics screen myself instead, and it's open source. Here's why, and how.
Amazon Music is genuinely good here
Let me be fair first. On an Echo Show, Amazon Music's lyrics are excellent. You say the song, the lyrics scroll in sync, and there's zero setup. If you're starting from nothing, that's the answer and you can stop reading here.
But I'm not starting from nothing. My playlists, my Replay, my years of "favorite" taps are all in Apple Music. Moving everything for one feature on one device felt backwards.
So the question became: can I get lyrics on the Echo Show without changing anything about how I listen?
What I tried first
There was no official way, so I went looking for open source.
Home Assistant + Alexa Media Player. Alexa Media Player lets Home Assistant see what your Echo is playing: title, artist and, most importantly, the playback position in seconds. That position is what makes syncing possible at all.
SyncLyrics for the screen. SyncLyrics already does the hard part: you send it "this song, at this second" and it shows synced lyrics in a web page. One small Home Assistant automation every 5 seconds and it was working.
The Echo Show has a browser. "Alexa, open Silk", type the address, bookmark it. Lyrics on the kitchen screen while Apple Music plays.
It worked the same afternoon, which honestly surprised me. But everything ran in Docker on my MacBook. Laptop closed, no lyrics. And Silk refused the self-signed HTTPS certificate, so the page couldn't keep the screen awake either.
I didn't want to buy a mini PC just for this. So I asked myself what was actually needed.
Going serverless
It turns out the whole thing is just two questions: what is my Echo playing right now? and what are the lyrics for that song?
Echo Show browser ──every 3s──▶ AWS Lambda ──▶ Alexa API: title, artist, position
│
└──▶ lrclib.net: synced lyrics, scrolled in the browser
One Lambda, two jobs. The same function serves the lyrics page and a small /now endpoint that returns what the Echo is playing. Lambda function URLs come with a real HTTPS certificate, so Silk is happy and the screen stays on. No S3, no CloudFront, no API Gateway.
The Amazon login was the scary part. This is the big one. There's no official API for this, so it uses the same unofficial Alexa web API that Alexa Media Player uses. The trick is that signing in registers a "device" on your account and gives you a long-lived refresh token. With that token you can get a fresh session whenever you need one, so the Lambda never has to log in. I tested that first, before writing anything else, because if it didn't work the whole idea was dead.
No Home Assistant needed anymore. I wrote a small login.py: it prints an Amazon sign-in link, you log in on Amazon's real page (2FA included), paste back the address you land on, and it gives you the token. Your password never goes through the script.
Lyrics come straight from LRCLIB. LRCLIB is a free, open lyrics database with timestamps, and it allows requests straight from the browser. The Lambda doesn't touch lyrics at all. The page polls /now every 3 seconds and moves the position forward on its own between polls, so the highlight stays smooth.
It's standard library only. No dependencies, no layers, about 150 lines of Python. Deploying is one script:
python3 login.py amazon.com
AMAZON_REFRESH_TOKEN='...' ./deploy.sh
It prints a URL. Open it on the Echo Show, bookmark it, done.
It costs nothing (and I capped it anyway)
Polling every 3 seconds sounds like a lot, but a few hours of music a day is around 100k calls a month. Lambda's free tier is 1 million. Even with the page open 24/7, I'd still be under it.
The URL is public though, so I added two things. The Lambda is limited to one running copy at a time, so even if someone hammers it the worst case is about a dollar a month. And there's a $1 budget alert on the account. Paranoid? Maybe. But it was two commands.
Stealing the best ideas
None of this exists without the projects I tried first.
Alexa Media Player and alexapy figured out the Amazon login and the "now playing" endpoint. login.py follows alexapy's newer sign-in flow, and the code credits it.
SyncLyrics showed me the "push what's playing to a lyrics page" idea works. If you already run Home Assistant, honestly just use it. It has more lyrics sources and more features than mine.
LRCLIB is the reason any of this is free. If you use it, consider contributing lyrics.
So should you do this?
If you're already on Amazon Music, you don't need any of this. The built-in lyrics are better than what I built.
If you're on Apple Music or Spotify and run Home Assistant, go with Alexa Media Player + SyncLyrics. It's the more complete setup.
If you're on Apple Music or Spotify and don't want a server at home, this is for you. One login, one deploy, one bookmark.
For me, the deciding question was simple: do I change how I listen, or do I change the screen? Changing the screen took a weekend and costs nothing.
The code is here: github.com/vianel/alexa-echo-show-lyrics.
What's showing on your kitchen screen? I'd love to hear what you've hacked onto yours.
Top comments (0)