Emacs & Org Mode in Windows

Note: I am not an expert in Emacs and Org Mode. But I have always loved exploring tech, coding, and finance. This blog is about my journey of exploring Emacs and Org Mode for Static Site Generation usingΒ Windows.
When I first know about βStatic Site Generationβ as a developer, I was amazed. Normally, we develop websites using HTML, and even when using other frameworks, HTML serves as the foundation. But in Static Site Generation, markup languages like Markdown, Org Mode, and others are used. These are then converted into HTML through scripting languages or tools like Emacs, Hugo, and more. This concept was totally new toΒ me!
To be honest, I was astonished when I first heard about it from my brother, Thanga Ayyanar. He exclusively uses Org Mode to maintain his website and blogs. Inspired by his approach, I wanted to learn, use, and explore this tool for myself, and I like to work on Thanga Ayyanarβs website(golayan.in). I also took the opportunity to work on the UI. However, there was one condition from Thanga Ayyanar. They strictly required that I only use HTML and CSS. It was a slight headache, but a challenge I embraced withΒ love.
I aim to host this project soon, and once I do, I will attach the link in this blog below. The challenge, though, is that while Emacs works wonderfully in Linux, I primarily use Windows due to storage constraints. I am unable to use both Windows & Linux like previously on my laptop. Despite this, my curiosity about Emacs and Org Mode drove me to explore themΒ further.
I initially referred to ChatGPT, Perplexity, and Gemini AI for guidance, but their suggestions werenβt helpful enough. Eventually, I discovered my wayΒ forward:

- Since I am comfortable using VS Code, I downloaded the Org Mode extension forΒ it.
- I then downloaded and installed the latest version of EmacsΒ from:
3. To build the site, to convert from org to HTML. I ran the following command:
emacs --script build-site.el
4. Finally, I used Python to serve the siteΒ locally:
cd public python -m http.server
Then, I went through the code and began to understand how Emacs & Org workΒ . Then how it converts the Org to HTML. I understand the whole process slightly. But, till I have full awareness of Emacs &Β Org.
Then, I started working on Thanga Ayyanarβs websiteβs CSS, striving to make it visually appealing. The UI reflects their name in gold, paired with a dark theme. Since Ayyanar bro prefers dark red & gold, I used it forΒ ::selection. You can check out the code I wrote for the website here: https://github.com/anandsundaramoorthysa/goldayan.github.io
This blog is a brief account of my journey into exploring Emacs, Org Mode, and figuring out how to use them on Windows. Initially, it was somewhat challenging, much like when I began learning Python back in 2022. However, as with any skill, it gradually became easier with time and persistence.
When you feel this content is valuable, follow me for more upcomingΒ Blogs.
Connect withΒ Me:
- LinkedIn: Anand Sundaramoorthy
- Instagram: @anandsundaramoorthysa
- Email: sanand03072005@gmail.com
