Simple URL shortener with very tiny URLs.
Deploy this app to Linode with a free $100 credit!
shorturl is a web app that allows you to create short urls of much longer more complex urls for easier sharing or embedding.
Due to the necessity of the way assets are handled if you are building/installing from source and intend to run outside of the source tree you need to do something like this:
```#!bash $ go get github.com/GeertJohan/go.rice/rice $ go get git.mills.io/prologic/shorturl $ cd $GOPATH/src/git.mills.io/prologic/shorturl $ rice embed-go $ go build
## Usage
Run shorturl:
```#!bash
$ shorturl
Then visit: http://localhost:8000/
By default shorturl stores urls in db
subdirectory of the local directory. This can
be configured with the -dbpath /path/to/db/
option.
shorturl also displays an absolute url after creating and uses the value of
-baseurl
(default: ""
) for display purposes. This is useful for copying
and pasting the shorturl.
Data is currently stored in a Bitcask key/value store configured via the -dbpath
option.
MIT
Please login to review this project.
No reviews for this project yet.
Comments (0)
Please login to join the discussion on this project.