A Link Shortener
Go to file
Dan Jones 8bd5d14fb0 Atually uploading this somewhere :) 2022-05-10 19:39:48 +01:00
README.md Atually uploading this somewhere :) 2022-05-10 19:39:48 +01:00
shortlink Atually uploading this somewhere :) 2022-05-10 19:39:48 +01:00
slink-keys.fish Atually uploading this somewhere :) 2022-05-10 19:39:48 +01:00
slink.go Atually uploading this somewhere :) 2022-05-10 19:39:48 +01:00
slink.openrc Atually uploading this somewhere :) 2022-05-10 19:39:48 +01:00

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"}