No description
  • Go 61.3%
  • Go Template 15.4%
  • CSS 11.2%
  • JavaScript 9.9%
  • Dockerfile 2.2%
Find a file
Jonas Leder ca726db1ec
All checks were successful
CI / docker (push) Successful in 0s
CI / helm (push) Successful in 0s
CI / build (push) Successful in 1m18s
Port CI to Forgejo Actions
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-18 10:12:23 +01:00
.forgejo/workflows Port CI to Forgejo Actions 2026-11-18 10:12:23 +01:00
backend add security headeradd security headerss 2026-11-12 17:29:44 +01:00
helm Update Helm release mariadb to v28.1.6 2026-11-04 23:20:09 +00:00
.dockerignore add docker image and ci pipeline 2023-09-12 13:39:06 +02:00
.gitignore add roadrunner as dev dependency 2025-12-07 16:03:19 +01:00
Dockerfile Update jonasled.dev/infra/images/scratch-rootless:latest Docker digest to 9e291c8 2026-11-07 23:51:47 +00:00
Readme.md replace all symfony code with go backend 2026-02-22 15:08:53 +01:00
renovate.json Migrate config renovate.json 2024-12-07 02:17:22 +01:00

URL Shorter

This is a URL shortener with a Go webserver and API.

Run Locally

cd backend
go mod tidy
go run .

Endpoints

  • GET / web form frontend
  • POST / create short URL from form
  • GET /{short} redirect to long URL
  • GET /qr/{signedURL} QR code for a signed short URL payload
  • POST /api/v1/url/new JSON API for creating short URLs
  • GET /api/docs/index.html Swagger UI