URLang is a project mainly written in Erlang, based on the MIT license.
An Erlang based URL Shortener
URLANG - An Erlang URL Shortener
================================
Author: Tim Bielawa [email protected]
Attempt at making an Erlang based URL shortening service.
So far I've only ran this on a server that already had a web server running. I got another short domain name to use for the future shortener and set up a simple reverse proxy in Apache like this:
<VirtualHost lnx.cx:80>
ServerName lnx.cx
ServerAdmin [email protected]
DirectoryIndex index.html index.php index.htm
DocumentRoot /var/www/lnx.cx
ProxyRequests off
ProxyPass / http://localhost:5678/
ProxyPassReverse / http://localhost:5678/
</VirtualHost>
Once the proxy is set up just go into the src directory and run
make
, then make run
.
This not complete. URLs are hard coded into the source code. There is no other way of adding new URLs at this time.
Integrate a Mnesia database to enable persistence.
Add ability to store new URLs