A simple but powerful selfhosted link shortener service written for Deno
Start the docker image
$ docker run -p 1336:1336 -d hexf/linkdAdd a url
$ curl --request PUT --data "link=https://github.com/hexf&short=github" http://localhost:1336/linkUse the link
$ curl -L http://localhost:1336/githubSee the clicks
$ curl http://localhost:1336/link?short=github | jqThe following persistent data storage options are available, by setting the ENV flags as displayed
LINKD_STORAGEPROVIDER=MEMORYLINKD_STORAGEPROVIDER=REDIS
LINKD_REDIS_HOSTNAME=localhost
LINKD_REDIS_PORT=6379Set the Base URL
LINKD_URL=https://go.hexf.me/- Redis Data Storage
- PostgreSQL Data Storage
- Frontend UI
- Kubernetes Manifest
- Docker Compose Examples