Contributing
Thank you for your interest in contributing to FGP!
Quick Links
Ways to Contribute
Documentation
- Fix typos and improve clarity
- Add examples and tutorials
- Translate documentation
Code
- Fix bugs
- Add new daemon methods
- Improve performance
- Add tests
New Daemons
Build integrations for new services! See Building Daemons.
Development Setup
Rust Components
# Clone
git clone https://github.com/fast-gateway-protocol/daemon
cd daemon
# Build
cargo build
# Test
cargo test
# Lint
cargo clippy
cargo fmt --check
Python Components
Pull Request Process
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests
- Run
cargo fmtandcargo clippy - Submit PR
PR Guidelines
- Keep PRs focused
- Include tests
- Update docs if needed
- Follow commit conventions
Commit Messages
We use conventional commits:
feat(browser): add scroll method
fix(gmail): handle empty inbox
docs: update installation guide
test: add protocol tests
Code Style
Rust
- Follow standard Rust conventions
- Run
cargo fmt - Address
cargo clippywarnings - Use meaningful variable names
Documentation
- Use clear, simple language
- Include code examples
- Keep explanations concise
Questions?
- Open an issue for bugs
- Start a discussion for questions
- Check existing issues first