a url shortener
 
 
 
Go to file
rnhmjoj d26f21aebb New version 0.2.0 2015-04-25 14:43:01 +02:00
src Add a new JSON interface 2015-04-25 14:36:28 +02:00
static Correct wrong names 2015-04-25 14:36:01 +02:00
views Add a new JSON interface 2015-04-25 14:36:28 +02:00
.gitignore Initial commit 2015-04-08 12:47:56 +02:00
LICENSE Update cabal file and add license 2015-04-08 21:38:38 +02:00
README.md Update new config style 2015-04-20 22:24:34 +02:00
Setup.hs Make the package compatible with cabal-install 2015-04-09 17:11:32 +02:00
breve.cabal New version 0.2.0 2015-04-25 14:43:01 +02:00

README.md

Breve

a url shortener

Breve is a web application that provides a simple interface to shortening long urls creating links smaller and easier to remember.

It creates links in the form of "/emeaoinqua": easier to remember than alphanumeric strings like "/1Cqw8lHw" used by several services.

It was inspired by hastebin.

Installing

Install the app with cabal-install. Run

$ cabal install breve

and start it with

$ breve

The app will start serving on http://localhost:3000, listening on every active interface.

Configure

You can change the options by editing the config file. When you start the app an empty one will be created in: $XDG_CONFIG_HOME/breve or ~/.config/breve if unset.

The default values are:

hostname = "localhost"
port     = 3000
urltable = "$XDG_CONFIG_HOME/breve"

urltable is the location of breve url hashtable

License

Dual licensed under the MIT and GPL licenses:
http://www.opensource.org/licenses/mit-license.php
http://www.gnu.org/licenses/gpl.html