Skip to content

A simple URL shortening server intended for use with ShareX

License

Notifications You must be signed in to change notification settings

3ventic/ShortUrl

Repository files navigation

ShortUrl

For easy use with ShareX

Installation

Docker

  • Create config.js using the sample
  • Mount /data folder when running 3ventic/ShortUrl:latest for data persistence

System

  • Clone repo
  • Copy config.sample.js to config.js
  • Edit config.js
  • npm install
  • node server

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 config.js",
    "target": "$input$"
  },
  "Headers": {},
  "ResponseType": "Text",
  "RegexList": [],
  "URL": "$json:short$",
  "ThumbnailURL": "",
  "DeletionURL": ""
}

About

A simple URL shortening server intended for use with ShareX

Topics

Resources

License

Stars

Watchers

Forks