Re:Why I chose Lua for this blog
by ksymph on Thursday October 02, 2025 @04:48PM
(#45455367)
I had that thought too. My own blogging engine is ~100 lines of lua that accomplishes the same as you describe, plus RSS, with one additional library for markdown parsing. The author mentions Mustache templates and WebMentions, but ten dependencies still seems like a lot; I wonder what they are.
[ Parent
| on HN ]
The dependencies are
cmark
dkjson
etlua
hasher
lsqlite3
lua-markdown-extra
luafilesystem
lub
lustache
multipart
penlight
uuid
yaml
http
gumbo
sleep
bbcode
cookie
Many of the dependencies are there to support the posts that are legacy posts coming from my previous SSG. I imported them into the database and they require Yaml and other dynamic features. Some dependencies like gumbo, http, multipart are all there to support indieweb features such as webmentions and micropub.