/upspin-music

A music player for Upspin

Primary LanguageGo

A music player for Upspin

It recursively browse an upspin folder, searching for audio files and covers, and serve them as a webpage with a HTML5/Javascript music player.

Run it with:

$ go run main.go -config /path/to/your/upspin/config

And open your browser at http://localhost:8080/listen/a-user@mail.com/path/to/a/folder

Screenshot

Additional configuration:

Listen to another port:
$ PORT=1234 go run main.go -config /path/to/your/upspin/config

Set baseURL:
$ go run main.go -config /path/to/your/upspin/config -baseURL https://myserver.com/music

It uses Aplayer music player and Gin Web Framework.