1
0
Fork
You've already forked rust-forum
0
A simple forum built with axum, maud and sqlx
  • Rust 89.8%
  • Fluent 7.8%
  • CSS 1.4%
  • Just 1%
2025年10月16日 15:48:31 +02:00
.cargo Adding cargo wizard optimizations 2025年10月10日 15:30:29 +02:00
locales Adding translations in english 2025年10月16日 15:43:56 +02:00
migrations Creating the message creation code and form 2025年10月13日 18:25:19 +02:00
screenshots Adding screenshots 2025年10月16日 15:46:27 +02:00
src Adding error messages into fluent 2025年10月16日 15:33:51 +02:00
.gitignore Adding theme variables 2025年10月12日 10:33:25 +02:00
Cargo.lock Adding the basics for internationalization using fluent-templates 2025年10月14日 08:57:36 +02:00
Cargo.toml Adding the basics for internationalization using fluent-templates 2025年10月14日 08:57:36 +02:00
input.css Adding the topic creation page 2025年10月12日 19:07:46 +02:00
justfile Adding sudo prompt before reverse proxy command 2025年10月15日 11:17:53 +02:00
README.md Trying a different layout for screenshots 2025年10月16日 15:48:31 +02:00

Simple forum in pure Rust

I just wanted to try out some fun Rust crates so I'm building a basic forum...

Technologies

  • Authentication: openidconnect
  • Authorization: axum-login
  • Sessions: tower-sessions
  • Web framework: axum with tokio
  • Database: sqlx with sqlite feature (which automatically embeds the sqlite library)
  • Styling: Tailwind CSS
  • Templating: maud
  • Error handling: thiserror (and too much unwrap for now)
  • Configuration: dotenvy
  • Static file serving: static-serve
  • Validation: A custom module with functions that takes a reference to a map (key = name of field, value = error message)
  • Internationalization: fluent-templates

Features

  • User: List of categories by subforum
  • User: List of topics per categories
  • User: List of messages per topic
  • User: Edit username
  • User: Create new topic
  • User: Create new message
  • Admin: Create new category
  • Admin: Create new subforum

Screenshots

Here are a few screenshots of what the application looks like:

Description Large screen Small screen
List of categories
List of topics in category Forgot screenshot
List of messages in topic Forgot screenshot