2015-04-08 23:53:34 +02:00
|
|
|
# Breve
|
|
|
|
### a url shortener
|
|
|
|
|
|
|
|
Breve is a web application that provides a simple interface to
|
2015-04-09 00:05:54 +02:00
|
|
|
shortening long urls creating links smaller and easier to remember.
|
2015-04-08 23:53:34 +02:00
|
|
|
|
2015-04-09 00:05:54 +02:00
|
|
|
It creates links in the form of "/emeaoinqua": easier to remember than
|
2015-04-08 23:53:34 +02:00
|
|
|
alphanumeric strings like "/1Cqw8lHw" used by several services.
|
|
|
|
|
2015-04-09 00:05:54 +02:00
|
|
|
It was inspired by [hastebin](http://hastebin.com).
|
|
|
|
|
2015-04-08 23:53:34 +02:00
|
|
|
## Running the app
|
2015-04-09 00:05:54 +02:00
|
|
|
|
2015-04-08 23:53:34 +02:00
|
|
|
git clone https://github.com/rnhmjoj/breve
|
|
|
|
cd breve
|
|
|
|
cabal install --only-dependencies
|
|
|
|
cabal run
|
|
|
|
|
|
|
|
This will start the app on `http://127.0.0.1:3000`
|
|
|
|
|
|
|
|
You can set the bind hostname/port via the `PORT` and `ADDRESS`
|
2015-04-09 00:05:54 +02:00
|
|
|
environment variables.
|
2015-04-08 23:53:34 +02:00
|
|
|
|
|
|
|
## License
|
|
|
|
|
|
|
|
Dual licensed under the MIT and GPL licenses:
|
|
|
|
http://www.opensource.org/licenses/mit-license.php
|
2015-04-09 00:05:54 +02:00
|
|
|
http://www.gnu.org/licenses/gpl.html
|