Thanks for your interest in contributing! Here's how to get started.
- Fork this repository
- Clone your fork locally:
git clone https://github.com/<your-username>/cockpit.git cd cockpit
- Install dependencies:
npm install
- Start the dev server:
npm run dev # runs on port 3456
- Create a feature branch from
main:git checkout -b feat/your-feature
- Make your changes
- Run lint before committing:
npm run lint
- Commit using Conventional Commits:
feat:new featurefix:bug fixdocs:documentation onlyrefactor:code change that neither fixes a bug nor adds a featurechore:maintenance tasks
- Push to your fork and open a Pull Request
- Keep PRs focused — one feature or fix per PR
- Fill out the PR template
- Make sure lint passes
- Add a clear description of what changed and why
- Link related issues using
Fixes #123
- Use the Bug Report issue template
- Include steps to reproduce
- Include your environment info (OS, Node.js version, Cockpit version)
- TypeScript with strict mode
- React functional components
- TailwindCSS for styling
- Run
npm run lintto check
Open an issue with the question label and we'll be happy to help.