simple url shortener
Find a file
2023-04-11 01:57:50 +02: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
LICENSE.md docs: Add LICENSE.md 2022-04-07 15:56:44 +02:00
main.go feat: Introduce env for bind address 2023-04-11 01:57:50 +02:00
README.md feat: Introduce env for bind address 2023-04-11 01:57:50 +02:00

shorten

simple url shortener

Setup

Environmental variables:

  • SHORTEN_HOST - hostname
  • SHORTEN_BIND - bind address (default: 127.0.0.1:4488)
  • POSTGRES_URI - lib/pq connection string (see here)