8bd5d14fb0 | ||
---|---|---|
README.md | ||
shortlink | ||
slink-keys.fish | ||
slink.go | ||
slink.openrc |
README.md
slink
A URL shortener
design
I made this abomination an "API" with the intention of people being able to integrate it into their own scripts and tools.
The slink-keys.fish
script populates a token in every users home directory that they can use to create shortened URLs.
shortlink
is a example script showing how to use the "API"
a request json looks like:
{"url":"https://example.com/some/really/long/path"}