ESLI is web-url shortener is written on Erlang
Installation and using
Get it from github:
$ git clone https://github.com/2garryn/esli
Go to esli directory and make it:
Before using esli start your Riak node.
When Riak node is started you can start esli:
$ rel/esli/bin/esli start
$ rel/esli/bin/esli ping
To stop url-shortener:
$ rel/esli/bin/esli stop
By default esli server is listening 8081 port of http://localhost, i.e. to make short link you should open http://localhost:8081/ in your web-browser. On real server you can set other port and host in etc/app.config in esli directory. Anyway, look at this file :-). All data is written to sl bucket in Riak.
Also, you can look at esli/var/htdocs, there is html-pages, which user get.
Copyright (c) 2011 Artem Golovinsky firstname.lastname@example.org.
All rights reserved.
Redistribution and use in source and binary forms are permitted provided that the above copyright notice and this paragraph are duplicated in all such forms and that any documentation, advertising materials, and other materials related to such distribution and use acknowledge that the software was developed by the . The name of the University may not be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.