Hourai
Etealune

  • Home
  • Blog
  • About Me
  • Contact
×
TABLE OF CONTENT
Table Of Content

Website Upgrade

14 September 2019

It's been one year since I updated anything at all. While 99% of the reason I did not update the site is mostly because of the laziness, I decided to fill it up again (yeah, I do promise it several times, but always fail to fulfill it).

ss20140901 144522

Same picture, different clothes

Problem I've Had

Now for the content: I decided to upgrade this website using Gatsby due to many problems I had with Wordpress, which is mainly about the flexibility to do what I want (in term of page design). Sure, Wordpress has a lot of themes that you can use but there are a few problems that I encounter:

  1. I can't find a suitable theme that suits both my taste and have enough "features" to keep up with my need. Heck, I can't even find one that fully suits my taste design-wise without compensating anything, and I haven't even considering the features yet.
  2. It runs on PHP, which is okay for a dynamic site despite quite old (and a bit slow, even more so when dealing with "WordPress"). Since my primary usage is to write blog content which only needs static content, with the exception for the search function and commenting function, I can afford to use some kind of static website preprocessor and publish it.
  3. WYSIWYG editor, while nice for most people without technical skill, is not doing any good for me. It often creates unnecessary elements (such as empty <p> block, etc) and I can't write a formatted "draft" without going to their WYSIWYG editor. Since I usually write a post in plain text (usually on google keep when I'm on commute) and fix that later after being home, MarkDown is a better choice considering the fact that I can just write my draft on any notes taking app, and I can format them at the same time, without any need to wait to format it using WordPress's WYSIWIG editor.

Solution

Sure, if I code the themes myself and get the correct plugins I can make it happens. But it will not help with problem #2 at all. This is where Gatsby comes in:

  1. It is a framework based on React to create a static website. As far as I'm concerned, a static website is faster than their dynamic counterpart, there's no way around that. They also handle images with lazy loading, compression, optimization, and whatever they need to make image loads faster (which I have a lot on my page)
  2. I can remove whatever security features needed by WordPress since you don't need to deal with any of security bullshit when dealing with a static website, which also makes it simpler and faster.
  3. Gatsby can easily make Single Page Application with seamless animation when switching between page (they only reload elements which differs from the previous page), which opens up a lot of new possibilities to do animation (in particular, animation when the page is changed). This is my primary reason to choose this framework.

What's next

So what's next? When I deployed this site, it is more or less only a Minimum Viable Product, so there's a lot of feature and pages that I want but still not here yet.

  1. As of now, I'm using Commento as the comment service provider. However, all of my exported comments lost its author which is a dealbreaker in my scenario. Besides, it is quite unstable which makes me deters from continuing to use it. Their track record of keeping the server alive is bad, at the very least. I am planning to look for other providers. commento down

    I'll look for other providers, thanks
  2. It is about time to update the Live2D scripts that I used since several years ago. It still works well, but now there's Live 2D version 4.0 and new web SDK which might be better than the makeshift solution that I use for now.
  3. If you notice, there is a "sandbox" page which I plan to keep all of my "for fun" project as a gallery of some sort (which I don't have one, currently). Since I still don't have any idea on what should I do with this page, I will leave it blank for now. This will be hard to do since my project will be scattered across multiple languages or subjects, and probably need a dedicated page detached from the main site. We'll see what I can do to deal with this page later.

I will try to keep posting once a week with whatever topic I want to write, so this blog will be more of a diary than an actual informative blog. There will be no fixed themes to this blog, so if you want consistency, you should not be here, to begin with. If you happen to have the same hobby as mine (programming, wasting money for useless gadgets, etc) then feel free to hang around. That's all for now.

PS: If you see the post number is not consistent, it simply meant that there are some posts that I decided to delete since it was either not relevant anymore (ex: I promote one of my sites, but I have taken it down), or simply it super bad that I feel like to just remove it.

Regards,

~Hourai Etealune~