💾 Archived View for bulletpr00f.host › gemlog › posts › 2021-01-23.gmi captured on 2024-08-18 at 17:10:40. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-03-01)

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

First Post

I found out about gemini just recently and I really enjoy it. It reminds me of the web before we decided literally everything needed to be an app. I never really fucked with gopher so I guess I missed out. I was already directing my boredom at making a static website generator but I decided to instead direct it at learning how gemini works and i'll just use gssg instead.

gemini://rocketnine.space/posts/2020-11-24-create-gemlog-with-gssg.gmi

In the olden times of the long long ago, there were plenty of websites that were basic text, mostly written in html (a markup langauge) and maybe a dash of css.

Now everything is several megabytes of javascript to load other javascript to do a bunch of shit you didn't want to do in the first place. It's absurd. I feel like the "Minimum system requirements" for reading text and looking at pictures of cats has absolutely no fucking reason to increase the amount it has. I want no fucking part of it.

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