rushlink/assets/templates/txt/index.txt.tmpl
Daan Sprenkels c82a71f7d0 Revert "Remove file storage possibility for now (awaits #12)"
This reverts commit 801ac8adbb9455dcd7b1e9092740ac90e0172254.
2019-11-10 19:08:05 +01:00

17 lines
463 B
Cheetah

#RU URL SHORTENER
=================
Based on https://0x0.st/, this site allows you to easily shorten URLs using
the command line.
## USAGE
# Upload a file
curl -F'file=@yourfile.png' {{.Request.Host}}
# Shorten a URL
curl -F'shorten=http://example.com/some/long/url' https://{{.Request.Host}}
# Shorten a URL with a token to delete it later
curl -F'shorten=http://example.com/some/long/url' -F'deleteToken=' https://{{.Request.Host}}