Home > node-mpc

node-mpc

Node-mpc is a project mainly written in JavaScript, it's free.

simple mpd web client based on node.js and websockets (just a fun project)

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:

And I made a small video, too. See it on vimeo.

ToDo

  • Code Cleanup!
  • Configurable. Not everyone has mpd running on localhost:6600 and most of them are even secured by password.
  • ...
  • See 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
  • http://locahost:8888/
  • Now use the client.
Previous:gameon-web