GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - actix/examples: Community showcase and examples of Actix Web ecosystem usage.

BranchesTags
Open more actions menu

Latest commit

 

History

2,518 Commits
2,518 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.sqlx
.sqlx
 
 
auth
auth
 
 
background-jobs
background-jobs
 
 
basics
basics
 
 
cache/redis
cache/redis
 
 
cors
cors
 
 
data-factory
data-factory
 
 
databases
databases
 
 
docker
docker
 
 
examples-common
examples-common
 
 
forms
forms
 
 
graphql
graphql
 
 
guards
guards
 
 
http-proxy
http-proxy
 
 
https-tls
https-tls
 
 
json
json
 
 
middleware
middleware
 
 
protobuf
protobuf
 
 
run-in-thread
run-in-thread
 
 
server-sent-events
server-sent-events
 
 
shutdown-server
shutdown-server
 
 
templating
templating
 
 
tracing
tracing
 
 
unix-socket
unix-socket
 
 
websockets
websockets
 
 
.cspell.yml
.cspell.yml
 
 
.envrc
.envrc
 
 
.gitignore
.gitignore
 
 
.prettierrc.yml
.prettierrc.yml
 
 
.rustfmt.toml
.rustfmt.toml
 
 
.taplo.toml
.taplo.toml
 
 
Cargo.lock
Cargo.lock
 
 
Cargo.toml
Cargo.toml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
codecov.yml
codecov.yml
 
 
flake.lock
flake.lock
 
 
flake.nix
flake.nix
 
 
justfile
justfile
 
 
weather.db
weather.db
 
 
zizmor.yml
zizmor.yml
 
 

Repository files navigation

Actix Examples

Curated examples using the Actix ecosystem.

CI status Chat on Discord

Running The Examples

Use the latest stable Rust toolchain.

Start an example's instructions from the repository root. Each cd command selects the directory for the commands that follow it. Keep that directory for later setup and server commands. Use a separate terminal for client requests while the server runs.

Each example README lists its prerequisites and run instructions. Examples that use external services require those services to be running first.

Community Showcase

  • Merino: Web service for Firefox Suggest.
  • Contile: The back-end server for the Mozilla Tile Service (MTS).
  • Fractalbits: The ultimate S3 compatible high performance object storage in the AI era.
  • lemmy: A federated alternative to reddit in Rust.
  • MeiliSearch: Fast, Relevant and Typo-Tolerant Search Engine. Open source alternative to Algolia.
  • Martin: Blazing fast and lightweight PostGIS, MBtiles and PMtiles tile server.
  • hyperswitch: An Open Source Financial Switch to make payment open, fast, secure and reliable.
  • tokei.rs: The tokei.rs server code.
  • Labrinth: Rust-based backend to serve the modrinth API.
  • Barricade: Quickly add user registration and logon to any application.
  • Bloom: The simplest way to de-Google your life and business: Inbox, Calendar, Files, Contacts & much more.
  • GitArena: Software development platform with built-in VCS, issue tracking and code review.
  • Four in a Row - Server: An online version of the popular game four in a row, written in Rust on the server side and Flutter + Dart on the client.
  • Nitro Repo: An open source artifact manager. Rust back-end and Vue front-end.
  • mCaptcha: Proof of work based, privacy focused, libre CAPTCHA system. Crates used: actix-web, sqlx, redis, and lettre.
  • Zero2prod: Source code of zero to production book zero2prod.com. Paid book but some of the chapters are available online for free. The book compares and explains the chosen technologies, like Actix Web and SQLx.
  • Triox: A free file hosting server that focuses on speed, reliability and security.
  • binserve: A fast, secure, and easy to set up static web server written on top of Actix Web with routing, templating, and various other features.
  • Roseline: A personal web site and discord & IRC bot to access simple SQLite database. Demonstrates usage of various Actix and Actix Web concepts.
  • Dalted: Simple webapp that showcases the integration of image-rs with Actix Web for color blindness simulations.
  • Atomic-Server: Graph database with a dynamic schema, authorization and full text search.
  • Operator: A web server for static and dynamic content.
  • RCOS Telescope: The RCOS website and Discord bot.
  • WebThings Registration Server: Exposes an HTTP API that lets you register a WebThings Gateway for tunneling support
  • pict-rs: An image host API service
  • rustypaste: A minimal file upload/pastebin service
  • rustus: A TUS protocol implementation that helps you handle file uploads
  • gcs-proxy: A Google Cloud Storage download proxy
  • trieve: All-in-one infrastructure for building search, recommendations, and RAG.
  • openapi-rs: This project adds a middleware layer to Actix Web using openapi-rs, enabling automatic request validation and processing based on OpenAPI 3.1 specifications. It helps ensure that the server behavior strictly follows the OpenAPI contract

Community Articles, Example Apps, Starters & Boilerplate Projects

  • create-rust-app: Set up a modern Rust + React web app by running one command.
  • Actix and SQLx User CRUD for MySQL: A User CRUD showcasing MySQL database interaction with full integration test coverage, designed to fit comfortably in a system of micro-services.
  • Rust, Actix Web & Heroku: A Heroku buildpack example for Actix Web.
  • webapp.rs: A web application completely written in Rust.
  • RealWorld Example App: Implementation of the RealWorld backend API spec in Actix.
  • Canduma: Rust authentication server boilerplate
  • Rust, Docker & GraphQL: An example of using Dataloaders, context, and a minimal docker container.
  • Complete Actix 2.x REST Server: Actix 2.x HTTP Server featuring multi-database support, auth/JWTs, caching, static files, app state, tests, coverage, and docker.
  • Actix Server Authentication with JWT and MongoDB: An implementation of JWT in Actix.
  • Production-Grade Logging in Rust Applications: An article showcasing the use of tracing in an Actix application
  • Fullstack-Rust: A Full Stack Rust application (Connect5 game) with Actix Web, Yew, Bulma CSS and Diesel.
  • Mozilla Services Skeleton App
  • rayspace.dev: Minimalist dev portfolio and blog implemented as a Rust-powered SPA, featuring GitHub OAuth, session management, static file serving, API endpoints, and SQLx integration.
  • Blog with markdown rendering: Blog example built with Actix Web, diesel (with Postgres) and r2d2 rendering articles in markdown with metadata and a front-end with React.
  • Rust, Angular, PostgreSQL and JWT Security: Boilerplate project that implements an Angular + Actix Web application with login and registration pages, that is pre-dockerized.
  • planters_cycle: Another boilerplate fullstack application with identity system, prisma and NextJs.
  • Actix + Apalis + SQlite: Example that shows how to dispatch and manage background jobs using actix + apalis + sqlx (sqlite)

Paid Resources

  • [book] Zero2prod by Luca Palmieri: Takes you on a journey to discover the world of backend development in Rust.

Contribute

Pull requests welcome for small, focused example projects demonstrating patterns or techniques.

Submissions also accepted to have your app or repo considered for the showcase lists.

About

Community showcase and examples of Actix Web ecosystem usage.

Topics

actixactix-webexamplesrust

Resources

Readme
Apache-2.0 license

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

4.0k stars

Watchers

59 watching

Forks

812 forks
Report repository

Sponsor this project

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.