⭐️ If you find this helpful, please star this repo — it helps others discover it!
YTM-Wrapper is a simple Electron-based macOS wrapper for YouTube Music, designed to allow background playback even when the window is closed. It supports media keys, system tray controls, and seamless playback without interruption.
- 🎵 Background playback (music continues when window is closed)
- 🎹 Media key support (Play/Pause, Next, Previous)
- 🖥 System tray with playback controls and app visibility toggle
- ⬅️ Custom back button and navigation support
- 🌙 macOS native look and feel with vibrancy and dark mode
Unlike the web version or its installable PWA (Progressive Web App), this app allows your music to continue playing even when the app window is closed. Playback stops only when you explicitly quit the app.
-
Clone the repository:
git clone https://github.com/vedant-sharmaa/ytm-wrapper.git cd ytm-wrapper -
Install dependencies:
-
Run the app (for development):
-
Build the app (creates a macOS app):
-
Once built, move the generated .app file (usually inside the YT Music Mac App-darwin-arm64 folder) to your Applications folder for easy access.
mv YT\ Music\ Mac\ App-darwin-arm64/YT\ Music\ Mac\ App.app /Applications/
Icon made by mayor-icons from www.flaticon.com
Pull requests are welcome! For major changes, please open an issue first to discuss what you’d like to change.
.png)

