torchbear-0.4.1 doesn't have any documentation.
torchbear 🔥🐻 is an extremely fast and featureful Lua application framework. It gives you power of Rust with the simplicity of Lua.
Built-in Tools
- Actix Web HTTP/1.x and HTTP/2.0 web servers and clients
- Tera Jinja template rendering
- Comrak Markdown output
- Libsodium Signatures and Encryption
std::fs::*
Filesystem operationsstd::collections::HashSet
Set-theoretic operations- Serde YAML and JSON serializing/deserializing
- UUID-rs UUID generation and verification
- Chrono Time/Date generation and verification
- Select-rs HTML scraping
- libgit2 Git repo creation, commit staging, and log access
- The Lua Debug Library traceback error messages
Installation
- Download the latest torchbear release.
- Unzip it in your application.
- Run
torchbear
.
Windows, Android, and Linux builds available for primary architectures. MacOS builds still to come. OS Pacakge Managers support coming soon - contributions welcomed.
Android users, install Termux for a full Linux envrionment.
Examples
Static Webserver
Hello World App
- in
init.lua
print("hello from torchbear")
- in
Settings.toml
init = "init.lua"
- run
torchbear