Lefthook is a fast, dependency-free Git hooks manager written in Go that works across many project types. It lets you define hook jobs in a YAML file, supports parallel execution, flexible file filtering, tagging and Docker runners. Installation is available via Go, npm, gem, pipx and system package managers.
Highlights
Parallel command execution speeds up hook processing
Supports glob, regexp and custom file lists for precise targeting
Can run hooks inside Docker or other runners
Configurable per-hook tags and scripts allow complex workflows
Single binary distribution works in any environment
auto-generated
evilmartians · via GitHub
Context
Audience
Developers who need reliable, fast Git hook management across multiple languages and environments