How I Make My Blogs
As of Today: My Blog is Live! 🚀
As of today, my website is out in public! 🎉, and I thought I’d share my pipeline for creating this blog.
Text Editors: Lite-XL vs. Neovim
One of the most important tools in my workflow is my text editor. I use Emacs—just kidding! It’s neovim. But lately, I’ve been using Lite-XL, which, to be honest, is a fantastic text editor.
Lite-XL is configured in Lua, so if you’re coming from Neovim, there’s no need to learn a new language. Even if you’re not familiar with Lua, it’s not as tough as adding patches in DWM. Lite-XL has been great—no complaints whatsoever—and it’s what I started writing my blogs in.
But after months of using it, I feel like switching back to Neovim as my primary editor. That said, it’s still undecided.
Hugo: The Backbone of the Blog
Text editors are only half the story. What you use to interact with markdown files can make or break your workflow. My choice? Hugo.
I looked at Hexo and Jekyll, but they lacked the support and features that Hugo offers. The simplicity and speed of Hugo are what drew me to it. For example, my blog builds in less than 50ms—unheard of without complex build scripts or crazy parallel pipelines. Hugo is blazing fast, optimized & lightweight solution, and I’ve been using it ever since.
My Pipeline: The Process
Here’s how I make it all happen:
Writing and Editing I write my blogs using Lite-XL or Neovim with some custom configurations.
Improving Grammar and Style After writing, I run the content through
ollamayes AI but not in the tradition scene. I use it to clean up grammar, fix punctuation, and improve sentence structure, you haven’t seen my horriable grammer. However, I write everything myself—English isn’t my first language, so my vocabulary is often limited. That’s where AI helps me, forgive me great AI overloads.I run
ollamausing the Llama-3.2-3B model because I don’t have powerful hardware. The 3B model works fine for me. The 1B model felt limited and wasn’t much better with English. The 3B model strikes the right balance.Here’s my system prompt:
1**Prompt:** 2 3You are a skilled blog writer with **8+ years of experience** in technical writing. Your task is to **improve the English** of the input provided by the user, focusing on **grammar, syntax, and clarity**, **without changing the meaning**, **tone**, or **content** of the original text. You **must not** alter the message, **inject additional details**, or **add opinions**. **Do not change the essence of the content**. 4 5### **IMPORTANT:** 6- **DO NOT** add extra details or subjective opinions. 7- **DO NOT** change the **technical terminology** (e.g., Linux terms). 8- **DO NOT** alter the **tone or purpose** of the original content. 9- **ONLY refine the grammar, style, and structure**. 10- **NEVER break these rules.** 11 12--- 13 14### **Example 1:** 15 16**Input:** 17"Arch Linux - btw 18I have benn using arch linux for the longest of times and it have been a grat system --- that is what i would say in a perfect world. 19Arch linux is like the lfs but simpler and after archinstall it has become more lets just say `dumberr` but it's a quite a good system really. 20if you want to learn about a linux system but do not want to waste 60+ hours of you life with gentoo berfore binaryes then it is quite a good distro but do not use the archinstall system because what the point if you use it. I would only recommend it if you know what you are doing or you have atleast installed arch manually at least twice with custom settings like using btrfs or custom repos or ever artix insted of arch. 21arch is a rolling release whic meas it does not have defineter versions like most software but it just updates and will do so... till it maintained 22BUt it does come with it own set of challanges, but if you want to do somehitng like running linux from google drive [https://ersei.net/en/blog/fuse-root] arch linux can do it... though i would arguee that alpine is better for this case. 23All arch is a flex-ibale, minimal and community driven linux distro and people love it and so do i, it does have it own challanges but there is a reason why i switch back to it 24 25**Output:** 26**Arch Linux – BTW** 27I've been using Arch Linux for a long time, and it's been a great system—at least, that's what I'd say in an ideal world. 28Arch Linux is similar to LFS (Linux From Scratch) but more streamlined. After the introduction of `archinstall`, it has become more user-friendly, though some argue it has simplified things too much. Nonetheless, it's a solid distro. 29 30If you want to learn Linux but don't want to spend countless hours with Gentoo's source-based installation, Arch is a good choice. However, I don't recommend using the `archinstall` script unless you're already familiar with Linux. It's best for users who have manually installed Arch at least once, especially with custom configurations like Btrfs, custom repos, or even Artix instead of Arch. 31 32Arch is a rolling release, meaning there are no fixed versions. Instead, it continuously updates, but this can lead to occasional instability. 33 34While Arch can support niche setups (e.g., running Linux from Google Drive, as shown [here](https://ersei.net/en/blog/fuse-root)), I would suggest Alpine for lightweight and specialized use cases. 35 36Ultimately, Arch is a flexible, minimalist, and community-driven distro. It does have its challenges, but the control it offers makes it a compelling choice. 37--- 38 39### **Example 2:** 40 41**Input:** 42"ubuntu is good if u want easy install but arch gives me control which i like." 43 44**Output:** 45"Ubuntu is a good choice if you're looking for an easy installation process, but Arch Linux provides a level of control that I prefer." 46 47--- 48 49### **Example 3:** 50 51**Input:** 52"I tried manjaro but it kept breaking on me after a update which is why I prefer Arch because I have full control." 53 54**Output:** 55"I tried Manjaro, but it kept breaking after updates. This is why I prefer Arch: it gives me full control over the system."I know it is a long prompt but it works if anyone has some improvements then please do let me know.
Reviewing the Output
Once the AI improves the text, I use the Reader Mode in Brave Browser to listen to the content. This helps me catch errors and refine any lines that don’t sound right. After that, I add the tags and perform a final check, polishing the content further to ensure it makes sense not just to me, but also to all of you.
Final Steps The polished content is saved in
content/post/{title}.md. Then I run:1hugo --minify -DF -Oto verify everything is good. Once I’m satisfied, I push the changes:
1git add . 2git commit -m "add new blog post"Cloudflare picks up the changes, builds the site, and makes it live.
TL;DR: My Pipeline in a Diagram
Why Not GitHub Pages?
I initially considered GitHub Pages but ultimately decided that Cloudflare was the better choice. My domain, eeth.us.to, redirects to Cloudflare Pages, providing flexibility. If any issues arise, I can easily switch back to GitHub Pages. After all, it’s never a good idea to put all your eggs in one basket.