Thank you for your interest in contributing to SpotSpoof! This document provides guidelines and instructions for contributing to the project.
This project will only accept PRs to the dev branch.
- Rust 1.83 or higher (Install Rust)
- Git
- A GitHub account
-
Fork the repository on GitHub
-
Clone your fork:
git clone https://github.com/YOUR_USERNAME/spotspoof-cli.git
cd spotspoof-cli- Add the upstream remote:
git remote add upstream https://github.com/slimpagey/spotspoof-cli.git- Build the project:
cargo build- Run tests to ensure everything works:
cargo test- Try running the CLI:
cargo run -- --helpAlways create a new branch for your work:
# Update your main branch
git checkout dev
git pull upstream dev
# Create a feature branch
git checkout -b feature/your-feature-nameUse descriptive branch names:
feature/add-subdomain-detectionfix/idn-parsing-errordocs/improve-api-examplesrefactor/cleanup-lookup-logic
- Write code following our style guidelines (see below)
- Add tests for new functionality
- Update documentation if needed (README, code comments, etc.)
- Run the test suite:
cargo test- Check code formatting:
cargo fmt- Run the linter:
cargo clippy- Test manually with various inputs to ensure it works as expected
If you discover a security vulnerability, please report it by opening a security issue.
Since SpotSpoof is a public CLI tool that doesn't handle sensitive data, security reports are handled transparently through GitHub issues.
If you have questions about contributing:
- Check existing GitHub Issues
- Open a new Discussion
- Review the README and documentation
By contributing to SpotSpoof, you agree that your contributions will be licensed under the same license as the project (MIT License).