j178/prek
⚡ A fast Git hook manager written in Rust, designed as a drop-in alternative to pre-commit, reimagined.
Build with Backblaze B2
SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.
Loading star history...
Where it stands
Rank, growth pace and release cadence relative to everything GStars tracks.
5 releases in the last 90 days, the latest 3 days ago, with 126 contributors on GitHub.
Peaked at #13 in the weekly ranking the week of Jan 25, its best in the past year.
Use Cases & Benefits
- Provides a fast, dependency-free Git hook manager as a drop-in replacement for pre-commit, built in Rust.
- Delivers about 10x faster execution and uses a third of the disk space by sharing toolchains and parallelizing installs.
- Use for speeding up Git hook execution in projects that currently use pre-commit without changing existing configs.
- Use for managing hooks in polyglot repositories with Python, Node.js, Go, Docker, and system scripts efficiently.
- Use for simplifying setup by avoiding Python or other runtimes, using a single binary with automatic environment management.
Should you depend on it?
License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.
License
MIT
Permissive: commercial use, modification and redistribution are allowed with attribution.
Community files
- README: present
- Contributing guide: present
Watch-outs
No watch-outs from GStars' checks.
General guidance from repository metadata, not legal advice. How we score
From the README
pre-commit is a framework to run hooks written in many languages, and it manages the language toolchain and dependencies for running the hooks.
prek is a reimagined version of pre-commit, built in Rust. It is designed to be a faster, dependency-free and drop-in alternative for it, while also providing some additional long-requested features.
prek is designed as a drop-in replacement:
For configuring
.pre-commit-config.yamland writing hooks, you can refer to the pre-commit documentation as prek is fully compatible with it.
Daily snapshots
Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots
Forks
252+17
Open issues
39+1
Compared with peers in Backend
Fastest-growing repositories GStars tracks in this cohort for the week of Nov 8, by 7-day star growth
| Repository | Stars | +7d | Health | Last release |
|---|---|---|---|---|
| anthropics/skills | 192.3K | +5.2K | 75 | — |
| zed-industries/zed | 94.7K | +2.3K | 75 | 6 days ago |
| google/skills | 23.8K | +2.0K | 75 | — |
| NationalSecurityAgency/ghidra | 99.4K | +1.8K | 75 | 19 days ago |
| DuarteSantos8/openGym | 20.8K | +1.7K | 75 | 7 days ago |
| j178/prek | 8.7K | — | 60 | 3 days ago |
| Category median | 94.7K | +2.0K | 75 | — |
Discover Repositories
Search across tracked repositories by name or description