From SvelteKit to Plain HTML: A Website Rewrite

2025-01-15

Frustrated with the complexities of SvelteKit's build system, the author decided to rewrite their personal website using plain HTML and CSS. The process involved using Pandoc to convert Markdown to HTML and Python with uv for a lightweight build pipeline. Despite the small scale of the site, the rewrite resulted in a reduction in size from 356kb to 88kb and simpler, easier-to-understand code. The author notes remaining issues like code duplication and lack of live reloading, intending to address them in future improvements. The project serves as a simple template for building static sites with Markdown blogs.

Read more
Development