• Picks
  • Discover
  • Alternatives
  • About

© 2026 Willet

  • Newsletter
  • About
  • FAQ
  • Terms
  • Privacy & Cookies
Join the Discord (opens in a new tab)
Jo avatar

prek

Git hook manager compatible with pre-commit configs, shipped as one binary

  • Developer tools
View on GitHub
Website

What it is

A Rust reimplementation of the pre-commit framework that runs formatters, linters, secret scanners and other checks before commits, on demand, or in CI. It reads existing pre-commit configurations and hooks unchanged, installs the toolchains hooks need (Python via uv, Node.js, Go, Rust, Ruby, Bun) and shares them between hooks. Developers and maintainers of larger repositories adopt it to cut hook run time and disk use, with workspace mode handling monorepos.

Images

Facts

Stars
8,642 GitHub stars.
8,642

Forks
249
Commits
2,219
Contributors
123
Language
Rust
License
MIT
Last commit
Oct 20, 2026
On GitHub since
October 2024
First release
October 2024
Platforms
macOS, Windows, Linux, CLI
Self-hostable
No
Author
Jo
Tags
  • static-analysis
  • ci-cd
  • testing
  • git

Last synced from GitHub on Oct 20, 2026

The 10 best overlooked open-source projects, every Monday.

Share and more

Comments

No comments yet. Start the conversation.

Similar projects

  • ESLint avatar

    ESLint

    Pluggable linter that reports and fixes problems in JavaScript code

    27.6k
  • Checkstyle avatar

    Checkstyle

    Static analysis tool that checks Java source against a coding standard

    9.6k
  • VoidZero avatar

    Vite+

    Single CLI for JavaScript projects: install, dev, lint, test, build

    6.4k

What people are saying

Updated Oct 21, 2026
  • Hacker NewsPrek: A better, faster, drop-in pre-commit replacement, engineered in RustFeb 3, 2026 · 291 points · 123 comments (opens Hacker News in a new tab)
  • Hacker NewsBetter pre-commit, re-engineered in RustNov 14, 2025 · 47 points · 20 comments (opens Hacker News in a new tab)
  • Bluesky“Oooh! Just discovered prek, it's a rust rewrite and has some very good features advertised (--cooldown-days, etc).”Apr 27, 2026 · 11 likes · 1 reply (opens Bluesky in a new tab)
  • Bluesky“#TIL about prek, a rewrite of pre-commit written in Rust. And as expected, it is extremely fast: prek.j178.dev #pre-commit #Git #DX”Sep 6, 2025 · 5 likes · 1 reply (opens Bluesky in a new tab)
  • Hacker NewsPrek: Better pre-commit, re-engineered in RustOct 6, 2025 · 3 points · 2 comments (opens Hacker News in a new tab)
  • Bluesky“j178 / prek: ⚡ Better `pre-commit`, re-engineered in Rust ★5717”Feb 7, 2026 · 4 likes · 0 replies (opens Bluesky in a new tab)
  • Bluesky“prek: a reimagined version of pre-commit, built in Rust to run hooks written in many languages, and it manages the language toolchain and dependencies for…”Jan 15, 2026 · 4 likes · 0 replies (opens Bluesky in a new tab)
  • Bluesky“A Rust-powered pre-commit replacement that's actually faster, runs as a single binary with no Python dependency, and already trusted by CPython, FastAPI, and…”Feb 13, 2026 · 2 likes · 1 reply (opens Bluesky in a new tab)
  • Bluesky“TIL: all the cool kids are using prek instead of pre-commit, as its faster (Rust) and fully compatible with .pre-commit-config.yaml! (where "cool kids" ==…”Feb 10, 2026 · 3 likes · 0 replies (opens Bluesky in a new tab)
  • Hacker NewsBetter `pre-commit`, re-engineered in RustJan 14, 2026 · 3 points · 0 comments (opens Hacker News in a new tab)
  • Hacker NewsPrek – a faster, drop-in alternative to pre-commit (written in Rust)Sep 15, 2025 · 3 points · 0 comments (opens Hacker News in a new tab)
  • Hacker NewsRewrite the pre-commit with features requested from the communitySep 9, 2025 · 2 points · 1 comment (opens Hacker News in a new tab)
  • Bluesky“TIL: all the cool kids are using prek instead of pre-commit, as its faster (Rust) and fully compatible with .pre-commit-config.yaml! (where "cool kids" ==…”Feb 10, 2026 · 0 likes · 2 replies (opens Bluesky in a new tab)
  • Bluesky“Glad to help! The cool kids seem to be trying out prek now, though… prek.j178.dev I've yet to dip my toes.”Mar 31, 2026 · 1 like · 0 replies (opens Bluesky in a new tab)
  • Bluesky“prek: a better `pre-commit` #rust”Feb 28, 2026 · 1 like · 0 replies (opens Bluesky in a new tab)
  • Bluesky“Prek: A better, faster, drop-in pre-commit replacement, engineered in Rust View Article | Join the HN Conversation Summary of HN discussion 🧵👇”Feb 4, 2026 · 0 likes · 1 reply (opens Bluesky in a new tab)
  • Bluesky“⚡ Hackernews Top story: Prek: A better, faster, drop-in pre-commit replacement, engineered in Rust”Feb 3, 2026 · 1 like · 0 replies (opens Bluesky in a new tab)
  • Bluesky“GitHub - j178/prek: ⚡ A fast Git hook manager written in Rust, designed as a drop-in alternative to pre-commit, reimagined.”Aug 30, 2026 · 0 likes · 0 replies (opens Bluesky in a new tab)
  • Bluesky“pre-commitのRust実装 "j178/prek: ⚡ A fast Git hook manager written in Rust, designed as a drop-in alternative to pre-commit, reimagined." #Rust”May 6, 2026 · 0 likes · 0 replies (opens Bluesky in a new tab)
  • Bluesky“j178/prek ⚡ Better `pre-commit`, re-engineered in Rust prek pre-commit is a framework to run hooks written in many languages, and it manages the language…”Feb 6, 2026 · 0 likes · 0 replies (opens Bluesky in a new tab)