💾 Archived View for gemini.onedimension.net › thought › one-dimension-on-gemini.gmi captured on 2023-05-24 at 17:46:44. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-01-29)
-=-=-=-=-=-=-
Today I created a Gemini portal[1] for this site[2]. Now, this page is available both over http and gemini: any page can be accessed in gemini at gemini://gemini.onedimension.net/thought/{id}.gmi.
Not everything is working yet, but it's a good first start to play around with the space.
The first step was converting all of the markdown files that make up this site to .gmi files. For this, I used the python package md2gemini[3].
The text/gemini media type is a bit more restrictive[4] than markdown as the only supported styles are codeblocks, quotes, and lists. Links have their own block-level styling; there are no inline links as you find in html and markdown. As a result, during the conversion from markdown to gemini you must decide how to handle the inline links, which is certainly an unusual consideration.
Once the files are built, I use rsync to move the generated files to my server.
I'm using jetforce[5] to serve the portal. I installed it on my server and had it up and running complete with a TLS cert in about 20 minutes. Really nice project to play around with.
Last updated Sat Dec 04 2021 in Berkeley, CA
1: /thought/gemini-protocol.gmi
3: https://github.com/makeworld-the-better-one/md2gemini
4: /thought/https://gemini.circumlunar.space/docs/specification.gmi
5: https://github.com/michael-lazar/jetforce