The music server written in Golang
TODO:
- Add support for account creds in youtube-dl to download from website that require an account to watch (e.g. niconico)
- Youtube link parsing
- R9K Mode (Video can only be played once, all videos must be unique)
-
When returning a HTML page, the handlers in the
musicserver
package will use thetemplatecache
package. This uses templates found in thetemplates/
directory. It makes use of thehtml/template
package. Full UTF-8 is supported so you can use emoji and stuff for user aliases! -
The
musicserver
package serves the contents of thestatic/
directory directly. -
Uses the same ZURB Foundation CSS found on the UWCS Website for a more unified look.
-
Comes with a self-updating youtube-dl ELF binary, feel free to not use it if you don't want to, just edit the config.
- Install golang
cd
into top level directory- Run
go build
- Copy
sample.config.json
toconfig.json
and edit appropriately - Run program:
./penguin
- Use only Golang standard library, compile and run anywhere
- Be fully usable on desktop, even with JavaScript disabled
- Interface designed for mobile device use
- MIT License