How did I set up an onion (Tor) Gemini capsule

My onion (Tor) capsule is:

gemini://nreqeynb23uo5btcibmpgj3xzrb7rdoe3bojab56golipzysgbbiavid.onion/

In `/etc/tor/torrc`:

(You don't need to use 1965 in `127.0.0.1:1965`, just be sure that this port is the same as in the Gemini server configuration.)

Restart Tor. You will find the name of the capsule:

I used Molly-Brown as the server. Since the server must listen only to local addresses, it has to bind to `127.0.0.1` (or `::1`). Unfortunately, Molly-Brown does not offer a way to bind only to these addresses. I had to patch it:

Once it is done, `go build`to recompile, `go install`.

Don't forget to put the onion name in Molly-Brown configuration file:

Then just run Molly-Brown.

Molly-Brown site

Here is a test with the command-line client Agunua and the Tor wrapper torify:

A more detailed article on setting up onion capsules