From Vanilla PHP to Hexo

Author: blchrd - Date: 2023-07-27

I have had this website for less than a year, and I've been wondering what to do with it.

Until now, it has been just a small dynamic website where I put my work in progress and my most advanced projects, along with a little description of myself. I used a single PHP page that retrieves data from a bunch of .json files. Not gonna lie, I love developing this little thing.

But in the end, it wasn't enough. I want to do more with this website.

So I searched for a blog engine, and I have some requirements:

After looking at some engines - like Jekyll[1] and Dropplets[2], the two main contenders - I decided to give Hexo[3] a try. On paper, it checks all my points, and it has a lot of really cool templates too - I ended up using the Cactus[4] theme here.

The installation is straightforward, five command lines in a terminal, and you're good to go.

npm install hexo-cli -g
hexo init blog
cd blog
npm install
hexo serve

Your blog is now running on localhost:4000, and a 'Hello World' page welcomes you, with all the instructions you need to create posts, generate the static files, and so on.

The configuration file is about a hundred lines, and the main items are easy to configure without the documentation (I wonder what title, in the Site section, will do...), but for the rest, the documentation[5] is really clear.

There is additional configuration for the theme you chose, even if you want to keep the original one.

After generating some test blog posts and testing some themes, I finally decided to go with Hexo and the cactus theme for my personal website. It checks all the requirements I had, and it is easy to understand, set up, configure, and maintain.

If you are wondering about which blog engine you want, and your requirements look like mine, I recommend you to give Hexo a try.

=> 1: https://jekyllrb.com/ | 2: https://github.com/johnroper100/dropplets | 3: https://hexo.io/ | 4: https://github.com/probberechts/hexo-theme-cactus | 5: https://hexo.io/docs/configuration

Proxy Information
Original URL
gemini://blchrd.eu/2023-07-27-from-vanilla-php-to-hexo.gmi
Status Code
Success (20)
Meta
text/gemini;lang=en-US
Capsule Response Time
126.278841 milliseconds
Gemini-to-HTML Time
0.920975 milliseconds

This content has been proxied by September (ba2dc).