a simple url shortener for cloudflare workers
Find a file
2023-09-17 04:58:17 +10:00
src Initial 2023-09-17 04:52:02 +10:00
.gitignore Initial 2023-09-17 04:52:02 +10:00
package.json Initial 2023-09-17 04:52:02 +10:00
README.md added readme 2023-09-17 04:58:17 +10:00
test.py Initial 2023-09-17 04:52:02 +10:00
wrangler.toml Initial 2023-09-17 04:52:02 +10:00

linkie

A simple url shortener. Largely adapting VandyHacks/vhl.ink with the aim of providing a more ptpb-like experience (i.e the fewest keystrokes from a cli possible while still being reasonably secure for private use)

Deploying

wrangler deploy

Usage

curl -n -d u=http://example.com linkie/path will make http://linkie/path 302 redirect to the provided url. use .netrc to store the auth username/password (inspired by ix.io)

See test.py for more usage and test cases