💾 Archived View for deepgrave.org › update.gmi captured on 2022-04-28 at 17:24:25. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-03-01)
-=-=-=-=-=-=-
So it's been a few days since I made a new post. After the initial rush of getting everything up and running right (mostly), I took a few days off to regroup. The biggest thing, going forward, was to establish some sort of workflow to allow me to post more regularly. Previously, I had simply ssh'd (sshed?) in to my Pi, created a new post using vim, and updated my index file (also with vim). This approach made me feel like a badass, sure, but it was a tad bit cumbersome and made it a little more involved than it should be if I wanted to fire off a quick post. Moreover, I figured that creating a tool to help me post to my capsule would be a fun little project to attempt.
My solution at this juncture was to use Python and Flask to make a simple form-based web app. This app is hosted locally (not on the Pi) and while running listens on the loopback address. I navigate to the specified address/port, fill in the forms, and the resulting file is pushed to a staging folder on the Pi with scp. At that point I would still need to manually add the new gmi file to my capsule content folder and edit the index. Streamlining this latter process will be my next challenge.