A simple standalone tool that downloads music from your Chrome/Brave bookmarks and adds metadata from Spotify.
- Downloads music from YouTube URLs stored in browser's bookmarks
- Automatically adds metadata (title, artist, album, year) from Spotify
- Embeds album cover art into MP3 files
- Concurrent downloads for faster processing
- Cross-platform support (Windows, macOS, Linux)
- Download the latest
.exefile this repo - Run
music-downloader.exe configto set up your config - Run
music-downloader.exeto start downloading
git clone https://github.com/Crossoufire/music-downloader-go.git
cd music-downloader-go
go build -o music-downloader-go.exe- FFmpeg: Required for audio processing and metadata embedding
- Windows: Download from ffmpeg.org
- macOS:
brew install ffmpeg - Linux:
sudo apt install ffmpeg
To get metadata and album covers, you need Spotify API credentials:
- Go to Spotify Developer Dashboard
- Create a new app
- Copy your Client ID and Client Secret
- Create a folder in your browser bookmarks bar
- Add YouTube music URLs to this folder
- Name each bookmark like:
Artist - Song Titleor SongTitle - Artist
Run the command:
music-downloader.exe configThe app parses bookmark names using these settings:
The character(s) that separate artist and title in your bookmark names.
- Default:
-(space-dash-space) - Example:
Adele - HelloorHello - Adele
Which part of the split name is the title/artist (starting from 0). Examples:
| Bookmark Name | Separator | Title Pos | Artist Pos | Result |
|---|---|---|---|---|
| Adele - Hello | - |
1 | 0 | Title: "Hello", Artist: "Adele" |
| Hello - Adele | - |
0 | 1 | Title: "Hello", Artist: "Adele" |
| Adele_Hello_2015 | _ |
1 | 0 | Title: "Hello", Artist: "Adele" |
# Start downloading
music-downloader.exe
# Configure settings
music-downloader.exe config
# Update yt-dlp
music-downloader.exe update
# Show help
music-downloader.exe helpThese are the configuration options in config.json
| Setting | Description | Default |
|---|---|---|
| spotify_client_id | Spotify API Client ID | "" |
| spotify_client_secret | Spotify API Client Secret | "" |
| bookmark_path | Path to Chrome bookmarks file | Auto-detected |
| bookmark_position | Which bookmark folder to use (0-based) | 0 |
| music_directory | Where to save downloaded files | "./downloaded_music" |
| music_separator | Character(s) separating artist/title | " - " |
| title_position | Position of title in bookmark name | 1 |
| artist_position | Position of artist in bookmark name | 0 |
| max_concurrent | Number of simultaneous downloads | 3 |
| audio_quality | Audio quality for downloads | "192k" |
Made with ❤️ for music lovers who organize their playlists in their bookmarks (very niche)