slink/README.md

18 lines
437 B
Markdown
Raw Permalink Normal View History

2022-05-10 18:39:48 +00:00
# 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:
```json
{"url":"https://example.com/some/really/long/path"}
```