💾 Archived View for bobignou.red › posts › Gemini.gmi captured on 2023-06-14 at 13:50:51. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-03-01)

-=-=-=-=-=-=-

Gemini

Gemini protocol

Gemini[1] is a nice alternative to the web. It is lighter than the web and very simple to host so I decided to host a copy of this blog as a Gemini server.

1: https://gemini.circumlunar.space/

Making Gemini pages

Instead of HTML, Gemini clients and servers expect to handle pages written in Gemtext, a markup language made for the protocol.

Gemtext looks a lot like Markdown and is quite easy to write by hand. One of the biggest differences is that the links are not presented in the same way and can not be inlined in the text. This means that I can't reuse the markdown text I use to generate this blog.

Fortunately, a tool exists to easily convert markdown to Gemtext, md2gemini[2]. I use it to make the bulk of the conversion and then, I polish by hand the generated Gemtext file.

2: https://github.com/makeworld-the-better-one/md2gemini

Hosting a Gemini server

To host a Gemini page (also known as "capsule"), a lot of software has been written. Those programs are not as feature-full as Apache or Nginx for the web but they are enough to host a simple blog (or maybe the proper term would be gem-log?). I choose to use Agate[3] because it is very easy to use.

3: https://github.com/mbrubeck/agate

Accessing the Geminispace

Once your Gemini capsule is live, you need a browser to access it. I really like Amfora[4] because I feel like it is a very good balance between simplicity and good features.

4: https://github.com/makeworld-the-better-one/amfora

You can then use it to go read this blog on the Geminispace with the command:

amfora bobignou.red

Back to homepage