Skip to content

developerinlondon/guardy

Repository files navigation

Guardy

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

📦 Related Libraries

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

🚀 Quick Start

Installing Guardy

cargo install guardy

Building from Source

# 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:build

📋 Repository Structure

guardy/
├── crates/
│   └── guardy/           # Git hooks and security scanning
├── .moon/                # Moon workspace configuration
├── .prototools           # Proto toolchain version locks
└── README.md             # This file

🛠️ Development

Prerequisites

  • mise - All other tools (Rust, Node, gh, glab, moon) are installed via mise

First-time Setup

# 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 shell

Building and Testing

After 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:format

📄 License

MIT License - see LICENSE file for details.

🤝 Contributing

Contributions are welcome! Please see CONTRIBUTING.md for guidelines.

📞 Support

test

About

Fast, secure git hooks with secret scanning and protected file synchronization (GitHub mirror of gitlab.com/deepbrain.space/guardy)

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

 
 
 

Contributors