Fast, secure git hooks in Rust with secret scanning and protected file synchronization. 📖 Full Documentation | 📦 crates.io Key Features:
- Multi-threaded secret detection with 40+ built-in patterns
- Repository file synchronization from remote sources
- Git hook support (pre-commit, pre-push, commit-msg, etc.)
- YAML/TOML/JSON configuration support
Guardy depends on these independently published Rust libraries from DeepBrain Space:
Universal CLI output wrapper for consistent styling across command-line tools. 📦 crates.io | 🔗 GitLab
Cached system profile information for runtime optimization decisions. 📦 crates.io | 🔗 GitLab
cargo install guardy# Clone the repository
git clone https://gitlab.com/deepbrain.space/guardy
cd guardy
# Set up development environment (installs node, rust, gh, glab, moon, etc.)
mise run setup
# Activate mise in your shell (or restart shell)
eval "$(mise activate bash)" # or mise activate fish | source
# Build all crates
moon guardy:buildguardy/
├── crates/
│ └── guardy/ # Git hooks and security scanning
├── .moon/ # Moon workspace configuration
├── .prototools # Proto toolchain version locks
└── README.md # This file
- mise - All other tools (Rust, Node, gh, glab, moon) are installed via mise
# Install all development tools
mise run setup
# Activate mise in your shell (optional, for direct tool access)
echo 'eval "$(mise activate bash)"' >> ~/.bashrc # for bash
echo 'mise activate fish | source' >> ~/.config/fish/config.fish # for fish
# Then restart your shellAfter activating mise in your shell (see First-time Setup above):
# Build
moon guardy:build
# Run tests
moon guardy:test
# Lint code
moon guardy:lint
# Format code
moon guardy:formatMIT License - see LICENSE file for details.
Contributions are welcome! Please see CONTRIBUTING.md for guidelines.
- 🐛 Issues
- 💬 Discussions
- 📧 Email: nayeem@deepbrain.space