wiki/gemini.md

855 B

ttylde offers gemini hosting at gemini://ttylde.karx.xyz.

to connect, you'll need either a gemini client or a gemini web proxy.

ttylde has the bombadillo client installed, which can do gopher as well.

To create your own gemini capsule, accessible at gemini://ttylde.karx.xyz/~yourusername, simply create a public_gemini directory in your homedir:

mkdir public_gemini

and create an index.gmi file. a super simple example file using CGI is shown below:

#!/bin/sh
printf "20 text/gemini\r\n"
printf "hello, world!\n"

you MUST include the first two lines in order for your client to parse it properly. make sure the file is marked as executable:

chmod +x <file>