my zone:

how i changed my blogging system

October 16, 2024

<- Back <-

Soooo, you probably don’t know, but i didnt have hugo as my blogging system before. I used to run php scripts that would generate .txt files, then another file that would put them in a list of articles and a third one to render them as HTML pages. This approach was very easy to set-up and to write new articles. However it was pain in the ass to change anything, i couldn’t customize it even a tiny bit without breaking something. The system was inefficient and most importantly insecure as i am almost sure it allowed remote code execution.

That’s why i wanted to change it. So i started looking for open-source solutions that don’t require any javascript to run on the site and i found the perfect solution. It’s hugo. Hugo is awesome as it allows to generate the articles on the server side without a webapp (which is more secure but not as convienient way). That’s why i am planning to write a simple python program to make it easier for me to write the articles withou the need to ssh into my server. Another great thing about hugo is that it basically renders markdown files as html pages, so it is pretty easy to customize the articles which was almost not possible at all with my previous php setup.

Also hugo is very easy to set-up. I was trying to set it up earlier but i seemd like a pain, but i found out it’s almost as easy as installing any other package and configuring it. I would say it is even easier to set-up than apache.

As a conclusion i would say that if you want to start a blog/run a debloated site/want to change your blogging system then you should try hugo. It is simple, open-source, lightweight and easy to use.

<- Back <-