Files
frislit/CONTRIBUTING.md
fristy a02370a214 docs(contributing): name the commit convention
The branches section cites Conventional Branch 1.1.0; the commits section now cites Conventional Commits 1.0.0 the same way.
2026-11-17 12:18:24 +03:00

2.3 KiB

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.
  • By participating you agree to the Code of Conduct.

Development

Prerequisites: Node.js 26+ and a stable Rust toolchain for the CLI.

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: <type>/<description>, 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 Conventional Commits 1.0.0: 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, 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.