Thank you for your interest in contributing! This guide will help you get started.
- Rust 1.75+ (install via rustup)
- Node.js 18+ (for npm integration)
- Chrome or Chrome for Testing
git clone https://github.com/dextonai/agent-browser.git
cd agent-browser
cargo buildcargo testcargo run -- --helpsrc/
main.rs # CLI entry point
browser/ # Browser automation core
protocol/ # CDP protocol handling
commands/ # CLI command implementations
- Follow standard Rust conventions (
rustfmt+clippy) - Use
cargo fmtbefore committing - Run
cargo clippy -- -D warningsto catch lint issues - Write descriptive commit messages
- Add tests for new functionality
- Fork the repository
- Create a feature branch:
git checkout -b my-feature - Make your changes
- Run
cargo fmtandcargo clippy - Run
cargo testto ensure all tests pass - Commit with a descriptive message
- Push to your fork:
git push origin my-feature - Open a Pull Request against
main
- Use GitHub Issues for bugs and feature requests
- Include steps to reproduce for bugs
- Include your OS, Rust version, and Node.js version
Be respectful and constructive in all interactions.