Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/3ventic/shorturl

A simple URL shortening server intended for use with ShareX
https://github.com/3ventic/shorturl

sharex-support url-shortener

Last synced: 3 months ago
JSON representation

A simple URL shortening server intended for use with ShareX

Awesome Lists containing this project

README

        

# ShortUrl
For easy use with [ShareX](https://getsharex.com/)

## 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": ""
}
```