A template for a htmx and rust powered web application using the tera template engine.
- Click the "Use this template" button on the github page to create a new repository based on this template.
- Clone your new repository.
- Install the codetour extension in vscode.
- Open the repository in vscode and start the tour by clicking the butto in codetour's notification or by pressing
ctrl+shift+p
and typingCodeTour: Start Tour
.
- Run
cargo run
to start the server (orbacon run
if you have bacon installed). - Open http://localhost:8080 in your browser.
- htmx - Of course! We don't want to write any javascript.
- rust - Because rust is superiour.
- actix-web - A fast web framework for rust.
- actix-files - For serving static files.
- tera - A for writing reusable html templates.
- serde - For serializing and deserializing data.
- color-eyre - For better error messages.
- lazy_static - For better static variables.
- Please open an issue first to discuss what you would like to change.
- Fork the repository and create a new branch.
- Make your changes and commit them.
- Open a pull request.
- Wait for me to review your changes.
- Celebrate! 🎉