breve: a url shortener

[ gpl, program, web ] [ Propose Tags ]

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


[Skip to Readme]
Versions [faq] 0.0.1.0, 0.0.2.0, 0.0.2.1, 0.0.2.2, 0.0.3.0, 0.0.4.0, 0.1.0.0, 0.1.1.0, 0.2.0.0, 0.3.0.0, 0.4.0.0, 0.4.1.0, 0.4.2.0, 0.4.3.0, 0.4.3.1, 0.4.4.0, 0.4.5.0, 0.4.5.1
Dependencies aeson, base (>=4.8 && <5.0), binary, bytestring, configurator, cryptohash, directory, hashtables, mtl, random, simple, transformers, wai, wai-extra, warp, xdg-basedir [details]
License MIT
Copyright (C) Michele Guerini Rocco 2015
Author Rnhmjoj
Maintainer micheleguerinirocco@me.com
Category Web
Home page https://github.com/rnhmjoj/breve
Source repo head: git clone https://github.com/rnhmjoj/breve
Uploaded by rnhmjoj at Mon Apr 20 20:30:43 UTC 2015
Distributions NixOS:0.4.5.1
Executables breve
Downloads 6738 total (288 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
Last success reported on 2016-12-10 [all 8 reports]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for breve-0.1.0.0

[back to package description]

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