prek is a Rust-based reimagining of the popular pre-commit framework that runs git hooks to enforce code quality, style, and other repository checks, designed to be a faster, dependency-free, and drop-in alternative to the Python-centric original. By rewriting everything in Rust, prek delivers substantial performance gains and reduces disk usage while maintaining compatibility with existing .pre-commit-config.yaml setups, letting teams switch over without rewriting configurations. It’s optimized for modern workflows, supporting monorepos with workspace modes, parallel hook installation and execution, and native handling of common hook tasks without external runtimes. Because it ships as a single binary with no runtime dependencies and is already being adopted in large projects (like CPython, Apache Airflow, and FastAPI), prek is increasingly seen as a next-generation tool for developers who value performance, simplicity, and robust git hook automation.

Features

  • Drop-in compatibility with pre-commit configurations
  • Rust-powered speed and efficiency
  • Single-binary, no Python runtime needed
  • Monorepo and workspace support
  • Parallel toolchain installations and hook execution
  • Built-in Rust implementations of common hooks

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

MIT License

Follow prek

prek Web Site

Other Useful Business Software
Build on Google Cloud with $300 in Free Credit Icon
Build on Google Cloud with $300 in Free Credit

New to Google Cloud? Get $300 in free credit to explore Compute Engine, BigQuery, Cloud Run, Vertex AI, and 150+ other products.

Start your next project with $300 in free Google Cloud credit. Spin up VMs, run containers, query exabytes in BigQuery, or build AI apps with Vertex AI and Gemini. Once your credits are used, keep building with 20+ products with free monthly usage, including Compute Engine, Cloud Storage, GKE, and Cloud Run functions. Sign up to start building right away.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of prek!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Rust

Related Categories

Rust Frameworks

Registered

2026-02-11