2022-01-22 20:30:58 +00:00
|
|
|
# shorten
|
|
|
|
|
|
|
|
> simple url shortener
|
|
|
|
|
|
|
|
### Setup
|
|
|
|
|
|
|
|
Environmental variables:
|
|
|
|
- `SHORTEN_HOST` - hostname
|
2023-04-10 23:56:21 +00:00
|
|
|
- `SHORTEN_BIND` - bind address (default: `127.0.0.1:4488`)
|
2023-12-21 21:39:26 +00:00
|
|
|
- `SHORTEN_MAIL` - optional email for support/abuse reports
|
|
|
|
- `POSTGRES_URI` - lib/pq connection string (see [here](https://pkg.go.dev/github.com/lib/pq#section-documentation))
|