2021-11-03 09:20:01 +01:00
# Community Projects
If your project isn't listed here and you would like it to be, please feel free to create a PR.
## Community maintained axum ecosystem
2021-11-09 09:39:03 +01:00
- [axum-server ](https://crates.io/crates/axum-server ): axum-server is a hyper server implementation designed to be used with axum.
2021-11-03 10:26:20 +01:00
- [axum-typed-websockets ](https://crates.io/crates/axum-typed-websockets ): `axum::extract::ws` with type safe messages.
2021-11-24 17:44:34 +01:00
- [tower-cookies ](https://crates.io/crates/tower-cookies ): Cookie manager middleware
2021-11-07 17:17:13 +01:00
- [axum-flash ](https://crates.io/crates/axum-flash ): One-time notifications (aka flash messages) for axum.
2022-01-22 10:13:53 +01:00
- [axum-msgpack ](https://crates.io/crates/axum-msgpack ): MessagePack Extractors for axum.
2022-03-05 01:26:40 +01:00
- [axum-sqlx-tx ](https://crates.io/crates/axum-sqlx-tx ): Request-bound [SQLx ](https://github.com/launchbadge/sqlx#readme ) transactions with automatic commit/rollback based on response.
2022-06-18 08:06:31 +02:00
- [aliri_axum ](https://docs.rs/aliri_axum ) and [aliri_tower ](https://docs.rs/aliri_tower ): JWT validation middleware and OAuth2 scopes enforcing extractors.
2022-03-26 16:22:07 +01:00
- [ezsockets ](https://github.com/gbaranski/ezsockets ): Easy to use WebSocket library that integrates with Axum.
2023-03-13 16:44:33 +01:00
- [axum_session ](https://github.com/AscendingCreations/AxumSessions ): Database persistent sessions like pythons flask_sessionstore for Axum.
2023-08-08 10:40:44 +02:00
- [axum_session_auth ](https://github.com/AscendingCreations/AxumSessionsAuth ): Persistent session based user login with rights management for Axum.
2022-04-01 08:19:14 +02:00
- [axum-auth ](https://crates.io/crates/axum-auth ): High-level http auth extractors for axum.
2023-03-26 17:10:00 +02:00
- [axum-keycloak-auth ](https://github.com/lpotthast/axum-keycloak-auth ): Protect axum routes with a JWT emitted by Keycloak.
2022-05-15 17:26:37 +02:00
- [axum-tungstenite ](https://github.com/davidpdrsn/axum-tungstenite ): WebSocket connections for axum directly using tungstenite
2022-05-26 12:07:26 +02:00
- [axum-jrpc ](https://github.com/0xdeafbeef/axum-jrpc ): Json-rpc extractor for axum
2022-06-11 21:33:39 +02:00
- [axum-tracing-opentelemetry ](https://crates.io/crates/axum-tracing-opentelemetry ): Middlewares and tools to integrate axum + tracing + opentelemetry
2022-07-31 09:13:09 +02:00
- [svelte-axum-project ](https://github.com/jbertovic/svelte-axum-project ): Template and example for Svelte frontend app with Axum as backend
2022-07-31 16:47:51 +02:00
- [axum-streams ](https://github.com/abdolence/axum-streams-rs ): Streaming HTTP body with different formats: JSON, CSV, Protobuf.
2022-08-12 12:09:13 +02:00
- [axum-template ](https://github.com/Altair-Bueno/axum-template ): Layers, extractors and template engine wrappers for axum based Web MVC applications
2023-11-21 10:59:04 +01:00
- [axum-template ](https://github.com/janos-r/axum-template ): GraphQL and REST API, SurrealDb, JWT auth, direct error handling, request logs
2022-09-03 17:54:25 +02:00
- [axum-guard-logic ](https://github.com/sjud/axum_guard_logic ): Use AND/OR logic to extract types and check their values against `Service` inputs.
2022-09-18 21:34:13 +02:00
- [axum-casbin-auth ](https://github.com/casbin-rs/axum-casbin-auth ): Casbin access control middleware for axum framework
2022-09-08 20:30:41 +02:00
- [aide ](https://docs.rs/aide ): Code-first Open API documentation generator with [axum integration ](https://docs.rs/aide/latest/aide/axum/index.html ).
2024-03-14 23:12:15 +01:00
- [axum-typed-routing ](https://docs.rs/axum-typed-routing/latest/axum_typed_routing/ ): Statically typed routing macros with OpenAPI generation using aide.
2022-09-08 20:30:41 +02:00
- [axum-jsonschema ](https://docs.rs/axum-jsonschema/ ): A `Json<T>` extractor that does JSON schema validation of requests.
2022-11-20 21:51:51 +01:00
- [axum-login ](https://docs.rs/axum-login ): Session-based user authentication for axum.
2022-11-24 09:59:10 +01:00
- [axum-csrf-sync-pattern ](https://crates.io/crates/axum-csrf-sync-pattern ): A middleware implementing CSRF STP for AJAX backends and API endpoints.
2022-11-25 17:41:59 +01:00
- [axum-otel-metrics ](https://github.com/ttys3/axum-otel-metrics/ ): A axum OpenTelemetry Metrics middleware with prometheus exporter supported.
2023-03-04 16:32:27 +01:00
- [jwt-authorizer ](https://crates.io/crates/jwt-authorizer ): JWT authorization layer for axum (oidc discovery, validation options, claims extraction, etc.)
2023-03-06 23:34:55 +01:00
- [axum-typed-multipart ](https://crates.io/crates/axum_typed_multipart ): Type safe wrapper for `axum::extract::Multipart` .
2023-03-15 18:14:46 +01:00
- [tower-governor ](https://crates.io/crates/tower_governor ): A Tower service and layer that provides a rate-limiting backend by [governor ](https://crates.io/crates/governor )
2023-04-01 09:19:25 +02:00
- [axum-restful ](https://github.com/gongzhengyang/axum-restful ): A restful framework based on axum and sea-orm, inspired by django-rest-framework.
2023-04-21 15:40:08 +02:00
- [springtime-web-axum ](https://crates.io/crates/springtime-web-axum ): A web framework built on Springtime and axum, leveraging dependency injection for easy app development.
2023-08-09 09:30:44 +02:00
- [rust-axum-with-google-oauth ](https://github.com/randommm/rust-axum-with-google-oauth ): website template for Google OAuth authentication on Axum, using SQLite with SQLx or MongoDB and MiniJinja.
- [axum-htmx ](https://github.com/robertwayne/axum-htmx ): Htmx extractors and request guards for axum.
2023-10-25 11:20:07 +02:00
- [axum-prometheus ](https://github.com/ptrskay3/axum-prometheus ): A middleware library to collect HTTP metrics for axum applications, compatible with all [metrics.rs ](https://metrics.rs ) exporters.
2023-10-31 21:59:37 +01:00
- [axum-valid ](https://github.com/gengteng/axum-valid ): Extractors for data validation using validator, garde, and validify.
2023-11-08 08:10:17 +01:00
- [tower-sessions ](https://github.com/maxcountryman/tower-sessions ): Sessions as a `tower` and `axum` middleware.
2023-11-08 18:32:17 +01:00
- [shuttle ](https://github.com/shuttle-hq/shuttle ): Build & ship backends without writing any infrastructure files. Now with Axum support.
2023-11-22 20:37:35 +01:00
- [socketioxide ](https://github.com/totodore/socketioxide ): An easy to use socket.io server implementation working as a `tower` layer/service.
2023-12-02 14:18:45 +01:00
- [axum-serde ](https://github.com/gengteng/axum-serde ): Provides multiple serde-based extractors / responses, also offers a macro to easily customize serde-based extractors / responses.
2023-12-19 08:58:00 +01:00
- [loco.rs ](https://github.com/loco-rs/loco ): A full stack Web and API productivity framework similar to Rails, based on Axum.
2024-01-14 11:35:29 +01:00
- [axum-test ](https://crates.io/crates/axum-test ): High level library for writing Cargo tests that run against Axum.
2024-01-19 20:36:22 +01:00
- [axum-messages ](https://github.com/maxcountryman/axum-messages ): One-time notification messages for Axum.
2024-08-17 17:17:32 +02:00
- [spring-rs ](https://github.com/spring-rs/spring-rs ): spring-rs is a microservice framework written in rust inspired by java's spring-boot, based on axum
2024-09-12 16:14:16 +02:00
- [zino ](https://github.com/zino-rs/zino ): Zino is a next-generation framework for composable applications which provides full integrations with axum.
2024-11-12 17:54:38 +01:00
- [axum-rails-cookie ](https://github.com/endoze/axum-rails-cookie ): Extract rails session cookies in axum based apps.
2024-12-02 14:48:03 +01:00
- [axum-ws-broadcaster ](https://github.com/Necoo33/axum-ws-broadcaster ): A broadcasting liblary for both [axum-typed-websockets ](https://crates.io/crates/axum-typed-websockets ) and `axum::extract::ws` .
2021-11-03 09:20:01 +01:00
## Project showcase
2022-07-11 19:22:01 +02:00
- [HomeDisk ](https://github.com/MedzikUser/HomeDisk ): ☁️ Fast, lightweight and Open Source local cloud for your data.
2021-11-03 09:20:01 +01:00
- [Houseflow ](https://github.com/gbaranski/houseflow ): House automation platform written in Rust.
- [JWT Auth ](https://github.com/Z4RX/axum_jwt_example ): JWT auth service for educational purposes.
- [ROAPI ](https://github.com/roapi/roapi ): Create full-fledged APIs for static datasets without writing a single line of code.
- [notify.run ](https://github.com/notify-run/notify-run-rs ): HTTP-to-WebPush relay for sending desktop/mobile notifications to yourself, written in Rust.
2021-11-05 13:23:53 +01:00
- [turbo.fish ](https://turbo.fish/ ) ([repository](https://github.com/jplatte/turbo.fish)): Find out for yourself 😉
2021-12-29 20:12:50 +01:00
- [Book Management ](https://github.com/lz1998/axum-book-management ): CRUD system of book-management with ORM and JWT for educational purposes.
2022-02-01 08:10:03 +01:00
- [realworld-axum-sqlx ](https://github.com/launchbadge/realworld-axum-sqlx ): A Rust implementation of the [Realworld] demo app spec using Axum and [SQLx].
2022-10-14 23:42:58 +02:00
See https://github.com/davidpdrsn/realworld-axum-sqlx for a fork with up to date dependencies.
2022-02-05 00:41:15 +01:00
- [Rustapi ](https://github.com/ndelvalle/rustapi ): RESTful API template using MongoDB
2024-07-04 21:57:25 +02:00
- [axum-postgres-template ](https://github.com/koskeller/axum-postgres-template ): Production-ready Axum + PostgreSQL application template
2024-02-11 12:16:44 +01:00
- [RUSTfulapi ](https://github.com/robatipoor/rustfulapi ): Reusable template for building REST Web Services in Rust. Uses Axum HTTP web framework and SeaORM.
2022-02-05 16:14:36 +01:00
- [Jotsy ](https://github.com/ohsayan/jotsy ): Self-hosted notes app powered by Skytable, Axum and Tokio
2022-02-16 13:25:50 +01:00
- [Svix ](https://www.svix.com ) ([repository](https://github.com/svix/svix-webhooks)): Enterprise-ready webhook service
2022-04-23 17:03:20 +02:00
- [emojied ](https://emojied.net ) ([repository](https://github.com/sekunho/emojied)): Shorten URLs to emojis!
2022-04-27 15:32:51 +02:00
- [CLOMonitor ](https://clomonitor.io ) ([repository](https://github.com/cncf/clomonitor)): Checks open source projects repositories to verify they meet certain best practices.
2022-05-24 16:46:38 +02:00
- [Pinging.net ](https://www.pinging.net ) ([repository](https://github.com/benhansenslc/pinging)): A new way to check and monitor your internet connection.
2022-06-03 14:34:38 +02:00
- [wastebin ](https://github.com/matze/wastebin ): A minimalist pastebin service.
2022-06-11 21:33:39 +02:00
- [sandbox_axum_observability ](https://github.com/davidB/sandbox_axum_observability ) A Sandbox/showcase project to experiment axum and observability (tracing, opentelemetry, jaeger, grafana tempo,...)
2022-07-19 18:04:57 +02:00
- [axum_admin ](https://github.com/lingdu1234/axum_admin ): An admin panel built with **axum** , Sea-orm and Vue 3.
2022-07-27 05:39:09 +02:00
- [rgit ](https://git.inept.dev/~doyle/rgit.git/about ): A blazingly fast Git repository browser, compatible with- and heavily inspired by cgit.
2022-08-12 12:02:52 +02:00
- [Petclinic ](https://github.com/danipardo/petclinic ): A port of Spring Framework's Petclinic showcase project to Axum
2022-09-18 21:34:13 +02:00
- [axum-middleware-example ](https://github.com/casbin-rs/axum-middleware-example ): A authorization application using Axum-web, Casbin and Diesel, with JWT support.
2022-09-26 20:41:49 +02:00
- [circleci-hook ](https://github.com/DavidS/circleci-hook ): Translate CircleCI WebHooks to OpenTelemetry traces to improve your test insights. Add detail with otel-cli to capture individual commands. Use the TRACEPARENT integration to add details from your tests.
2022-10-25 11:37:21 +02:00
- [lishuuro.org ](https://github.com/uros-5/backend-lishuuro ): Small chess variant server that uses Rust as backend(Axum framework).
2022-11-22 09:26:30 +01:00
- [freedit ](https://github.com/freedit-org/freedit ): A forum powered by rust.
2022-11-26 08:47:32 +01:00
- [axum-http-auth-example ](https://github.com/i0n/axum-http-auth-example ): Axum http auth example using postgres and redis.
2023-02-20 21:04:55 +01:00
- [Deaftone ](https://github.com/Deaftone/Deaftone ): Lightweight music server. With a clean and simple API
2023-03-05 18:19:34 +01:00
- [dropit ](https://github.com/scotow/dropit ): Temporary file hosting.
- [cobrust ](https://github.com/scotow/cobrust ): Multiplayer web based snake game.
- [meta-cross ](https://github.com/scotow/meta-cross ): Tweaked version of Tic-Tac-Toe.
- [httq ](https://github.com/scotow/httq ) HTTP to MQTT trivial proxy.
2024-10-14 10:21:02 +02:00
- [Pods-Blitz ](https://pods-blitz.org ) Self-hosted podcast publisher. Uses the crates axum-login, password-auth, sqlx and handlebars (for HTML templates).
2023-07-15 01:03:20 +02:00
- [ReductStore ](https://github.com/reductstore/reductstore ): A time series database for storing and managing large amounts of blob data
- [randoku ](https://github.com/stchris/randoku ): A tiny web service which generates random numbers and shuffles lists randomly
2023-10-26 00:38:42 +02:00
- [sero ](https://github.com/clowzed/sero ): Host static sites with custom subdomains as surge.sh does. But with full control and cool new features. (axum, sea-orm, postgresql)
2023-12-29 17:47:57 +01:00
- [Hatsu ](https://github.com/importantimport/hatsu ): 🩵 Self-hosted & Fully-automated ActivityPub Bridge for Static Sites.
2024-08-06 19:11:30 +02:00
- [Mini RPS ](https://github.com/marcodpt/minirps ): Mini reverse proxy server, HTTPS, CORS, static file hosting and template engine (minijinja).
2022-02-01 08:10:03 +01:00
[Realworld]: https://github.com/gothinkster/realworld
[SQLx]: https://github.com/launchbadge/sqlx
2021-11-15 08:31:41 +01:00
## Tutorials
2022-11-12 14:45:18 +01:00
- [Rust on Nails ](https://rust-on-nails.com/ ): A full stack architecture for Rust web applications (uses Axum)
2022-03-12 22:09:30 +01:00
- [axum-tutorial] ([website][axum-tutorial-website]): Axum web framework tutorial for beginners.
- [demo-rust-axum]: Demo of Rust and axum web framework
2022-07-07 22:48:30 +02:00
- [Introduction to axum (talk)]: Talk about axum from the Copenhagen Rust Meetup.
2022-07-21 22:56:33 +02:00
- [Getting Started with Axum]: Axum tutorial, GET, POST endpoints and serving files.
2023-04-11 10:37:22 +02:00
- [Using Rust, Axum, PostgreSQL, and Tokio to build a Blog]
- [Introduction to axum]: YouTube playlist
- [Rust Axum Full Course]: YouTube video
2023-11-08 18:32:17 +01:00
- [Deploying Axum projects with Shuttle]
2024-09-21 09:09:23 +02:00
- [API Development with Rust ](https://rust-api.dev/docs/front-matter/preface/ ): REST APIs based on Axum
2021-11-15 08:31:41 +01:00
[axum-tutorial]: https://github.com/programatik29/axum-tutorial
[axum-tutorial-website]: https://programatik29.github.io/axum-tutorial/
2022-03-12 22:09:30 +01:00
[demo-rust-axum]: https://github.com/joelparkerhenderson/demo-rust-axum
2022-07-07 22:48:30 +02:00
[Introduction to axum (talk)]: https://www.youtube.com/watch?v=ETdmhh7OQpA
2022-07-22 12:20:34 +02:00
[Getting Started with Axum]: https://carlosmv.hashnode.dev/getting-started-with-axum-rust
2023-04-11 10:37:22 +02:00
[Using Rust, Axum, PostgreSQL, and Tokio to build a Blog]: https://spacedimp.com/blog/using-rust-axum-postgresql-and-tokio-to-build-a-blog/
[Introduction to axum]: https://www.youtube.com/playlist?list=PLrmY5pVcnuE-_CP7XZ_44HN-mDrLQV4nS
[Rust Axum Full Course]: https://www.youtube.com/watch?v=XZtlD_m59sM
2023-11-08 18:32:17 +01:00
[Deploying Axum projects with Shuttle]: https://docs.shuttle.rs/examples/axum
2023-05-24 17:08:33 +02:00
[Building a SaaS with Rust & Next.js ](https://joshmo.bearblog.dev/lets-build-a-saas-with-rust/ ) A tutorial for combining Next.js with Rust via Axum to make a SaaS.