|Brandon Anzaldi 19b83e69a5 Update README||2 years ago|
|.gitignore||2 years ago|
|Gopkg.lock||2 years ago|
|Gopkg.toml||2 years ago|
|README.md||2 years ago|
|config.sample.json||2 years ago|
|main.go||2 years ago|
Kogara (小柄) is the result of extensive Google Translating variations of the word “short” into different languages, because that’s how I like to name my projects. Plus, Kogara sounds pretty damn cool.
This is a hobby project designed to increase my own familiarity with Go, Redis, and Gin. I’m striving to have it become a stable, full-fledged project, but keep that in mind if you decide to use it.
/ is a simple homepage to shorten links.
/+/:id displays a simple counter of the times the link has loaded from the server. (It uses a 301 redirect, so browsers will typically aggressively cache the result)
/r/:id is the redirect itself.
/check/:id will return a JSON blob revealing the existence of a particular ID. Mainly implemented so if I decide to add custom URLs.