https://github.com/larssonoliver/lnkshrt
Link shortener
https://github.com/larssonoliver/lnkshrt
go golang gui linkshortener nextjs
Last synced: about 2 months ago
JSON representation
Link shortener
- Host: GitHub
- URL: https://github.com/larssonoliver/lnkshrt
- Owner: LarssonOliver
- Created: 2022-02-15T14:21:13.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-16T20:39:08.000Z (about 1 year ago)
- Last Synced: 2024-06-21T03:13:32.318Z (11 months ago)
- Topics: go, golang, gui, linkshortener, nextjs
- Language: Go
- Homepage: https://lnkshrt.larssonoliver.com
- Size: 857 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# lnkshrt
A link shortener written in go.
[](https://github.com/LarssonOliver/lnkshrt/actions/workflows/build.yaml)
## Deployed
A deployed version can be accessed over at https://lnkshrt.larssonoliver.com.## Container Image
The latest version is available as `larssonoliver/lnkshrt:latest` from DockerHub.## Environment Variables
| 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)` |# lnkshrt gui
## Container Image
The latest version is available as `larssonoliver/lnkshrt-gui:latest` from DockerHub.## Environment Variables
| Variable | Description | Default |
| - | - | - |
| `API_URL` | **REQUIRED:** The base url of the api to use (excluding trailing /) | `undefined (none)` |