simple url shortener
Find a file
2022-01-27 13:07:07 +01:00
Dockerfile feat: Initial commit 2022-01-22 21:30:58 +01:00
go.mod feat: Initial commit 2022-01-22 21:30:58 +01:00
go.sum feat: Initial commit 2022-01-22 21:30:58 +01:00
index.html feat: Initial commit 2022-01-22 21:30:58 +01:00
main.go feat: Get actual client IP from X-Forwarded-For 2022-01-27 13:07:07 +01:00
README.md feat: Initial commit 2022-01-22 21:30:58 +01:00

shorten

simple url shortener

Setup

Environmental variables:

  • SHORTEN_HOST - hostname
  • POSTGRES_URI - lib/pq connection string (see here)