Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Golang Url Shortener | 237 | 3 years ago | April 21, 2022 | 14 | mit | Go | ||||
URL Shortener written in Golang using Bolt DB or Redis. Provides features such as Deletion, Expiration, OAuth and is of course Dockerizable. | ||||||||||
Myurls | 194 | 5 months ago | 6 | mit | Go | |||||
Your Own URL Shortener | ||||||||||
Urlsh | 127 | 6 months ago | 14 | May 04, 2021 | mit | Go | ||||
Golang URL shortener and bookmarker service with UI, API, Cache, Hits Counter and forwarder using postgres and redis in backend, bulma in frontend | ||||||||||
Delta | 88 | 2 years ago | mit | JavaScript | ||||||
A file uploader + URL shortner written in node for your private cloud | ||||||||||
Kurz.go | 75 | 6 years ago | April 06, 2012 | 1 | mit | HTML | ||||
a url shortener made using go and redis | ||||||||||
Goshorty | 74 | 10 years ago | May 30, 2021 | 1 | Go | |||||
A URL shortener in Go with Redis as the backend | ||||||||||
Katana | 70 | 7 years ago | mit | Ruby | ||||||
ready to go heroku hosted URL shortener based on guillotine | ||||||||||
Reducio | 68 | 2 months ago | 84 | unlicense | Scala | |||||
❱ 🐇 URL shortener service is written in Scala using Akka-Http and Redis ❰ | ||||||||||
Beebee | 56 | 8 months ago | 2 | mit | Elixir | |||||
URL shortener for http://s76.co | ||||||||||
Gohort | 34 | 9 years ago | May 22, 2021 | bsd-3-clause | Go | |||||
A simple URL shortener written in Go programming language. |
URL shortener service
http://reduc.io/wuXaq
We could use following short code gen also:
substr(base62(md5(url)), 6) = 62 ^ 6 //unique short urls
Run docker-compose
, it will start api
, redis
and will expose api port to host.
docker-compose up
# Shorten
curl -i http://localhost:9001 -F "url=https://www.amazon.com/Star-Wars-Battlefront-II-Digital/dp/B072JZZ4XD"
# Call shortened url
for ((i=1;i<=100;i++)); do curl -i "http://localhost:9001/SEwuXHhBQw"; done
# Get Stats
curl -i "http://localhost:9001/stats/?url=https://www.amazon.com/Star-Wars-Battlefront-II-Digital/dp/B072JZZ4XD"
# returns: {"callCount":100}
sbt packageBin
sbt test
Simulation users count can be set in application.conf
in test resources.
# terminal 1
sbt run
# Run simulation in terminal 2
sbt gatling:test gatling:latestReport
sbt clean coverage test coverageReport
Redis
calls using Retry or similar onez i λ a s a l.