only compatible in kitty terminal Requirements
- kitty terminal
- bun
- pnpm
- SP_DC cookie from the Spotify web
Showcase.
input.mp4
Steps
- Clone the repo
git clone https://github.com/qeqqe/fastfetch-spotify-canvas.git ~/fastfetch-spotify-canvas- Install dependencies
cd ~/fastfetch-spotify-canvas
pnpm install
# or if you prefer bun:
bun install- Build
pnpm run build
# or if you prefer bun:
bun run build- Create your environment file
- Rename .env.example to .env
- Put your SP_DC cookie value into .env
- Add the alias to your shell config Put this in ~/.bashrc or ~/.zshrc:
alias fetchcanvas="$HOME/fastfetch-spotify-canvas/script.sh"Then reload your shell config:
source ~/.bashrc
# or
source ~/.zshrc- Run
fetchcanvasspecial thanks to https://github.com/bartleyg/my-spotify-canvas.git for reverse engineering the canvas api.