compare

lefthook vs prek

The same facts for both, read from GitHub every night, and the relation a person reviewed.

lefthook vs prek
Factlefthookprek
LanguageGoRust
LicenceMITMIT
Stars9.1k8.8k
Latestv2.2.2v0.5.11
Last push2026-11-162026-11-23
Release cadenceabout 3 days between releasesabout 7 days between releases
Active contributors27 commit authors on the default branch in the last 90 days13 commit authors on the default branch in the last 90 days
Flagsnonenone
  • Both replace pre-commit. Alternatives to pre-commit →

    Full replacementlefthookRuns hook commands in parallel, but uses tools you install instead of building an environment per hook.

    Drop-inprekReads .pre-commit-config.yaml and runs the same hooks, reimplemented in Rust.