Published on

New Blog

Authors

So this is my new blog, it is a bit different from the previous one. Well, technically this is a lot different from the previous one, except for the previous content. It's because this blog is built on top GastbyJS a React-based site generator. While my previous blog is Ghost

So why the changes? Here's the story, at first I want to have (or already have, I can't remember) a blog on Github pages. It has several pros:

  1. It's Free
  2. Painless deployment (You just have to commit and push to publish)
  3. Markdown support

But the thing that always bothers is the tooling, I have to install bundle and other Ruby's stuff that I don't use from day to day.

So because of that, I'm searching for an alternative. People said it is much much more convenient to have a CMS for a blog. You know, Wordpress stuff. But I don't want to use Wordpress, it feels not techie enough for me. So I found Ghost.

Not like Wordpress which can be installed in almost every hosting site (maybe every hosting site), Ghost is a little bit limited. It uses Node.js which currently is not ubiquitous. At the time, I already have a VPS in Digital Ocean (a lot of trying things out in that VPS) so my choice is naturally to host the blog on that virtual server.

It really does suit me because:

  1. Familiar tooling (NPM & Node.js)
  2. Great Markdown support, it has a great editor in it
  3. CMS, I don't have to code for anything.

But the problems start to be noticeable. We lost painless deployment. I'm syncing the git repo between my local machine and the VPS. Sure I don't use it very much because we don't have to change the code if we want to publish something. But still, there's a thing that have to be done. Attaching image in the post is also painful. But the most painful point from it all is I have to pay 5$ a month for the VPS.

So here we are with GastbyJS and Netlify to host my blog. In the end, we got:

  1. Free of charge (except the domain)
  2. Familiar tooling (NPM, Node, React)
  3. Markdown support
  4. Continuous deployment (Netlify)

The only missing part is the built-in editor, be we have VSCode, so I got that going for me which is nice. For now, what it lacks I can cover with my own tooling. Until next time and welcome to my new blog. Cao 👋 ~