8000 GitHub - sripwoud/forum: The safest and lightest forum, powered by rust.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
/ forum Public
forked from freedit-org/freedit

The safest and lightest forum, powered by rust.

Notifications You must be signed in to change notification settings

sripwoud/forum

 
 

Repository files navigation

PSE Forum

Client

Freedit New UI dev version
forum.pse.dev forum-blond.vercel.app

Just run the whole thing locally

☑️ Requirements: docker, docker-compose.

  • ▶️ ./up to start everything

    This will:
    1. Start all services (postgres db, vite client, rust server) as docker containers
    2. Opens automatically the frontend in your browser
  • ⏹️ ./down to stop everything

    This will stop all the services (nothing else than `docker compose down`).

Develop

We use mise to manage runtimes, manage environment variables, and run tasks.
Install it and start everything in dev mode with:

curl https://mise.run | sh
mise activate
mise run d
  1. Installs mise
  2. Installs necessary runtimes (bun, rust)
  3. Installs necessary packages (node_modules, cargo deps)
  4. Spins up a postgres database and runs the migrations against it
  5. Generates prisma client and corresponding TS types
  6. Starts the api server in dev mode
  7. Starts the frontend client in dev mode

Inbucket

During local development, we use inbucket to receive confirmation emails.
The mailboxes are available at localhost:9000.

Monitoring

The docker compose setup includes a Grafana, Loki, and Promtail instance to monitor the server logs.
The Grafana dashboard is accessible at [localhost:3002](http://localhost:3002] during local development. You will have to add the Loki data source to your grafana instance (explore > open advanced data source picker > configure new data source > loki > add url).

Freedit

This project started as a fork of Freedit, but has since diverged quite a bit.
forum.pse.dev still runs this original freedit codebase.
Run it with:

mise r freedit

or

cargo run -r --bin freedit

About

The safest and lightest forum, powered by rust.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Rust 53.2%
  • HTML 23.7%
  • TypeScript 19.7%
  • PLpgSQL 1.1%
  • Shell 0.9%
  • JavaScript 0.8%
  • Other 0.6%
0