💾 Archived View for gemini.onedimension.net › thought › one-dimension-on-gemini.gmi captured on 2023-01-29 at 16:04:57. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-01-29)

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

One Dimension on Gemini

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.

Building it

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.

Serving it

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

Links

1: /thought/gemini-protocol.gmi

2: /thought/one-dimension.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

Backlinks

/thought/one-dimension-todo.gmi

/thought/one-dimension.gmi