Hacker ApprovedDepartments

prek

Hacker Approved

Ranked 2 of 5 Git hooks managers by recommenders

Rust reimplementation of pre-commit, compatible with existing hooks and faster, with monorepo support and no Python dependencies. Critics say it does not fix the underlying pre-commit hook problems.

Rust reimplementation of pre-commit, compatible with existing hooks and faster, with monorepo support and no Python dependencies. Critics say it does not fix the underlying pre-commit hook problems.

19 people gave an opinion

recommend it
13
criticize it
6
approval share
68%
Each figure is one person. RecommendsCriticizes

Recommended in 5 of 13 months

  1. November 2025: recommended
  2. December 2025: recommended
  3. January 2026: recommended
  4. February 2026: recommended
  5. March 2026: not recommended
  6. April 2026: not recommended
  7. May 2026: not recommended
  8. June 2026: not recommended
  9. July 2026: not recommended
  10. August 2026: not recommended
  11. September 2026: recommended
  12. October 2026: not recommended
  13. November 2026: not recommended (month in progress)

Why it carries the badge

  • 13 people recommend itNeeds 10 or more, met.
  • 2.2 recommenders for every criticNeeds 2 to 1 or better, met.
  • Recommended in 5 of 13 monthsNeeds 4 or more, met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Compatible with existing pre-commit hooks

    “The main advantage for me is that prek has support for monorepo/workspaces, while staying compatible with existing pre-commit hooks.”

    Comment from 3 Feb 2026 in “Prek: A better, faster, drop-in pre-commit replacement, engineered in Rust”

    “prek is compatible with pre-commit so any hooks that can be used for pre-commit can be used with prek”

    Comment from 3 Feb 2026 in “Prek: A better, faster, drop-in pre-commit replacement, engineered in Rust”

    “Not just faster than pre-commit, and totally compatible. Also with more features.”

    Comment from 3 Feb 2026 in “Prek: A better, faster, drop-in pre-commit replacement, engineered in Rust”
  • Easy to drop into projects

    “It was seamless to drop into my projects.”

    Comment from 3 Feb 2026 in “Prek: A better, faster, drop-in pre-commit replacement, engineered in Rust”

    “Really enjoying using prek.”

    Comment from 3 Feb 2026 in “Prek: A better, faster, drop-in pre-commit replacement, engineered in Rust”
  • Single tool for CI linting

    “So in CI/CD you can replace all discrete lint/format tool calls with one to pre-commit/prek.”

    Comment from 3 Feb 2026 in “Prek: A better, faster, drop-in pre-commit replacement, engineered in Rust”

    “Using prek, not pre-commit for the linters.”

    Comment from 23 Sep 2026 in “AI coding has made CI a bottleneck, so we reworked ours to keep up”

What people warn about

Each mark is one comment

  • Does not fix core hook problems

    “Not fundamentally broken, just broken on certain use cases where'd I have to do something like”

    Comment from 27 Dec 2025 in “Pre-commit hooks are fundamentally broken”

    “I think it's improving on an already awful platform so you should not use it”

    Comment from 3 Feb 2026 in “Prek: A better, faster, drop-in pre-commit replacement, engineered in Rust”

    “It doesn’t seem like this solves the main issues with pre-commit hooks.”

    Comment from 3 Feb 2026 in “Prek: A better, faster, drop-in pre-commit replacement, engineered in Rust”
  • Arguments seen as weak or circular

    “This just seems like calling a shell script with extra steps.”

    Comment from 3 Feb 2026 in “Prek: A better, faster, drop-in pre-commit replacement, engineered in Rust”

    “All I'm seeing is circular logic.”

    Comment from 3 Feb 2026 in “Prek: A better, faster, drop-in pre-commit replacement, engineered in Rust”

Other Git hooks managers people recommend

The four most recommended other Git hooks managers, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

prek compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
pre-commit242055%7——
prekThis page13668%5—Approved
Lefthook7278%6——
Husky6275%3——
hk5183%2——
See all 5 Git hooks managers, ranked

What people said

19 of the 23 comments that mention it, newest first. Each links to the original comment.

“Using prek, not pre-commit for the linters.”

RecommendsComment from 23 Sep 2026 in “AI coding has made CI a bottleneck, so we reworked ours to keep up”

“It is better because of WASI. That's what provides sandboxing.”

RecommendsComment from 4 Feb 2026 in “Prek: A better, faster, drop-in pre-commit replacement, engineered in Rust”

“Would need auto-fix & commit capabilities to really replace lefthook or lint-staged for me”

CriticizesComment from 4 Feb 2026 in “Prek: A better, faster, drop-in pre-commit replacement, engineered in Rust”

“Emojis as bullet points in the README make me think this was generated with an LLM. No thanks”

CriticizesComment from 4 Feb 2026 in “Prek: A better, faster, drop-in pre-commit replacement, engineered in Rust”

“I agree it’s better, but not because of wasi”

MixedComment from 3 Feb 2026 in “Prek: A better, faster, drop-in pre-commit replacement, engineered in Rust”

“It doesn’t seem like this solves the main issues with pre-commit hooks.”

CriticizesComment from 3 Feb 2026 in “Prek: A better, faster, drop-in pre-commit replacement, engineered in Rust”

“prek is compatible with pre-commit so any hooks that can be used for pre-commit can be used with prek”

RecommendsComment from 3 Feb 2026 in “Prek: A better, faster, drop-in pre-commit replacement, engineered in Rust”

“Really enjoying using prek.”

RecommendsComment from 3 Feb 2026 in “Prek: A better, faster, drop-in pre-commit replacement, engineered in Rust”

“The main advantage for me is that prek has support for monorepo/workspaces, while staying compatible with existing pre-commit hooks.”

RecommendsComment from 3 Feb 2026 in “Prek: A better, faster, drop-in pre-commit replacement, engineered in Rust”

“All I'm seeing is circular logic.”

CriticizesComment from 3 Feb 2026 in “Prek: A better, faster, drop-in pre-commit replacement, engineered in Rust”

“This just seems like calling a shell script with extra steps.”

CriticizesComment from 3 Feb 2026 in “Prek: A better, faster, drop-in pre-commit replacement, engineered in Rust”

“I think it's improving on an already awful platform so you should not use it”

CriticizesComment from 3 Feb 2026 in “Prek: A better, faster, drop-in pre-commit replacement, engineered in Rust”

“So in CI/CD you can replace all discrete lint/format tool calls with one to pre-commit/prek.”

RecommendsComment from 3 Feb 2026 in “Prek: A better, faster, drop-in pre-commit replacement, engineered in Rust”

“It was seamless to drop into my projects.”

RecommendsComment from 3 Feb 2026 in “Prek: A better, faster, drop-in pre-commit replacement, engineered in Rust”

“Not just faster than pre-commit, and totally compatible. Also with more features.”

RecommendsComment from 3 Feb 2026 in “Prek: A better, faster, drop-in pre-commit replacement, engineered in Rust”

“never had these issues even using rebase flows exclusively”

RecommendsComment from 28 Dec 2025 in “Pre-commit hooks are fundamentally broken”

“Not fundamentally broken, just broken on certain use cases where'd I have to do something like”

CriticizesComment from 27 Dec 2025 in “Pre-commit hooks are fundamentally broken”

“they save dev cycles back-and-forth with CI more than they hurt”

RecommendsComment from 27 Dec 2025 in “Pre-commit hooks are fundamentally broken”

“the most intriguing feature is no Python dependencies”

RecommendsComment from 19 Nov 2025 in “Better pre-commit, re-engineered in Rust”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.