💾 Archived View for thegonz.net › titan-upload captured on 2024-08-31 at 13:29:56. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
A simple shell script implementing the client side of the Titan protocol. Should work on any POSIX system with `mktemp`, `openssl`, and `file`.
git clone git://thegonz.net/titan-upload/
Usage: titan-upload.sh [-c CERT_FILE] [-k KEY_FILE] [-t TOKEN] [-m MIMETYPE] URI [FILE] Upload FILE to titan uri URI. If FILE is omitted, create file in $EDITOR then upload. If FILE is -, it will be read from standard input. If -m is not used, the mimetype will be: