On 2020-12-12 12:52PM, Bj?rn W?rmedal wrote: > I write my posts in vim, manually add an entry to my archive gemini > feed and then run a bash script that updates my capsule index page and > my atom feed. It?s a bit clunky, and I?m pondering how to make it less > cumbersome. This is basically what I do. I have a `template.gmi`[a] that has the footers and such that I like, so I just copy that, and write my post in (neo)vim, replacing the placeholders in my template. I then just run my gemlog.sh utility[b] to generate the atom feed and index. I don't find it particularly cumbersome, and I actually manage the entirety of the rest of my site 100% manually, without any scripts at all. I think a big strength of gemini is that a full capsule can be managed manually, or with very simple scripts. I've never felt the need for blog generators or md->gemtext anything like that. I've been considering using CGI for my index and atom feed, so I don't even need to run a script after writing a post, but I've never gotten around to it. A while ago I patched bashblog to include gemini support[c], if anyone is interested in adapting that and writing a cgi atom feed then feel free, and send it to the list when it's done :) [a]: https://github.com/nytpu/gemini.nytpu.com/blob/master/gemlog/template.gmi [b]: https://git.sr.ht/~nytpu/gemlog.sh [c]: https://tildegit.org/team/bashblog/src/branch/master/bb.sh#L892 -- Alex // nytpu alex at nytpu.com GPG Key: https://www.nytpu.com/files/pubkey.asc Key fingerprint: 43A5 890C EE85 EA1F 8C88 9492 ECCD C07B 337B 8F5B https://useplaintext.email/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: <https://lists.orbitalfox.eu/archives/gemini/attachments/20201212/f80c 85d6/attachment-0001.sig>
---
Previous in thread (9 of 14): 🗣️ Norm MacLennan (norm (a) iwritethe.codes)