Stream your god damned mp3 (and flac?) music hassle free
Use -enableFlac
flag for flac support (not every browser supports flac file streaming).
Use -password yourpass
flag to protect the website with password.
Make sure your music is properly tagged, otherwise it will all be wonky.
Build needs Go with Go module support and node.js NPM
export GO111MODULE=on
git clone https://github.com/ugjka/music.git
cd music
go generate #requires NPM, see https://nodejs.org
go build
./music -path /path/to/mp3/collection -port 8080
Navigate in your browser to: http://127.0.0.1:8080/
Desktop view:
Mobile lockscreen:
Optional Password Protection:
When I get time and inspiration I'll try to work on the features listed in this link: https://github.com/ugjka/music/projects/1