Gohort

A simple URL shortener written in Go programming language.
Alternatives To Gohort
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Golang Url Shortener237
2 years agoApril 21, 202214mitGo
URL Shortener written in Golang using Bolt DB or Redis. Provides features such as Deletion, Expiration, OAuth and is of course Dockerizable.
Myurls194
a month ago6mitGo
Your Own URL Shortener
Urlsh127
2 months ago14May 04, 2021mitGo
Golang URL shortener and bookmarker service with UI, API, Cache, Hits Counter and forwarder using postgres and redis in backend, bulma in frontend
Delta88
2 years agomitJavaScript
A file uploader + URL shortner written in node for your private cloud
Kurz.go75
5 years agoApril 06, 20121mitHTML
a url shortener made using go and redis
Goshorty74
9 years agoMay 30, 20211Go
A URL shortener in Go with Redis as the backend
Katana70
6 years agomitRuby
ready to go heroku hosted URL shortener based on guillotine
Reducio69
7 months ago83unlicenseScala
❱ 🐇 URL shortener service is written in Scala using Akka-Http and Redis ❰
Beebee56
4 months ago2mitElixir
URL shortener for http://s76.co
Gohort34
8 years agoMay 22, 2021bsd-3-clauseGo
A simple URL shortener written in Go programming language.
Alternatives To Gohort
Select To Compare


Alternative Project Comparisons
Readme

Gohort

Gohort is a simple URL shortener written in Go.

Its design is based out the Stack Overflow question about writing a URL shortner. It uses gorilla/mux for routing requests.

It provides a RESTful API to create and retrive short URL and their corresponding expanded forms.

Running Gohort

Gohort requires a working Redis installation.

Once you have a working Redis installation, go get the project from Github.

go get github.com/aishraj/gohort

Now change into the project directory and run go build

Next run the executable connecting to a local Redis installation:

./gohort -cpus=1 -rhost="localhost" -rport=6379 -sport=8090 -timeout=10

Example

In order to create a new short URL:

curl -X POST http://localhost:8080/api/v1/?base=www.google.com

In order to retrive the original URL from the shortend URL:

curl http://localhost:8080/api/v1/?alias=8CQ

Popular Url Shortener Projects
Popular Redis Projects
Popular Applications Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Go
Redis
Url Shortener