Skip to content
/ linkd Public

A simple but powerful selfhosted link shortener service written for Deno

License

Notifications You must be signed in to change notification settings

HexF/linkd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Linkd

A simple but powerful selfhosted link shortener service written for Deno

How do I use it?

Start the docker image

$ docker run -p 1336:1336 -d hexf/linkd

Add a url

$ curl --request PUT --data "link=https://github.com/hexf&short=github" http://localhost:1336/link

Use the link

$ curl -L http://localhost:1336/github

See the clicks

$ curl http://localhost:1336/link?short=github | jq

Persistent Data Storage

The following persistent data storage options are available, by setting the ENV flags as displayed

Memory (Default)

LINKD_STORAGEPROVIDER=MEMORY

Redis

LINKD_STORAGEPROVIDER=REDIS
LINKD_REDIS_HOSTNAME=localhost
LINKD_REDIS_PORT=6379

Other Configuration

Set the Base URL

LINKD_URL=https://go.hexf.me/

Todo

  • Redis Data Storage
  • PostgreSQL Data Storage
  • Frontend UI
  • Kubernetes Manifest
  • Docker Compose Examples

About

A simple but powerful selfhosted link shortener service written for Deno

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published