minijinja

MiniJinja is a powerful but minimal dependency template engine for Rust compatible with Jinja/Jinja2 (by mitsuhiko)

Minijinja Alternatives

Similar projects and alternatives to minijinja

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better minijinja alternative or higher similarity.

minijinja reviews and mentions

Posts with mentions or reviews of minijinja. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-04.
  • Cryptoflow: Building a secure and scalable system with Axum and SvelteKit - Part 0
    12 projects | dev.to | 4 Jan 2024
    MiniJinja v1 - Templating engine
  • Full-stack authentication system using rust (actix-web) and sveltekit
    19 projects | dev.to | 23 Apr 2023
    An authentication system is an integral part of modern applications. It's so important that almost all modern applications have some sort of it. Because of their critical nature, such systems should be secure and should follow OWAP®'s recommendations on web security and password hashing as well as storage to prevent attacks such as Preimage and Dictionary attacks (common to SHA algorithms). To demonstrate some of the recommendations, we'll be building a robust session-based authentication system in Rust and a complementary frontend application. For this article series, we'll be using Rust's actix-web and some awesome crates for the backend service. SvelteKit will be used for the frontend. It should be noted however that what we'll be building is largely framework agnostic. As a result, you can decide to opt for axum, rocket, warp or any other rust's web framework for the backend and react, vue or any other javascript framework for the frontend. You can even use rust's yew, seed or some templating engines such as MiniJinja or tera at the frontend. It's entirely up to you. Our focus will be more on the concepts.
  • Axum + Sqlite + minijinja + htmx winning website combo?
    10 projects | /r/rust | 2 Mar 2023
    I worked on a side project (currently with about 30-50 regular real users) using Rust (with axum), sqlite for the database, minijinja for template rendering, and htmx for the frontend interactivity and S3 for backups. It was quick to hack together (who says Rust is bad for prototyping?), and yet I still feel happy about the code quality. It's been running for a while now in production on fly.io free tier, I noticed it's apparently been using a steady 12MB of RAM, and zero errors or production issues so far since its inception. Last night I decided randomly to benchmark it on my laptop, it can handle 4000+ requests per second hitting the database with a bunch of data inside, I have put almost no effort into optimization. I feel like this might be a good result? Perhaps approaches like this will catch on? Something about this feels pretty cool! Has anyone else had this experience using Rust? I can think of multiple applications (in cluster of microservices) I've come across during my day jobs with large AWS bills and much higher incidental complexity that I would probably choose to do differently given this experience if I had the chance.
  • Another rewrite in rust: Pydantic
    2 projects | /r/rust | 18 Feb 2023
    Jinja2 vs minijinja-py: not a rewrite per se tho https://github.com/mitsuhiko/minijinja/tree/main/minijinja-py
  • Experimental MiniJinja Bindings for Python
    1 project | /r/Python | 20 Jan 2023
    Thanks to PyO3 and maturin I was able to make pretty decent Python bindings for MiniJinja, which is a Rust reimplementation of most of Jinja2. This in a way is now full circle.
  • Show HN: Robyn – the fastest Python web framework written in Rust
    6 projects | news.ycombinator.com | 14 Jan 2023
    Ronacher has ported jinja2 (partially) to Rust

    https://github.com/mitsuhiko/minijinja

  • You Can't Do That: Abstracting over Ownership in Rust with Higher-Rank Type Bounds. Or Can You?
    3 projects | /r/rust | 11 Sep 2022
    If you wan't to know why I even dove down into this Rabbit hole: I wanted to enable borrowing for filter functions in MiniJinja. The PR has more context
  • [Questions] Calling a Lua function from Rust: `*mut rlua::ffi::lua_State` cannot be shared between threads safely
    2 projects | /r/rust | 10 Oct 2021
    Hello, I am developing a CLI program for rendering template files using the new MiniJinja library by /u/mitsuhiko.
  • ANN: MiniJinja — a minimal dependency template engine with limited Jinja2 compatibility
    1 project | /r/rust | 24 Sep 2021
    github repo
  • A note from our sponsor - SaaSHub
    www.saashub.com | 4 May 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic minijinja repo stats
9
1,328
9.4
4 days ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com