You can compile Tera to WASM if you want but that's the only solution if you want to use Tera templates outside of Rust.
As mentioned, it is _extremely_ similar to Jinja2 in Python, a good number of Jinja2 templates should be valid Tera and vice-versa.