💾 Archived View for freeside.wntrmute.net › src › gemlog.gmi captured on 2023-04-19 at 22:43:30. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-11-30)

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

gemlog

I wrote gemlog to build out my own gemlog. I was using gloggery, which

is a useful gemlog generator. But it does things just a little

differently that I would, and I'm a programmer, so I wrote my own.

To get gemlog:

go get hg.sr.ht/~kisom/gemlog/cmd/gemlog

To start, you need a config file:

root = "/path/to/log/posts"
output = "/path/to/store/log/posts"
title = "my gemlog:

[link]
uri = "gemini://gemini.example.com/log/"

[site]
name = "example capsule"
uri = "gemini://gemini.example.com/"

Posts are written with a two-line header:

title: Hello, world
date: 2020-11-30 01:31

It's aliiive!

Paragraphs will be reflowed and joined, so you can use e.g. emacs/mg's

fill-paragraph and still have a well-formatted gemlog.

Posts can be placed in a "drafts" folder or marked with a "draft:

true" header and they won't be published.