Silvermoon logo

Build dynamic web pages with Lua and HTML.

Yes! It's that easy!

print(features[1])

Familiar

No new syntax to learn. Write plain HTML with Lua embedded in <lua> tags.
If you know HTML and Lua, you already know 90% of Silvermoon.

Frequently Asked Questions

How does Silvermoon work?

Silvermoon is a HTML preprocessor. It takes your source file, executes Lua code embedded in Lua tags, and outputs generated HTML.

Can I use external Lua packages?

Yes! Silvermoon supports external Lua modules and packages. This lets you reuse existing libraries and organize your project.

What version of Lua does Silvermoon use?

Silvermoon uses Lua 5.1 via LuaJIT. LuaJIT allows for faster code executes as it compiles Lua to native CPU instructions on the fly.

Can I contribute to Silvermoon?

Contributions are welcome! You can suggest features, report bugs, improve documentation or submit code changes. Help improve the Silvermoon preprocessor or the Silvermoon website.

I found a bug or other issue in Silvermoon

Click one of these links to file an issue for:
Silvermoon preprocessor or the Silvermoon website.