← All repos

prek

⚡ A fast Git hook manager written in Rust, designed as a drop-in alternative to pre-commit, reimagined.

gitgit-hookspre-commit
Browse cluster: HTML Parsing & Error Tracking
1,942commits
118contributors
5languages

Tech stack & purpose

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.

Community & reference links

Languages

Rust
97.8%
Python
1.5%
Shell
0.4%
JavaScript
0.2%
Dockerfile
0.1%

Contributors (top 30 of 118)