Popularity
2.3
Stable
Activity
3.9
-
79
2
19

Programming language: Go
License: GNU General Public License v3.0 or later
Tags: URL Shorteners    
Latest version: v0.1.0

shorturl alternatives and similar software solutions

Based on the "URL Shorteners" category.
Alternatively, view shorturl alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of shorturl or a related project?

Add another 'URL Shorteners' Software solution

README

shorturl - A self-hosted URL shortener web app and service

Build Status CodeCov Go Report Card GoDoc Sourcegraph

shorturl is a web app that allows you to create short urls of much longer more complex urls for easier sharing or embedding.

Installation

Source

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:

$ go get github.com/GeertJohan/go.rice/rice
$ go get github.com/prologic/shorturl
$ cd $GOPATH/src/github.com/prologic/shorturl
$ rice embed-go
$ go build

Usage

Run shorturl:

$ shorturl

Then visit: http://localhost:8000/

Configuration

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 Storage

Data is currently stored in a Bitcask key/value store configured via the -dbpath option.

License

MIT


*Note that all licence references and agreements mentioned in the shorturl README section above are relevant to that project's source code only.