Development
Thanks for your interest in contributing to Wyrm.
While LLM-assisted contributions are welcome, please make sure you understand the codebase by reading through Wyrm’s architecture in Architecture, and that you understand every line you push. Wyrm is built out of a passion for free software and strives to deliver quality, maintainable software for everyone.
Prerequisites
Section titled “Prerequisites”- Rust (stable toolchain), plus nightly for
rustfmt - PostgreSQL
- Node.js
- pnpm
- cargo-machete and pg_format 5.11, used by the lint script
- mprocs (optional, runs backend and frontend together)
Fork and clone
Section titled “Fork and clone”Fork wyrmrss/WyrmRSS on GitHub, then clone your fork:
git clone git@github.com:<your-username>/WyrmRSS.gitcd WyrmRSSConfigure
Section titled “Configure”Copy the example config:
cp config/wyrm-example.toml config/wyrm.tomlThen edit config/wyrm.toml:
- Set
database_connectionto a Postgres database you can write to. - Set
port = 3001. The frontend dev server sends/apirequests tolocalhost:3001. - Keep
public_url = "http://localhost:5173", the address of the frontend dev server.
The server runs database migrations on startup, so an empty database is enough.
Start the backend from the repository root:
cargo run -p serverIn a second terminal, start the frontend:
cd webpnpm installpnpm devOr run both at once with mprocs from the repository root.
Open Wyrm at http://localhost:5173.
Run the tests
Section titled “Run the tests”Backend tests run against the Postgres database in config/wyrm.toml:
cargo testcargo test also regenerates the TypeScript types in web/src/types/.
Run all linters before you open a pull request:
./scripts/lint.shThis runs rustfmt (nightly), clippy and cargo machete on the backend and
desktop app, pg_format on the SQL migrations, and eslint on the frontend.
rustfmt and pg_format rewrite files in place, and the script lists any
files they changed. CI runs the same checks.