Scribbles 'n Bits
April 14th, 2024

From Scribbles to Gemini, with EchoFeed

I posted almost a month ago that I was pausing my Scribblesing while I focused on further adventures in Geminispace. But then Robb Knight went and released the much-anticipated EchoFeed, and I thought it might be fun to see if I could feed my Gemini capsule from Scribbles.

After tinkering with it quite a bit today, I think I've got a working (if not particularly elegant) solution.

Now, when EchoFeed sees a new post on my Scribbles feed, it copies the post to a Markdown file in the GitHub repo I use for deploying content to my capsule. A GitHub Actions workflow is triggered by the creation of that new Markdown file and converts it to the Gemtext format, complete with a YAML sidecar to hold metadata for gempost, a static site generator for Gemini. And then the creation of that file triggers another workflow which uses gempost to build the site and then push it to my server.

Now I get to check out all the cool new stuff Vincent has been adding to Scribbles while still maintaining a presence on the altweb. Very exciting!

Edit: oh neat that actually worked!