If you want a Lua webserver, the way to go imo is Redbean.
Based on CosmopolitanC with incredible performance and single binary runs on any platform.
There is also MakoServer.
More for embedded but runs in anything and also very batteries included, like Redbean including SQLite and JSON for example.
Redbean is very fun. I built a mini Markdown-based CMS with it earlier this year: https://github.com/kevinfiol/beancms
Re:Fast Lua runtime written in Rust
by johnisgood on Monday November 24, 2025 @01:54PM
(#46037664)
I have used luvit and I can recommend. I used it for my Discord bot written in Lua.
Anyway, for those who want a lua version of nodejs/bun/deno, try looking at https://luvit.io/ (lua) or https://lune-org.github.io/docs/ (luau - AKA roblox lua).