Skip to content

wawandco/corty.co

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Corty.co

Corty.co is a tiny and Open Source URL shortener service written in Go.

App

Tools

Features

  • Shorten long URLs
  • Redirect shortened URLs to original URLs
  • Simple and clean codebase
  • Easy to set up and run
  • Uses SHA-256 hashing for URL shortening

Quickstart (local)

  1. Install deps: go mod download
  2. Create a database and run migrations: go tool db create && go tool db migrate
  3. Run the app: go tool dev --watch.extensions=.go,.css,.js
  4. Visit http://localhost:3000 and paste a URL you want to short.

Docker

  • Build: docker build -t cortyco .
  • Run: docker run --rm -p 3000:3000 cortyco

Observability

  • Beszel
  • Run: $ docker compose up -d
  • Open: http://localhost:8090

Dashboard

About

PoC on the use of Beszel for lightweight server monitoring and other emerging tools within Wawandco.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages