Obsidian+Hazel+Alfred+Github

Sounds like a mouthful, but it’s a simple way to create blog posts in Obsidian and have them (almost) automatically pushed to your GitHub repo (website).

I posted this on reddit initially, but just remembered that this forum would be the best place to share it.

I wrote up a how-to on my website so please check it out (I could paste it all in here but there are a few images in my blog post). The basic idea is to create a post in Obsidian, then have the Hazel app monitor a specific folder inside my vault and when it sees a new .md file in that folder, it copies it to whatever folder I specify in my local repo and converts it to html format. From there I made an Alfred workflow to quickly push it up to GitHub, and that’s all there is to it.

The reason I wanted to do this was to be able to design my own site without relying on tools or templates. It does require setting up a site on GitHub to start with, but after that’s done, new posts can be easily added using this method.

I made a simple “proof of concept” site
There isn’t any real content there. It was just for me to refine the workflow., but the “Pages” sections were all made this way.

Happy to answer any questions and all feedback is appreciated!