Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/badboy/node-mpc
simple mpd web client based on node.js and websockets (just a fun project)
https://github.com/badboy/node-mpc
Last synced: 9 days ago
JSON representation
simple mpd web client based on node.js and websockets (just a fun project)
- Host: GitHub
- URL: https://github.com/badboy/node-mpc
- Owner: badboy
- Created: 2010-10-20T18:35:15.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2010-11-07T21:34:03.000Z (about 14 years ago)
- Last Synced: 2024-12-24T02:01:30.752Z (12 days ago)
- Language: JavaScript
- Homepage: http://vimeo.com/16316326
- Size: 177 KB
- Stars: 4
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# node-mpc #
Simple [mpd][] client using [node.js][] as the server backend and other open-source projects.
Backend:
* [socket.io-node][] as the websocket server.
* [paperboy][] for static file delivery.Frontend:
* [require.js][] as file and module loader for the frontend.
* [less.js][] as CSS alternative.
* [socket.io][] for the websocket connection.Design is mostly inspired and taken from [streamie][]. Thanks to cramforce and the other designers.
I took over the \*.less files with just some small modifications, but I didn't remove unneeded things for now.
The client is fully working, but the code needs some cleanup.
## What does it look like?
Because not everyone got mpd and/or node installed and is willing to install it just for node-mpc, here is a screenshot of it's interface:
![node-mpc design](/badboy/node-mpc/raw/master/node-mpc-07-11-2010.png)
And I made a small video, too. [See it on vimeo](http://vimeo.com/16316326).
## ToDo ##
* Code Cleanup!
* Configurable. Not everyone has mpd running on localhost:6600 and most of them are even secured by password.
* ...
* See [TODO](http://github.com/badboy/node-mpc/blob/master/TODO)## Setup ##
* `npm install socket.io`
* `npm install paperboy`
* Make sure you're mpd is up and running (no auth support yet)
* `node mpd-connect.js PORT HOST`
*
* Now use the client.[mpd]: http://mpd.wikia.com/wiki/Music_Player_Daemon_Wiki
[node.js]: http://nodejs.org/
[require.js]: http://github.com/jrburke/requirejs
[less.js]: http://github.com/cloudhead/less.js
[paperboy]: http://github.com/felixge/node-paperboy
[socket.io]: http://github.com/LearnBoost/Socket.IO
[socket.io-node]: http://github.com/LearnBoost/Socket.IO-node
[streamie]: http://github.com/cramforce/streamie