No description
- Go 61.4%
- TypeScript 31.3%
- Dockerfile 2.5%
- JavaScript 2.5%
- HTML 1.4%
- Other 0.8%
| monochrome | ||
| web | ||
| Dockerfile | ||
| go.mod | ||
| go.sum | ||
| Justfile | ||
| main.go | ||
| processDownload.go | ||
| readme.md | ||
music-downloader
usage
cli
MUSIC_DIR=./music LOG_LEVEL=info GOROUTINES_LIMIT=2 ./music-dl
docker compose
music-dl:
image: git.tsivinsky.com/tsivinsky/music-downloader:latest
container_name: music-dl
restart: unless-stopped
user: 1000:1000
environment:
- MUSIC_DIR=/music
- LOG_LEVEL=info # info | warn | error | debug
- GOROUTINES_LIMIT=2 # number of workers for downloading songs concurrently
ports:
- 5000:5000
volumes:
- ./media/Music:/music
search albums
GET /search?q=
download album
GET /download-album/{album_id}
monochrome api docs
Host - https://api.monochrome.tf
429 status if rate limited
{ "detail": "Upstream rate limited" }
search
/search?al= // for albums
/search?a= // for artists
track info
here is gonna be track manifest with download url (if it's not encrypted)
/track?id={track_id}
album info
/album?id={album_id}
credits
idea to use monochrome api and download files from it - https://gitlab.com/g33kphr33k/musicgrabber