Fast and powerful Git hooks manager for any type of projects.
One lefthook.yml for all hooks, a single binary with no Node.js requirement.
alternatives to
Git hooks made easy 🐶 woof!
lefthook, pre-commit, and simple-git-hooks. 3 alternatives to husky, in Go, Python, JavaScript. Compare fit, licence, stars and the latest signed release.
| Tool | Fit | Stars | Licence | Terms | Self-hosted | Language | Latest | Last push |
|---|---|---|---|---|---|---|---|---|
| lefthook | Full replacement | 9.1k | MIT | Open source | No | Go | v2.2.2 | 2026-11-16 |
| pre-commit | Partial | 16k | MIT | Open source | No | Python | v4.7.0 | 2026-11-09 |
| simple-git-hooks | Partial | 1.7k | MIT | Open source | No | JavaScript | 2.14.0 | 2026-08-28 |
3 alternatives
Fast and powerful Git hooks manager for any type of projects.
One lefthook.yml for all hooks, a single binary with no Node.js requirement.
A framework for managing and maintaining multi-language pre-commit hooks.
Language-agnostic hooks installed from shared repositories, in Python rather than npm.
A simple git hooks manager for small projects
Hooks declared in package.json, without a hooks directory, one command per hook.