Luat is an innovative server-side templating solution that combines the power of Lua and Rust to streamline your app development process. Inspired by Svelte's syntax, Luat offers a unique approach to building dynamic web applications with ease.

What Makes Luat Stand Out?

With Luat, you can enjoy seamless server-side rendering without any client hydration overhead. This means faster page loads and improved user experience. Additionally, Luat's component system allows you to create reusable components with props and children, making it easy to manage complex UI logic. The Lua-powered engine compiles templates into fast-executing Lua code, ensuring your app performs optimally.

Get Started with Luat

To begin using Luat, follow these simple steps:

  • Install Luat using npm: npm install -g @maravilla-labs/luat
  • For Linux and macOS users, run the shell script: curl -fsSL https://raw.githubusercontent.com/maravilla-labs/luat/main/scripts/install.sh | sh
  • Cargo users can install Luat with: cargo install luat-cli followed by luat init my-app and cd my-app, then luat dev

Example Project

Here's a simple example of how you can use Luat to build an app:

`html

`

Integrate Luat with Your Favorite Editor

To get the most out of Luat, integrate it with your preferred editor. Luat has official support for VSCode and LSP servers, allowing you to enjoy syntax highlighting, diagnostics, and autocomplete for .luat files.

Contribute to Luat's Growth

Luat is an open-source project, and we welcome contributions from the community. Check out the CONTRIBUTING.md file for guidelines on how you can help shape the future of Luat.

License and Credits

Luat is licensed under either Apache-2.0 or MIT at your option. Created and maintained by Maravilla Labs, Luat is a testament to the power of collaboration in software development.