Azhdarchid

I did end up building a (very dumb) solution to making it faster to write small posts.

I did end up building a (very dumb) solution to making it faster to write small posts.

On , Bruno wrote:

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:

  1. Opens a temp file in vim
  2. 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
  3. Opens the front matter as a temp file in vim so I can edit it if to add tags, etc
  4. 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.