💾 Archived View for bulletpr00f.host › gemlog › posts › making-a-gemlog.gmi captured on 2021-12-04 at 18:04:22. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-11-30)

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

2021-01-23

how to make a gemlog for absolute morons

So I'm bored and stressed out, as so many of us are these days. Learned about gemini earlier this week. Started browsing the gemiverse (is that what they call it?) and was like "man I wan't to make a gemlog..." and it's apprently very easy if you are vaguely experienced with linux.

first I just used this docker image I thought about compiling it myself. But I'm not exactly attached to my hosting and it seemed best to just have the server be a thing I can abandon on a whim and spin up elsewhere should i feel like it. I was going to host it on a raspberry pi but theres no arm docker image and building stuff on a pi is tiring, so I guess i'll just keep using my pi as my workstation.

https://github.com/a-h/gemini

Then I just wrote the glorious index.gmi you probably saw

here

then I stumbled across gssg and made working configs and put them in a git repo. so I can easily just git pull/git push from my server or whatever machine i happen to be on. I'm not a huge fan of text editing of ssh, my internet likes to just drop out for half a second from time to time and the way my characters stop showing up always ruins my flow. And I always manage to break something if I just try to remember to rsync when I'm done.

#my config is just this,
title = "b0b's gemlog"
url = "bulletpr00f.host/gemlog"
source_dir = "rawposts"
dest_dir = "../content/gemlog"
feed_path = "posts"
feed_tile = "b0b' gemlog"
template_dir = "templates"

https://sr.ht/~gsthnz/gssg

so now I just write a .gmi file on whatever, push it to git, ssh to the server, pull and run gssg. I'm thinking the next obvious move is to make the server automatically pull and run gssg every half hour or so, and setup some other way to get gemlogs onto the server. I'm thinking maybe email? I figure I could probably write a script to just wait for an email from me probably even check to see that it's signed with a gpg key i control, and that should be secure enough.

I dunno, this was easy to pull off though

how to make a gemlog for absolute morons was published on 2021-01-23