1 hour ago · Tech · hide · 0 comments

I did end up building a (very dumb) solution to making it faster to write small posts. It's a shell script called posthog.sh which: Opens a temp file in vim If I saved the file, asks if I want it to be a note or a full post and auto-generates some basic front matter Opens the front matter as a temp file in vim so I can edit it if to add tags, etc Generates the actual post as a file, commits it, and pushes the commit so the site gets rebuilt on the server. In my imo you should never do something smart when something stupid will do.

No comments yet. Log in to reply on the Fediverse. Comments will appear here.