URL shortener written in Go
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin/templates
src/tiny
.gitattributes
.gitignore
LICENSE
README.md
ss1.png
ss2.png

README.md

Golang URL Minifier v0.0.2

Check it out at https://r8r.org

A URL minifier written in Go.

  • Enter long URL
  • Receive small URL
  • Magic?

You can also:

  • Use the API to integrate your apps

First Screenshot

Second Screenshot

Tech

Golang URL Minifier relies on open source projects to work properly:

  • pq - A pure Go postgres driver for Go's database/sql package
  • Twitter Bootstrap - For quick UI creation
  • jQuery - Because Stackoverflow said I had to?

And of course Golang URL Minifier itself is open source with a public repository on GitHub.

Installation

Golang URL Minifier requires pq to run.

$ go get github.com/lib/pq

API Usage

Limited to 10 requests per hour per IP address

Example Request (via POST only):

curl --request POST 'https://r8r.org/generate/' --data "url=http://www.golang.org"

Example JSON Response:

{
	"url": "https://r8r.org/dvHhd"
	"error": ""
}

Todos

  • Admin dashboard
  • User accounts to remove throttle
  • Traffic analytics (Update: stats now exists, lots of work to do here!)
  • ???
  • Profit!

License

Unlicense. For more information, please refer to http://unlicense.org/

Free Software, Hell Yeah!