leptos
actix-web
leptos | actix-web | |
---|---|---|
58 | 176 | |
15,967 | 21,439 | |
1.4% | 1.4% | |
9.9 | 9.4 | |
1 day ago | 5 days ago | |
Rust | Rust | |
MIT License | 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.
leptos
-
Interview with Krzysztof Andrelczyk, Tauri Developer and Creator of Twili Recipes
Why Krzysztof choose Tauri V2, leptos, and thaw-ui
-
Leptos + Tauri Tutorial
I'm not here to present Leptos or Tauri, for that, just clik the links, ask Goole, or ClaudePilotGPTWhateverLLama... I'm not even here to make just a tutorial on how to get the two working -- if you see Tauri documentation on it is quite "terse," but still enough.
- Vizdom: Diagrams as Code
-
Migrating a JavaScript frontend to Leptos, a Rust framework
Lots of new frontend frameworks have been built on top of Rust, including Leptos, which happens to be one of the most popular ones. In this guide, we'll highlight why and how to migrate your JavaScript frontend to use the Leptos Rust frontend framework.
-
Rust on Nails
I don't know why OP felt moved to write this weird guide, https://leptos.dev is incredible!
-
Show HN: Flox 1.0 – Open-source dev env as code with Nix
https://github.com/leptos-rs/leptos/blob/main/flake.nix
You want a package? Add it to buildInputs.
You want to search a package: https://search.nixos.org/packages (or use the cli)
you want to test a package before adding it? nix-shell -p or nix shell for example.
Heck, even if you want it more easy, you could write a tool in less than 100 lines that adds packages names to .json/.yaml/.toml, which allows you to parse it using the nix language and a simple cli written with bash functions to add/remove packages if you wanted.
That's why it is hard for me to understand this project as a product, it seems like a wrapper to the most basic things :\
-
Using CRDTs to build collaborative Rust web applications
We use the fantastic Leptos framework for building the frontend. Besides that, we use the leptos-use utilities for connecting to the WebSocket server, serde for serialization, and rand for generating random numbers.
-
Ask HN: Which full stack framework (NextJS, Remix, SvelteKit) would you use?
I'd use https://leptos.dev because you can use a fully typed language (Rust) that is super fast in the backend and also in the frontend (see https://krausest.github.io/js-framework-benchmark/2024/table...)
- Container2wasm: Convert Containers to WASM Blobs
-
What is the best library to write a SCADA-like application for web?
For the web-side, if you'd like to use Rust end-to-end we've had the best experience with Leptos: https://leptos.dev/
actix-web
-
A recap about the Zentrox development
So, what framework do I use? Zentrox uses the actix_web framework which is a great library. My DevExp. with this tool was nice. It has good documentation and powerful tools. It was easy to implement for me as I was previously using Express.JS and Flask (Python). Actix also has other helper libraries for files, cookies, sessions,... which I use in my project as well.
-
Show HN: Hosting my website using my own C web server
Not to compare but i realice this is something you can do with rust with few lines
https://github.com/actix/actix-web/tree/master/actix-http
-
Understanding AML/KYC: a light primer for engineers
APIs are often the key to enabling interoperability between AML/KYC solutions and other systems. Design APIs following RESTful principles—using libraries like ExpressJs (JavaScript), Flask (Python), or Actix Web (Rust)—ensuring they are stateless and support the JSON/XML formats expected by most systems. Use Swagger to generate detailed documentation for RESTful APIs to facilitate integration and ensure your APIs are easily consumable by other systems. If you’re building GraphQL APIs, using tools like Apollo Server, Prisma, or Graphene will allow for self-documenting APIs (through GraphQL introspection).
- Actix-Web: v4.8.0
- Actix-Web: v4.6.0
-
Empowering Web Privacy with Rust: Building a Decentralized Identity Management System
Actix Web Documentation: Detailed documentation on using Actix-web, including examples and best practices for building web applications with Rust.
-
Ntex: Powerful, pragmatic, fast framework for composable networking services
I can't speak to the "is it any good" part, but (after a bit of research) I can share what I've found. I'll try to represent things as best as I understand, but I may have some finer details mixed up.
ntex is written by the same person that started actix-web, Nikolay Kim (fafhrd91 on GitHub). There was a bunch of drama a while back due to actix-web using (what many reasoned to be) avoidable unsafe code, which was later found to be buggy. Nikolay was pilloried online, resulting in him transferring leadership of actix-web to someone else. ntex is, as I understand it, essentially Nikolay picking back up on his ideals for what could have been actix-web, if people hadn't pushed him out of his own project.
How ntex compares to the pre-/post-leadership change of actix-web, I don't know.
Here are some jumping points if you want more of the backstory.
https://www.theregister.com/2020/01/21/rust_actix_web_framew...
https://steveklabnik.com/writing/a-sad-day-for-rust
https://github.com/actix/actix-web/issues/1289
-
Building a REST API for Math Operations (+, *, /) with Rust, Actix, and Rhai🦀
Are you ready to embark on another journey in Rust? Today, we'll explore how to create a REST API that performs basic mathematical operations: addition, multiplication, and division. We'll use Actix, a powerful web framework for Rust, together with Rhai, a lightweight scripting language, to achieve our goal.
- Actix-Web: v4.5.0
-
Getting Started with Actix Web - The Battle-tested Rust Framework
Within actix-web, middleware is used as a medium for being able to add general functionality to a (set of) route(s) by taking the request before the handler function runs, carrying out some operations, running the actual handler function itself and then the middleware does additional processing (if required). By default, actix-web has several default middlewares that we can use, including logging, path normalisation, access external services and modifying application state (through the ServiceRequest type).
What are some alternatives?
dioxus - App framework for web, desktop, mobile, and more.
axum - Ergonomic and modular web framework built with Tokio, Tower, and Hyper
yew - Rust / Wasm framework for creating reliable and efficient web applications
Rocket - A web framework for Rust.
Svelte - Cybernetically enhanced web apps
Tide - Fast and friendly HTTP server framework for async Rust
tauri - Build smaller, faster, and more secure desktop and mobile applications with a web frontend.
tonic - A native gRPC client & server implementation with async/await support.
sycamore - A library for creating reactive web apps in Rust and WebAssembly
hyper - An HTTP library for Rust
React - The library for web and native user interfaces.
salvo - A powerful web framework built with a simplified design.