Tiny-link is a Fast and private URL shortner with several different ways to shorten any URL. It is available as Firefox and Chrome Plugin.
For hosting your own tiny-link instance you only need docker installed. Here you find a short documentation how to install docker.
for having the shorted links, also after a restart available we mount the path where the links are saved to our local file system(with -v ).
docker run -d -p 8080:8080 -v /data/tiny-link:/var/lib/tiny-link/ 12abcloud/tiny-link
curl -X POST \
http://localhost:8080/create \
-d '{"longurl":"http://google.de","ttl":{"hours":"0","minutes":"1","seconds":"0"},"selfdestruct":false}'
http://localhost:8080/l/004
Environment variables can get set with the -e parameter, like docker run -e CHECK_PHISHING=true 12abcloud/tiny-link
| Variable | Description | Default |
|---|---|---|
| DEBUG | activate the debug logging | false |
| HTTP_CREATE_PATH | path for the create API | /create |
| CHECK_PHISHING | will check the shorted links on create and on opening for phishing | true |
| HTTP_SHORT_BASEPATH | basepath for the short link | /l |
| HTTP_SHORT_PROTO | protocol to add for the short link | http |
| PATH_TO_FILEMAP | path where the informations should get stored | /var/lib/tiny-link/tiny-link.map |
2. Open the Plug-in Settings
3. Enter your endpoint (e.g. http://sample.com/create) and hit Save
Content type
Image
Digest
Size
15.9 MB
Last updated
almost 6 years ago
docker pull 12abcloud/tiny-link