⚡ A fast Git hook manager written in Rust, designed as a drop-in alternative to pre-commit, reimagined.
prek is a Git hook manager written in Rust that serves as a faster, dependency-free alternative to the pre-commit tool. It runs hooks before code commits, on demand, or in CI environments to format files, catch lint errors, detect secrets, or execute custom commands. The project is built in Rust and distributed as a single binary with no runtime dependencies, while maintaining full compatibility with existing pre-commit configurations. prek is authored by j178 and has been adopted by major projects including CPython, Apache Airflow, FastAPI, and Godot Engine.