Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
cmake/ | H | 13-Feb-2016 | - | 33 | 25 | |
contrib/ | H | 13-Feb-2016 | - | 199 | 125 | |
htdocs/ | H | 03-May-2022 | - | 6,271 | 6,246 | |
src/ | H | 03-May-2022 | - | 6,744 | 5,347 | |
tools/ | H | 13-Feb-2016 | - | 161 | 126 | |
.travis.yml | H A D | 13-Feb-2016 | 251 | 19 | 13 | |
LICENSE | H A D | 13-Feb-2016 | 17.6 KiB | 341 | 281 | |
README.md | H A D | 13-Feb-2016 | 1.5 KiB | 57 | 43 | |
ympd.1 | H A D | 13-Feb-2016 | 1.1 KiB | 37 | 32 |
README.md
1[![Build Status](https://travis-ci.org/notandy/ympd.svg)](https://travis-ci.org/notandy/ympd) 2ympd 3==== 4 5Standalone MPD Web GUI written in C, utilizing Websockets and Bootstrap/JS 6 7 8http://www.ympd.org 9 10![ScreenShot](http://www.ympd.org/assets/ympd_github.png) 11 12Dependencies 13------------ 14 - libmpdclient 2: http://www.musicpd.org/libs/libmpdclient/ 15 - cmake 2.6: http://cmake.org/ 16 17Unix Build Instructions 18----------------------- 19 201. install dependencies, cmake and libmpdclient are available from all major distributions. 212. create build directory ```cd /path/to/src; mkdir build; cd build``` 223. create makefile ```cmake .. -DCMAKE_INSTALL_PREFIX:PATH=/usr``` 234. build ```make``` 245. install ```sudo make install``` or just run with ```./ympd``` 25 26Run flags 27--------- 28``` 29Usage: ./ympd [OPTION]... 30 31 -h, --host <host> connect to mpd at host [localhost] 32 -p, --port <port> connect to mpd at port [6600] 33 -w, --webport [ip:]<port> listen interface/port for webserver [8080] 34 -u, --user <username> drop priviliges to user after socket bind 35 -V, --version get version 36 --help this help 37``` 38 39SSL Support 40----------- 41To run ympd with SSL support: 42 43- create a certificate (key and cert in the same file), example: 44``` 45# openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 1000 -nodes 46# cat key.pem cert.pem > ssl.pem 47``` 48- tell ympd to use a webport using SSL and where to find the certificate: 49``` 50# ./ympd -w "ssl://8081:/path/to/ssl.pem" 51``` 52 53Copyright 54--------- 55 562013-2014 <andy@ndyk.de> 57