bixxter/adlib-lyrics
adlib-lyrics
osascript로 LRCLIB 데이터를 사용해 현재 재생 중인 Apple Music 또는 Spotify 트랙의 동기화 가사를 프롬프트 위에 보여 주고, 선택적으로 춤추는 마스코트도 표시하는 Claude Code 플러그인.
이 mod 소개
Claude Code 안에서 동기화된 가사를 보여 줍니다. Apple Music 또는 Spotify에서 재생 중인 곡이 단어 단위로 프롬프트 바로 위에 나타나고 작은 마스코트가 박자에 맞춰 춤춥니다. /plugin marketplace add bixxter/adlib-lyrics와 /plugin install adlib-lyrics@adlib-lyrics로 설치한 다음 /reload-plugins를 실행합니다. macOS와 mod가 있는 Claude Code(2.1.287에서 빌드 및 테스트)가 필요하며, 터미널이 Music 또는 Spotify를 제어하도록 macOS 권한을 허용해야 합니다. 설정(Lyrics stack/line/off, dancing mascot on/off)은 /config에서 지정합니다. osascript로 1초마다 재생을 확인하고 LRCLIB에서 가사를 가져오며 마스코트를 점자 점 스프라이트로 그립니다.
설치
먼저 작성자의 README에서 marketplace와 플러그인 이름을 확인하세요. 저장소 구조에 따라 명령어가 달라질 수 있습니다.
claude plugin marketplace add bixxter/adlib-lyrics claude plugin install adlib-lyrics
원문 / README
adlib-lyrics
Synced lyrics inside Claude Code. Whatever is playing in Apple Music or Spotify shows up right above your prompt, word by word, with a tiny mascot dancing on the beat.
⠀⡔⣪⣭⣭⣕⢢⠀ the build is green, the coffee's warm
⣸⣿⣏⣻⣏⣻⣿⡇ one more commit before the storm
⠈⠙⢿⠮⠵⡿⠓⠄ and the agent hums along
A free Claude Code mod from the maker of Adlib, the synced-lyrics overlay for Mac. The mascot is Adlib's: in the app it dances when a song has no lyrics, and here it dances all the time.
Install
In Claude Code:
/plugin marketplace add bixxter/adlib-lyrics
/plugin install adlib-lyrics@adlib-lyrics
/reload-plugins
Needs macOS and a Claude Code with mods (built and tested on 2.1.287). The first time a song plays, macOS asks whether your terminal may control Music or Spotify. Allow it, or nothing shows.
Settings
Two rows in /config (or /plugin configure adlib-lyrics@adlib-lyrics). A change applies at once.
| Setting | Choices |
| --- | --- |
| Lyrics | stack: the line before, the line being sung and the next one (default) · line: only the line being sung · off: no lyrics |
| Dancing mascot | on (default) / off. Terminal only: the desktop app's Code tab gets the lyrics alone. |
How it works
- Once a second it asks Music and Spotify what is playing, through
osascript(Apple Events). It never launches either app, and it checks every 3 s while nothing plays. - The lyrics come from LRCLIB, a free, community-synced lyrics database. The song's title and artist go to lrclib.net, and nothing else leaves your Mac.
- LRCLIB times lines, not words, so each word lights up at a pace spread by its length.
- The mascot is Adlib's 16×12 pixel sprite drawn in braille dots, 8×3 characters.
- The first time it finds lyrics it shows one note about Adlib. That happens once ever.
Develop
git clone https://github.com/bixxter/adlib-lyrics
claude --plugin-dir ./adlib-lyrics # loads it for that session, reloading on save
claude plugin test ./adlib-lyrics # the tests
claude plugin validate ./adlib-lyrics
Credits
- Made by bixxter, the maker of Adlib. Adlib puts the same word-by-word lyrics on your Mac's desktop, with a blur-focus look and the album art behind them.
- Lyrics by LRCLIB.
License
MIT for the code. The Adlib name and mascot artwork are not covered by it; see LICENSE.
