Thank you for your interest in contributing to PeerChat! We are excited to build the future of decentralized communication together.
We welcome the use of AI tools (like Claude Code, Cursor, Gemini, etc.) to assist in your contributions. However, to maintain the high quality and security of PeerChat, we ask that you follow these guidelines:
- Human-in-the-Loop: You are responsible for every line of code you submit. You must understand the logic, security implications, and architecture of any AI-suggested changes.
- Transparency: If a significant portion of your PR was generated by AI, please disclose this in the PR description.
- Quality First: Do not submit "low-effort" AI generated code. Ensure all code follows our project's style and passes all tests.
- Fork the repo and create your branch from
main. - Setup the environment: Ensure you have Flutter installed and run
flutter pub get. - Make your changes: Implement your feature or fix.
- Test: Run
flutter testto ensure no regressions. - Submit a PR: Detailed instructions below.
- Follow the official Flutter style guide.
- Use
dart formatbefore committing. - Ensure all new features are accompanied by tests.
PeerChat is a privacy app. Any contribution involving cryptography or networking must be peer-reviewed with extreme care. Never include hardcoded keys or reduce encryption standards.
Join our Discussions if you have questions or want to propose a major change before starting work.