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
Stars8.9k8.6k
Latestv2.1.17v0.5.5
Last push2026-10-052026-10-05
Release cadenceabout 9 days between releasesabout 9 days between releases
Active contributors22 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.