So a few days back I was working on a solution so that I could keep that blog updated. As this is a not-self deployable blog I actually need to deploy changes. Somebody would say instead of taking so much efforts to deploy a single post you could have set up a WordPress blog which has an awesome app to add post, n number of themes, plugins, etc. But I feel I like it this way. The geeky way of maintaining a blog :D. I was working on to find something which could help me update my blog from cell phone. For that I was able to install git on my cellphone (SU access). First how this blog actually works so there are two repo’s using which this blog works. One is the content management part where the content stays, theme stays and other things. And there is another repo on which there whole hugo generated HTML stays which is present on github.

As I was having git access into my cellphone I was able to update content but how to use hugo. I need to run hugo on my content repo and update the blog repo which was not possible through phone. So to do that what I was thinking was I would setup a server, when there would be a commit in content repo it would call a web-hook. The hook would work to fetch content from content repo into server, server would run hugo generate html and then it would push updates to blog repo and my blog would be live :D. This could be most tedious thing I would have thought to do for a blog. So I started again to find something which could be useful here as there are 1000’s of blog which actually uses hugo who would have faced the issue of updating blog post from mobile. There came one such solution which was Forestry is a static file CMS the thing I was needing to update my blog.

The awesome thing about forestry is that it allows you to use hugo and jekyll both with an online CMS like features. Also you can configure almost everything using their platform. I remember during my college days I was not having laptop and that time I was using jekyll blog. Jekyll has a tedious path to configure, you need ruby and other things to make it work. And to work on a windows it was a whole new challenge. If there had been something like forestry back then my blog would be having much more content :D. So forestry became solution for my misery.

Why I was doing above?

So this year for my birthday I had a sort of planned/unplanned trip to Haridwar and rishikesh. And I was thinking to keep things updated using the blog which I was not able to due to network issue, battery issue, internet issue and finally I lost my phone basically someone pick my pocket :(.