Skip to content

batt0s/goshort

Repository files navigation

GoShort

License Go Version Actions GoReport
MIT License Go Version Tests
Build
Go Report Card

Yet another URL shortener made in Go.
A hobby project of me that I made for improving my coding skills.
GoShort on Render.

Tech Stack

Server:

  • Go (used net/http and chi)
  • PostgreSQL (production) and SQLite3 (dev and tests)

Client:

  • Pure JS
  • HTML5
  • CSS (TailwindCSS)

Features

  • URL Shortening
  • URL Shortening with a custom short URL
  • Getting original URL from a short URL

To-Do

  • Expire able Links
  • A good icon/logo
  • Extensions for browsers

API Reference

Shorten URL

  POST /api/v3/shorten
Parameter Type Description
url string Required. URL to shorten.
custom string Optional Custom short URL

Get Original URL

  POST /api/v3/getOrigin
Parameter Type Description
url string Required. Short URL.

Screenshots

App Screenshot