My Blog

Reducing friction to create a habit

Today I continue with the mission of writing daily. One of the things recommended to create a new habit is to reduce the friction to get that task done.

I really like journaling. Wiring to my blog every day is one habit that I am trying to establish and having a system to create notes inside of obsidian that can be converted in blog entries is my way to reduce friction to achieve writing regularly.

Today I am one step closer to create this system. However, to finish this system from scratch has been a bit tedious. I had create a Hugo blog before, actually at the beginning of this year but shortly after that my computer died and that made me forget about it. How long does it take to destroy a habit?

The idea of the pipeline is to create entries in markdown in obsidian, then move those to the directory where my Hugo blog is, create the blog with the desired theme and publish that into github. Once there, create a webhook in my web hosting, to pull from my repo and publish the blog post. Sounds simple? It was not so much.

I still have not finished it completely, I have the template of obsidian that hugo likes to create nice blog posts. I also have the github repo setup to keep track of the html version of the blog posts. And the missing part is make my webhook and authentication ready in my web hosting provider. Hopefully tomorrow I can finish it.

Last time when I tried to implement this I got lost, mainly because I did not understand all these pieces:

  • Markdown
  • Hugo
  • webhooks
  • automation Now I am not an expert on all of those but I feel comfortable making things work. This makes me think and appreciate more the approach that Jeremy Howard explains about getting better at your craft in small but compounding steps.

I am excited to see if I finally get it done.