New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@brika/plugin-spotify

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@brika/plugin-spotify

Spotify Connect player for BRIKA dashboards

latest
Source
npmnpm
Version
0.3.0
Version published
Maintainers
1
Created
Source

Spotify Connect

Spotify playback controller for BRIKA dashboards. Displays now-playing info, album art, and provides full transport controls via the Spotify Web API.

Setup

  • Create an app at developer.spotify.com
  • Add http://127.0.0.1:3001/api/oauth/spotify/callback as a Redirect URI in your Spotify app settings
  • In BRIKA, go to the plugin preferences and paste your Client ID
  • Click the Connect link to authorize

Uses PKCE — no client secret needed.

Brick: Spotify Player

Responsive player that adapts to the grid size:

SizeLayout
1-2 colsAlbum art with play/pause overlay
3-4 colsAlbum art background with floating control panel
5+ colsSplit layout — album art left, full controls right

Height unlocks additional features:

  • h >= 3 (medium layout): seek slider
  • h >= 4: volume slider
  • h >= 5 (large layout): device name badge

Config

NameTypeDefaultDescription
refreshIntervalnumber3000Polling interval in ms (1000–30000)

Progress is interpolated locally between polls for smooth UI updates.

Spark: Track Changed

Emitted whenever the playing track changes.

Payload:

FieldTypeDescription
trackNamestringTrack title
artistNamestringArtist name(s), comma-separated
albumNamestringAlbum title
albumArtstring | nullAlbum art URL (640px)
timestampnumberUnix timestamp (ms)

Scopes

  • user-read-playback-state
  • user-modify-playback-state
  • user-read-currently-playing

Keywords

brika

FAQs

Package last updated on 21 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts