TITAN(1)

πŸ“¦ version 2.1.1, in nixos 26.05, nixpkgs unstable

πŸ¦‹ TITAN(1) β€” the general commands manual, but make it cute πŸ¦‹

okay so bestie, this is titan, from the General Commands Manual, and it's literally the Titan client. she's slaying in section 1 and she's here to get your files uploaded πŸ’…


✨ NAME ✨

titan β€” Titan client. that's it, that's the whole vibe πŸŽ€

✨ SYNOPSIS ✨

titan [-C cert] [-K key] [-m mime] [-t token] url [file]

✨ DESCRIPTION ✨

so titan lets you upload data to a Titan server, no cap. if you don't hand her a file on the command line, she just reads from standard input like the flexible icon she is 🫢

the options are as follows, and yes we're going through every single one:

  • -C cert β€” specify the TLS client certificate to use πŸ”
  • -K cert β€” specify the TLS client certificate key to use. defaults to -C if that one was provided. (yes, the flag arg is literally labeled cert up there, we don't make the rules 😭)
  • -m mime β€” specify the mime of the content being sent. unset by default 🌸
  • -t token β€” specify the token for the transaction. unset by default ⭐

and here's the iconic part: titan alters the passed url to include the parameter for the file size, plus the MIME and the token if -m or -t were given. so your url comes out looking a little different than it went in, iykyk πŸ’–

✨ EXIT STATUS ✨

the titan utility exits with one of these values, and each one is telling you a whole story:

  • 0 β€” the trasaction completed successfully and the response code was in the 2x or 3x range πŸ‘‘ (spelling straight from the manpage bestie, we don't edit, we respect πŸ’€)
  • 1 β€” an error occurred 😭
  • 2 β€” the response code was not in the 2x or 3x range. so like, it ran, but the server said no πŸ’€

✨ SEE ALSO ✨

ftp(1), gg(1) β€” go give the neighbors a lil visit πŸ¦‹

✨ STANDARDS ✨

titan implements the β€œTitan Specification” πŸ”₯

gemini://transjovian.org/titan/page/The%20Titan%20Specification

✨ AUTHORS ✨

the titan utility was written by Omar Polo <op@omarpolo.com> β€” thank you king πŸ«ΆπŸ‘‘

✨ CAVEATS ✨

real talk, bestie: titan doesn't perform TOFU (Trust On First Use) or any X.509 certificate validation beyond the name verification. so she's not doing a full vibe check on that cert, just the name part. keep that in mind πŸ™ˆ

and that's the whole page!!! πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈ

cute lil sign-off: this came from Debian, dated October 20, 2023 β€” and that's the TITAN(1) footer, babes. periodt πŸ’…

πŸ“¦ where this page comes from