Forum software in wust owo
- Rust 93.9%
- CSS 4.5%
- Nix 1%
- JavaScript 0.5%
| migrations | feat: implement minimal post replies | |
| src | format notifications query | |
| static | style: add background color to notification popover | |
| .envrc | initial commit | |
| .gitignore | make the entire area of a thread clickable | |
| Cargo.lock | feat: add name color settings | |
| Cargo.toml | feat: add name color settings | |
| Containerfile | feat: add Containerfile | |
| flake.lock | feat: add snugpile package to flake.nix | |
| flake.nix | simplify pognix config | |
| LICENSE | add license | |
| README.md | feat: add invite codes | |
Set up
Create a .env file with DATABASE_URL, LISTEN_ADDR, BASE_URL and REGISTER_MODE, like so:
DATABASE_URL=postgres://...
LISTEN_ADDR=localhost:1234
BASE_URL=http://localhost:1234
REGISTER_MODE=open
Valid register mode are:
open: all registrations allowedinvite: only allowed to register on invitenone: no registrations allowed
Make sure the database is running.
Run sqlx mig run to run migrations.
Run the server with cargo run.
Navigate to http://localhost:1234.
Tada! Forum! Great success! :3