Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/3ventic/shorturl
- Owner: 3ventic
- License: mit
- Created: 2016-01-09T02:12:03.000Z (about 9 years ago)
- Default Branch: main
- Last Pushed: 2023-05-13T07:00:11.000Z (over 1 year ago)
- Last Synced: 2023-05-13T08:20:18.101Z (over 1 year ago)
- Topics: sharex-support, url-shortener
- Language: JavaScript
- Homepage:
- Size: 188 KB
- Stars: 7
- Watchers: 3
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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": ""
}
```