Skip to content

JunAkerBuilds/CodeBeats

Repository files navigation

VS Code CodeBeats

CodeBeats icon

A sleek, modern Spotify controller for Visual Studio Code. Control your music without leaving your editor.
Keep coding, keep vibing~

Report a Bug · Request feature

Visual Studio Marketplace Version Visual Studio Marketplace Installs Visual Studio Marketplace Downloads

screenshot

Table of Contents

Installation

Install this extension from the VS Code marketplace.

OR

With VS Code open, search for CodeBeats in the extension panel (Ctrl+Shift+X on Windows/Linux or Cmd(⌘)+Shift+X on MacOS) and click install.

OR

With VS Code open, launch VS Code Quick Open (Ctrl+P on Windows/Linux or Cmd(⌘)+P on MacOS), paste the following command, and press enter.

ext install aker.codebeats

Quick start with CodeBeats

CodeBeats uses Spotify's Web API to control playback. Spotify Premium is required for playback control (per Spotify's API rules).

Congrats on installing CodeBeats! Follow these steps to get set up:

1. Create Spotify Developer App

  1. Go to Spotify Developer Dashboard
  2. Log in and click "Create app"
  3. Fill in the form (in order):
    • App name: "CodeBeats" (or any name)
    • App description: "VS Code music controller"
    • Redirect URI: https://127.0.0.1:4567/callback ⚠️ Important!
    • Which API/SDKs: Select "Web API"
    • ℹ️ CodeBeats is a remote control (uses Web API), not a player (doesn't need Web Playback SDK)
  4. Accept terms and click "Save"
  5. Copy your Client ID

2. Configure Client ID

Option A - VS Code Settings (Recommended):

  1. Open Settings: Cmd+, (Mac) or Ctrl+, (Windows/Linux)
  2. Search for: spotify or codebeats
  3. Find "CodeBeats: Spotify Client Id"
  4. Paste your Client ID
  5. Done! ✅

3. Connect Spotify

  1. Click the music note icon (♪) in the Activity Bar
  2. Click "Connect Spotify"
  3. Browser security warning: Click "Advanced" → "Proceed" (this is safe)
  4. Authorize CodeBeats in your browser
  5. Start playing music!

Using CodeBeats

Playback Controls

  • Play/Pause - Main play button or click status bar
  • Skip - Previous/Next buttons
  • Shuffle - Click 🔀 to toggle
  • Repeat - Click 🔁 to cycle modes
  • Like - Click 💚 to save to Liked Songs

Volume Control

  • Drag slider - Adjust volume (0-100%)
  • Click speaker icon - Mute/unmute
  • Icon changes - Reflects volume level

Device Selection

  • Click "Select Playback Device"
  • Choose from available Spotify devices
  • Transfers playback instantly

Full view & Compact view

Two layouts are available — switch anytime:

screenshot

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Credits

About

vscode spotify player code with vibe ~

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors