A lightweight and customizable desktop application for YouTube Music, built using Electron. The application provides a seamless experience for controlling YouTube Music with system tray integration, media controls, and taskbar features.
- Minimize to Tray: The app minimizes to the system tray.
- Tray Menu:
- Show/Hide the app.
- Playback controls: Play/Pause, Next, and Previous track.
- Quit the application.
- Taskbar Thumbnail Toolbar:
- Play/Pause, Next, and Previous buttons directly accessible from the taskbar.
- Syncs with the current playback state and updates dynamically.
- Windows Media Overlay:
- Supports the native Windows Media Overlay with title, artist, and album information.
- Displays notifications when the track changes, including:
- Song title.
- Artist name.
- Album artwork.
- Automatically updates button icons and tray icons to match the system's current light or dark theme.
- Dynamically updates the app's controls and tooltips to reflect the current playback state (e.g., "Playing" or "Paused").
- Clone this repository:
git clone https://github.com/yourusername/youtube-music-mini-player.git cd youtube-music-mini-player - Install dependencies:
npm install
- Start the app in development mode:
npm start
To build the app for distribution:
- Install
electron-builder(if not already installed):npm install electron-builder --save-dev
- Build the app:
npm run build
- Find the distributable files in the
distdirectory.
- Run the App: Double-click the executable after building.
- Minimize to Tray: Press the minimize button on the window.
- Tray Menu:
- Show App: Reopens the main app window.
- Play/Pause, Next, Previous: Controls playback.
- Quit: Exits the app.
- Media Session API: Used to integrate with Windows Media Overlay.
- Electron's Thumbnail Toolbar: Adds taskbar media controls.
- Dynamic Theme Detection: Updates icons based on light/dark mode.
Contributions are welcome! Please:
- Fork the repository.
- Create a new branch:
git checkout -b feature-name
- Make your changes and commit them:
git commit -m "Description of changes" - Push to your branch:
git push origin feature-name
- Open a pull request.
- Add support for custom hotkeys.
- Implement additional playback features (e.g., shuffle, repeat).
- Electron for powering the app.
- YouTube Music for being the core platform.




