Thanks for your interest in contributing! Here's how to get started.
# Clone the repo
git clone https://github.com/MatrixA/aicheck.git
cd aicheck
# Build
cargo build
# Run tests
cargo test
# Run the CLI
cargo run -- check photo.jpgRequires Rust 1.86+.
Please make sure all checks pass locally:
cargo fmt -- --check # formatting
cargo clippy -- -D warnings # lints
cargo test # tests- Fork the repo and create a branch from
main - Make your changes
- Ensure all checks above pass
- Open a PR with a clear description of what changed and why
To add detection for a new AI tool, update the pattern list in src/known_tools.rs. Each entry needs a case-insensitive pattern and a canonical tool name.
New detectors go in src/detector/. Implement detection logic, then register it in src/detector/mod.rs within run_all_detectors().
Use the bug report template and include:
- The file you tested (or a description if you can't share it)
- Expected vs actual output
- Your OS and Rust version
By contributing, you agree that your contributions will be licensed under AGPL-3.0-or-later.