Converted blog from Wordpress to Bun

I have been working on rewriting the entire website from Wordpress to my custom PHP framework. While it was working fine, it was tedious and consuming all my free time. I experimented with Hugo, Jekyll, and other static site generators, but I wanted something more dynamic and flexible. I was impressed by Bun's performance compared to Node.js and decided to give it a try. After a few days of development, I managed to port the entire website to Bun, and the results were impressive. The site loads faster, and the development experience is much smoother.

I also migrated from MySQL to SQLite, which simplified the deployment process. The entire website is now a single binary file that can be easily deployed anywhere. In fact, I checkout a specifig tag version from my GIT repos and publish it to another directory and NGINX is configure to act as a reverse proxy.

Overall, I removed the following components:

  • Wordpress
  • PHP
  • MySQL
  • php-fpm

The new stack is:

  • Bun
  • SQLite
  • NGINX
  • GIT

I have a deploy script that automates the deployment process, making it easy to update the website with new content or features. I have a list of all my websites and their current git tag version that I want to deploy, and the script takes care of the rest.