Cover Image for Late 2024 Update

Late 2024 Update


A​t​ ear​ly​ Novemb​er 2024​, I made a choice to do some change on my blog. First, I dont host it on Github Pages anymore. While it amazing (an​d​ free), to add a little f​eature I need to use external stuff. Currently I use Staticman to handle com​me​nts f​or me & Formspree to handle​ my contact page. Both of them are good, not too hard to setup, open source, & h​as free tier with an okay limit.

Staticman is a self hosted software at first. It need a Nodejs server that are accessible. Now it can be used as serverless function. Mine is hosted on Netlify. Using ready-to-deploy template by the creator of Staticman itself. This setup eliminate the need of Nodejs server and can be hosted maybe anywhere where serverless function are allowed. For email form handling, I plan to move away from Formspree. This eliminate the need of additional data sent to outside service.

Based on my need, I choose to move this blog to Cloudflare Pages. They support serverless function, a CDN provider with a lot of PoPs all around the world, generate deploy preview for pull request, and I already own some zone in my Cloudflare account for a few years now. They still running good.

Another change is to not using Jekyll anymore and move to Eleventy. I have been followed Eleventy since its pre release (0.xxx) version. Eleventy are amazing. It support Liquid (template language used in this blog) via Liquidjs, render markdown into html using Markdown-It, and I can use javascript to extend it functionality.

Another reason on to move from ruby to javascript is usability on Termux. I use Termux on my tablet and I cant use Jekyll because it cant find some libs needed. I tested Eleventy and it run, with a little hack (because sharp). I need to run any npm command with --os=linux switch. A little hacky but at least it works.

Only thing left now is to replicate my Jekyll setup on Eleventy. Some are already exist as plugins. Other that doesnt, maybe I can write some stuff to replicate it. Codes is always available at gi​th​u​b re​p​​o.​ B​y​​​e​ :wave:

Post Lainnya

Pandangan Saya Mengenai Budaya Tahun Baru

Kalau menurut saya, belum tentu salah tapi juga belum tentu benar. Semua tergantung dari apa yang kita lakukan.

Batas Memori Manusia

Beberapa hari yang lalu, gue sama temen-temen lagi ngumpul. Seperti biasa, basa-basi ga jelas. Lalu kemudian perbincangan menjadi sedikit serius setelah temen gue mengeluh mengenai kondisi penyimpanan atau memori hape dia mulai habis. Tapi topik kali ini bukan tentang memori hape, tapi pendapat gue tentang memori manusia yang kapasitasnya mungkin tidak akan berkurang. Bahkan mungkin bakalan terus bertambah sampai ke batas yang tidak diketahui.

WSL

WSL atau Windows Subsystem for Linux membuat kita bisa menjalankan Linux environment langsung melalui Windows. Saat ini cuma di support di Windows 10. Sejauh ini nyaman-nyaman aja. I’m having fun with it. Setidaknya ga perlu dual OS pakai VirtualBox atau menjalankan container Linux memakai Docker. Good job, Microsoft.

Komentar

Komentar akan tampil setelah diterima.