💾 Archived View for benjaminja.info › log › 2023 › 02 › 10-capsule_plans captured on 2024-05-10 at 10:48:45. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2024-02-05)
-=-=-=-=-=-=-
2023-02-10
I have been getting fairly ambitious with ideas for my capsule. This is dangerous with me being in the middle of a heavy semester, so I am going to write down my plans and implement them later. Hopefully I don’t end up working on these projects to avoid my schoolwork (I am writing this very log to distract myself from a project I need to do 🙃).
At the moment, I am serving my capsule on the www under a proxy. This has been good, but I would like to have more control of how it looks. To do this, I want to serve my capsule natively on both gemini and https protocols.
I want the feel of the web version to be simple, but feel like it was meant for the web. Primarily so that I can have a navigation section and inline images.
If I were to do this, I might need to write most of my content in markdown so that I can convert it into http/gemtext without much fuss.
Seeing some of the implementations of gemini mentions has been really good. Notably Sean’s implementation where mentions to a post are placed at the bottom of the page under ‘Discussions about this entry’. I particularly like how it feels like I’m going through a big discussion thread without the need of looking through an aggregator.
Thoughts on an implementation of Gemini mentions (The post where I first saw mentions being used)
I want to have a feature like this myself, but I also don’t want to do any of it by hand. The idea would be to have a gemmention CGI script that adds mentioned pages to a database, then ask the site generator to rebuild the capsule (Any mentions would be placed in a footing after the article).
I’ve already written a CGI program that can upload mentions to a database, but I have yet to figure out how to insert mentions into posts. I would like to make the program portable so that anyone who would like to have similar functionality could do it themselves. The only problem is that the software I wrote is too complicated to publish without a lot of simplifications.
On most of my pages, I have added a little topics section at the top of the page. I want to have a section of my capsule where you can sort by similar topics.
I would have tags stored in the frontmatter and my site generator could generate pages for each topic. Also the title, date, and tags could be automatically inserted into the generated gemini files so I don’t have to repeat myself too much.
An example of the frontmatter might be like:
--- title: My Capsule Plans date: 2023-02-10T12:20:00-07:00 tags: - plans - capsule author: ttocsneb --- I have been getting fairly ambitious with ideas for my capsule...
I am currently using Kiln to build my capsule. It has been great so far, but there are a few features that confuse me. I think that most of my problems lie in the fact that I am not familier with the Go templating engine.
I know that I can use kiln to build an alternative http format, but I’m not sure whether it will be able to do what I want with gemmentions and topics. I think it should be possible using the templating engine, but I will need to do research to verify. If I end up not being able to do these things, then I might design my own site generator inspired by Kiln, maybe something with python and jinja2.