r/NeutralTS • u/[deleted] • Feb 02 '25
Rust HTML Template Engine
Neutral TS is a web templating system designed to work independently of any programming language, allowing integration through inter-process communication (IPC) or as a native library in Rust.
Key Features
Security: Built in Rust, one of the safest programming languages. It has no direct access to application data.
Language Independence: Compatible with any programming language via IPC.
Modularity and Parametrization: Facilitates the creation of reusable components.
Efficiency: Optimized for performance.
Additional Functionalities:
Support for loops (
for,each).Reusable fragments.
Nesting and grouping of blocks.
HTTP redirects and error handling (403, 404, etc.).
Comments within templates.
Localization (translations).
How It Works
In Rust, it can be used as a library directly.
In other languages, it connects to the Neutral TS server via IPC, similar to how databases like MariaDB function. This ensures consistent results regardless of the programming language used.