r/opencodeCLI • u/Emergency_You_8284 • 14h ago
Built a Spotify player plugin for OpenCode CLI (album art, synced lyrics, and playback controls in the sidebar)
Hey everyone,
I got tired of alt-tabbing out of OpenCode just to skip a track or check lyrics, so I built opencode-spotify—a plugin that puts a compact Spotify player right inside the OpenCode sidebar.
If you have Spotify Desktop installed on Windows, you can try it out with a single command
npx opencode-spotifyWhat it does:
- Shows album artwork, track info, and live synced lyrics right in the sidebar
- Mouse-first playback controls (play/pause, prev/next, seek bar, volume) so it never steals keyboard focus while you're typing in OpenCode
- Uses Spicetify under the hood to talk to Spotify Desktop—the CLI handles setting up Spicetify (plus Marketplace by default, or pass
--no-marketplace), registering the plugin, updating, and cleanly uninstalling if you ever want to remove it
Quick heads-up:
- Windows + Spotify Desktop only right now (no macOS/Linux or Web Player support yet).
- First-time
npxrun takes a couple of minutes to pull dependencies, and then setup runs through automatically.
GitHub: click this
npm: click this
It's finally at a stable release (v0.6.1), so I'd love for people to try it out and tell me what breaks or what you'd want added next!
4
Upvotes


