minijinja
ux-samples
minijinja | ux-samples | |
---|---|---|
9 | 3 | |
1,320 | 7 | |
- | - | |
9.4 | 0.0 | |
5 days ago | almost 3 years ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
minijinja
-
Cryptoflow: Building a secure and scalable system with Axum and SvelteKit - Part 0
MiniJinja v1 - Templating engine
-
Full-stack authentication system using rust (actix-web) and sveltekit
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?
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
Jinja2 vs minijinja-py: not a rewrite per se tho https://github.com/mitsuhiko/minijinja/tree/main/minijinja-py
-
Experimental MiniJinja Bindings for Python
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
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?
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
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
github repo
ux-samples
-
Lifetime issues with DataStream
I've updated ux-dataflow, ux-animate and ux-charts to make it easier to use. Check the https://github.com/angular-rust/ux-samples/blob/main/charts-demo/src/bin/line-chart.rs.
-
UX Animate v0.1.2 relesed. The most impressive animation has arrived
32 examples and 12 tutorials are under development. I think I need one more day to complete it. ))) If you want to see the code ready to learn, check this link https://github.com/angular-rust/ux-samples/tree/main/bar-chart
-
cogl-rs is Rust bindings for the Cogl library. COGL is a modern 3D graphics API with associated utility APIs designed to expose the features of 3D graphics hardware using a more object oriented design than OpenGL.
As for the `Zola message` - work is underway. Some documentation is ready, all that remains is to make editorial changes. If you need developer documentation, check out https://docs.rs/ux-framework. Some nice samples are ready here https://github.com/angular-rust/ux-samples
What are some alternatives?
tera - A template engine for Rust based on Jinja2/Django
eww - ElKowars wacky widgets
askama - Type-safe, compiled Jinja-like templates for Rust
poppler-rs - Render PDFs in Rust using libpoppler
rust - Empowering everyone to build reliable and efficient software.
dsam - Automap DecentSampler / SFZ instruments from a folder of samples
alacritty - A cross-platform, OpenGL terminal emulator.
clutter-rs
actix-web - Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust.
rust - Rust for the xtensa architecture. Built in targets for the ESP32 and ESP8266
robyn-comparison-benchmarks
smithy-rs - Code generation for the AWS SDK for Rust, as well as server and generic smithy client generation.