A link shortener written in go.
A deployed version can be accessed over at https://lnkshrt.larssonoliver.com.
The latest version is available as larssonoliver/lnkshrt:latest
from DockerHub.
Variable | Description | Default |
---|---|---|
LNKSHRT_PORT |
Port to listen to for requests | 8080 |
LNKSHRT_IDSIZE |
Size of shortened URL ids in characters | 6 |
LNKSHRT_DBFILE |
Database file | data/lnkshrt.json |
LNKSHRT_PERSISTENT |
Store data in, and load data from, LNKSHRT_DBFILE |
undefined (false) |
LNKSHRT_ORIGINS |
Comma separated list of CORS origins to allow | undefined (none) |
LNKSHRT_INDEX_REDIRECT |
A URL to redirect to from the GET / route |
undefined (none) |
The latest version is available as larssonoliver/lnkshrt-gui:latest
from DockerHub.
Variable | Description | Default |
---|---|---|
API_URL |
REQUIRED: The base url of the api to use (excluding trailing /) | undefined (none) |