#production-ready #handlebars #forge #template-generation #hot-reloading #preview #email #email-template

template-forge

Production ready email template generation on top of Handlebars

1 unstable release

Uses new Rust 2024

0.1.0 Jul 5, 2025

#306 in Template engine

MIT license

290KB
418 lines

Template Forge

A simple tool to allow better developer experience around templates generation on top of handlebars-rust.

Includes both production ready template generation and a server to get a preview with default variables under server feature flag.

Server

Examples

  • hotreload, shows how you can start the server to get a preview of your templates.
    cargo run --example hotreload --features server
    
  • advanced, shows how Forge is used in a production context.
    cargo run --example advanced
    

Dependencies

~4–15MB
~199K SLoC