Anonymous Reddit-style clone. Server-side rendered with Gleam, Lustre (views only), HTMX (hx), and Wisp. Data in XTDB 2.0 via Postgres wire protocol (postgleam).
-
Start XTDB (Postgres wire on 5432):
docker compose up -d
-
Run the app:
gleam run
Optional env: SECRET_KEY_BASE, DB_HOST, DB_PORT, DB_NAME, DB_USER, DB_PASSWORD (defaults: localhost, 5432, xtdb, xtdb, "").
gleam run # Run the project (requires XTDB)
gleam test # Run the tests
gleam build # Compile only- HTTP: Wisp + Mist
- Views: Lustre (SSR only;
element.to_string/to_document_string) - Interactivity: HTMX via hx
- Database: XTDB 2.0 (Postgres wire), postgleam