qnd.be

Just another simple url shortener to use with curl. Kinda like 0x0.st. Just less good with less features :)

usage

there is built in authentication, but that can be turned off for adding links

without auth:

curl -d https://example.com qnd.be

with auth:

curl -H "Authorization: Bearer <token>" \
-d https://example.com \
qnd.be

Deleting only works with auth:

curl -X DELETE \
-H "Authorization: Bearer <token>" \
-d <short> \
qnd.be

Get all shorts (needs auth):

curl -H "Authorization: Bearer <token>" \
qnd.be/shorts

That’s all it can do. Very simple GUIs can also by found at /add/, /delete/ and /getAll/ (second slash is important).

host

This isn’t really stable or tested. It was written in one night, it’s mostly untested and lacks features. If you still wanna use it:

stuff used

This is written in Go. That’s basically it. Uses mariadb/mysql to store stuff. If you want to use some other database, you have to write that code yourself (has to implement the Database interface).

abuse/contact

Please only link stuff compliant with german law. Thanks! If you want something removed for whatever reason, send me a mail. Responses might take a day.

rune@ruune.de