Haste-server is an open-source pastebin software written in node.js. You could is an example of haste-server and what id does at hastebin.com
Deploy of haste-server is done by this simple command:
juju deploy haste-server
You can then browse to http://ip-address:7777 to see the service running. Port could be changed in configuration.
Author: David Zachar firstname.lastname@example.org
Report bugs at: http://bugs.launchpad.net/charms/+source/haste-server