# Contributing to frislit Thanks for helping. This guide covers the conventions every contribution follows. ## Before you start - Bugs and feature ideas: open an issue with the frislit version, the forwarding mode (path, subdomain, direct TCP/UDP), whether a reverse proxy terminates TLS, and the steps to reproduce. - Security problems: do not open a public issue. Follow [SECURITY.md](SECURITY.md). - By participating you agree to the [Code of Conduct](CODE_OF_CONDUCT.md). ## Development Prerequisites: Node.js 26+ and a stable Rust toolchain for the CLI. ```sh npm install npm test # server tests npm run dev # server + web client cargo check --manifest-path cli/Cargo.toml # CLI ``` The documentation site builds with `npm run docs:build`. ## Branches Use Conventional Branch 1.1.0: `/`, with a lowercase, hyphen-separated description. Examples: `feat/tunnel-badges`, `fix/proxy-redirect`, `docs/install-notes`. Types: `feat`, `fix`, `hotfix`, `chore`, `docs`, `style`, `refactor`, `perf`, `test`, `build`, `ci`, `release`, `revert`. Changes reach `main` through a pull request, and CI must be green before it can merge. ## Commits Use a conventional summary, `type(scope): summary` (for example `fix(gate): stop challenging browser requests`). The whole commit message stays at or under 300 characters; put the reason in the body, not a paragraph of history. ## Versioning frislit follows Semantic Versioning 2.0.0: versions are `MAJOR.MINOR.PATCH` and releases are tagged `vX.Y.Z`. Do not change the version in a contribution; version bumps belong to a release. ## Changelog Every user-visible change gets an entry under `[Unreleased]` in [CHANGELOG.md](CHANGELOG.md), in the matching Keep a Changelog 1.1.0 category: `Added`, `Changed`, `Deprecated`, `Removed`, `Fixed`, `Security`. Write for the person running frislit. ## Pull requests - One concern per pull request, with the test that covers the change. - Keep CI green: it runs the server tests, `cargo check` on Linux and Windows, and a container build. - Link the issue the change closes, or explain in the description why there is none. ## Conduct Participation is covered by [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md).