[![Stars][stars-shield]][stars-url]
[![Version][version-shield]][version-url]
[![License][license-shield]][license-url]
[![Made for Claude Code][made-for-shield]][made-for-url]
[![Views][views-shield]][views-url]
Pixel Play
A pixel-art music player that docks beside your Claude Code conversation.
Explore the commands »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
-
About The Project
-
Getting Started
-
Usage
- Development
- Roadmap
- License
- Contact
- Acknowledgments
About The Project
Pixel Play keeps music one keystroke away while you work. It docks as a pane beside the conversation: you keep talking to Claude on the left while a pixel-art character dances to your playlist on the right.
- Lives inside Claude Code. A
/music command and a docked pane, no extra window or app.
- Streams instead of downloading. YouTube links play through mpv and yt-dlp without fetching the whole file first.
- Twelve animated skins, including animal memes. Each one is drawn with half-block characters (
▀), two pixels per terminal cell.
- Point and click. Click a track to play it, click the buttons, or use single-key hotkeys.
- Your playlist survives updates. It lives in
~/.claude/pixel-play/, outside the plugin folder.
It is a Claude Code mod: a plugin of function hooks. Playback goes through mpv, controlled over its IPC socket.
(back to top)
Built With
[![TypeScript][typescript-shield]][typescript-url]
[![Lua][lua-shield]][lua-url]
[![mpv][mpv-shield]][mpv-url]
[![yt-dlp][ytdlp-shield]][ytdlp-url]
(back to top)
Getting Started
Prerequisites
- Claude Code with mod (hooks module) support
- macOS. Other systems should work wherever mpv runs, but are untested.
- mpv and yt-dlp
brew install mpv yt-dlp
- A terminal with truecolor: iTerm2, Ghostty, kitty, WezTerm, ...
- For the side-by-side layout: Claude Code's fullscreen layout and a terminal at least 110 columns wide.
[!NOTE]
Claude Code decides where the pane goes, not the mod. Below 110 columns the pane opens above the prompt, and the player switches to a compact layout with a small sprite beside the controls. Docked, it asks for about 30% of the terminal's width (30 to 44 columns) and shrinks the sprite on short windows. Drag the dock's edge to override the width.
Installation
The repository is its own plugin marketplace.
- Add the marketplace and install the plugin:
claude plugin marketplace add chrisluo5311/Pixel-Play
claude plugin install pixel-player@pixel-play
- Restart Claude Code, or run
/reload-plugins. /music is now available in every session.
- Add some tracks and start playing:
/music add https://www.youtube.com/watch?v=...
/music play
To update later:
claude plugin marketplace update pixel-play && claude plugin update pixel-player@pixel-play
To try it without installing:
git clone https://github.com/chrisluo5311/Pixel-Play.git
claude --plugin-dir ./Pixel-Play
(back to top)
Usage
Commands