Titan

The Titan protocol is a sister-protocol to Gemini. Where as Gemini is used to read pages in Gemini space, Titan is used to write pages in Gemini space.

It is expected that a resources that you can read using Gemini may be writeable using Titan.

A Titan URL uses the “titan” scheme instead of “gemini”.

A Titan URL uses extra parameters. Parameters are not query parameters! There is no question mark after the URL. Parameters are separated from the rest of the URL and each other using a semicolon and they come as key/value pairs.

「URI producing applications often use the reserved characters allowed in a segment to delimit scheme-specific or dereference-handler-specific subcomponents. For example, the semicolon (”;”) and equals (”=”) reserved characters are often used to delimit parameters and parameter values applicable to that segment.」 – RFC 3986

Titan uses three parameters:

For an implementation of this as two little Bash functions, see Gemini Titan. Using the two commands, you could read the page using “gemini communitywiki.org:1966/Test” and you could write the current date to the page using “date --iso-8601 | titan communitywiki.org:1966/raw/Test hello”.

Authentication

Note that the protocol only does authorization: you bear a token (the password) of authorization. People can pass it on and invite other people to join. The editing is anonymous.

A server that would like to identify its users, maybe give them different capabilities depending on who they are, would use client certificates to establish identity and act accordingly. That is, authentication is already part of Gemini and as such applies just as much to Titan. It doesn’t change any part of what has been said above, however.

Peculiarities of this wiki

This particular server has the peculiarity that only the “raw” pages can be edited. That is:

Example:

To read the Test page in Gemini format, use “gemini://communitywiki.org:1966/Test”.

To read the Test page in raw format, use “gemini://communitywiki.org:1966/raw/Test”

To write to the raw page, use “titan://communitywiki.org:1966/raw/Test;token=hello;mime=plain/text;size=10” followed by a payload of ten bytes.

Languages: