Skip to content
3venticPublic

About

A simple URL shortening server intended for use with ShareX

Topics

Resources

Stars

8 stars

Watchers

1 watching

Forks

Repository files navigation

ShortUrl

For easy use with ShareX

Installation

Docker

Available on docker hub as 3ventic/sharex-short-url. See docker-compose.example.yml for an example setup.

System

  • Clone repo
  • go build -o shorturl
  • env SECRET="super secret passphrase" DATA_PATH=/path/to/data BASE_URL=https://link.example.com PORT=8000 ./shorturl

ShareX example

Edit & import (in whatever order) to ShareX custom uploaders after installing.

{
  "Name": "LABEL FOR MENUS",
  "RequestType": "GET",
  "RequestURL": "https://link.example.com/new",
  "FileFormName": "",
  "Arguments": {
    "secret": "super secret passphrase from env",
    "target": "$input$"
  },
  "Headers": {},
  "ResponseType": "Text",
  "RegexList": [],
  "URL": "$json:short$",
  "ThumbnailURL": "",
  "DeletionURL": ""
}

Fish shell

See shorten.fish.

About

A simple URL shortening server intended for use with ShareX

Topics

Resources

Stars

8 stars

Watchers

1 watching

Forks

Used by

Contributors

Languages