Catalog npm
PACKAGE EXPLORERView in registry

@0xaban/pi-dj

npm

Spotify now playing for Pi, with pastel themes and configurable layouts.

pi-package
Versions collected1
Direct dependencies3From release 0.1.0
Last observed20 Oct, 22:39 UTC

README

Current package documentation

dj

Spotify now playing for Pi, with pastel colors and live previews.

DJ demo Spotify while you work.

  • /dj: toggle
  • /dj layout: pick a layout, or use /dj minimal|medium|full
  • /dj theme: animated palettes, solid colors, custom hex
  • /dj placement above|below: move around the editor
  • /dj auth: connect Spotify
Full layout showing a paused Radiohead track and elapsed time
Full layout, paused.
Minimal layout showing only the track title below the editor
Minimal: title only.
Spotify artist, title, and elapsed time above the editor
Above the editor.

Install

pi install npm:@0xaban/pi-dj

Install DJ individually or through the collection, not both. Run /reload.

Create a Spotify app with redirect URI http://127.0.0.1/callback (no port). Run /dj auth and enter its Client ID. No client secret needed; DJ requests read-only playback access.

Defaults: full layout, below the editor, pastel rainbow. Pickers preview live; enter saves, esc goes back. Custom colors accept #RGB or #RRGGBB: one for solid, two or more for animated.

DJ stores preferences and credentials in ~/.pi/agent/dj/ and imports legacy Agent DJ credentials once. Use /dj auth to reconnect, not the legacy installer.

For powerline → DJ → last prompt ordering, apply the optional powerline patch. Reapply after powerline updates, then /reload.

Local development: clone this repo, run bun install --ignore-scripts, then pi install ./dj. Check with bun test ./dj and bun run typecheck.

Based on Agent DJ · Apache-2.0

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.0Registry latest7 Sept 20263

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
0xaban/pi-extensions

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:39 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:7a612969f1eeab583692d461c424d01739318466ecd215bf548e1000e3f9cc19