How do You publish to your gemlog?

Ecmel Berk Canlıer me at ecmelberk.com
Sat Dec 12 13:04:10 GMT 2020


I probably have the hackiest setup here, based on shell scripts, duct
tape, and some JS on the deployment parts.

https://git.ebc.li/admicos/blog

I create a new `.gmi` file under `pages/<category>` and add some
boilerplate header and footer lines (for my shell-based templating
thing)

Then I edit the `post_list` file to add the new page. If I put the `.gmi`
extension on the filename here, the page becomes Gemini-exclusive.

Finally, I push my changes into the repo above, which pings a HTTP
endpoint I am listening to via https://nodered.org, clones the repo and
runs the shell script inside the `.makeshift.yml` file, that runs the
site generator scripts and pushes the results into the proper place.

I would make the Node-RED script thing public too, but the only proper
way to do so locks you into a single project (And also there probably
are some personal information in them). There is an outdated version
at https://git.ebc.li/makeshift/makeshift, but it went through some
changes at my end, mainly adding error handling and notifications.

There are a few screenshots on my Mastodon if you want to visualize the
jank going on here: https://toot.ebc.li/@admi/105132131906807252

--
Have a nice /(day|night|week(end)?)/
~ Ecmel B. Canlıer


More information about the Gemini mailing list