awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
Back to pre-commit/pre-commit-hooks

Open-source alternatives to Pre Commit Hooks

30 open-source projects similar to pre-commit/pre-commit-hooks, ranked by how many features they have in common. Compare stars, activity and what each one does to find the best Pre Commit Hooks alternative.

  • sds/overcommitsds 的头像

    sds/overcommit

    4,008在 GitHub 上查看↗

    Overcommit is a Git hook manager and pre-commit validation framework designed to automate the execution of scripts and checks during various Git events. It serves as a workflow automation tool that ensures code quality and project standards are met before changes are committed or pushed to a remote repository. The system distinguishes itself through a comprehensive YAML-based configuration that allows for detailed hook behavior control, including file execution filtering, conditional skipping, and the management of hook dependencies. It provides specialized roles such as a commit message vali

    Ruby
    在 GitHub 上查看↗4,008
  • diffplug/spotlessdiffplug 的头像

    diffplug/spotless

    5,527在 GitHub 上查看↗

    Spotless is a multi-language formatting orchestrator and Gradle plugin that automates code styling across various programming languages within a single build pipeline. It functions as a coordinator for multiple third-party formatters, a code style linting tool, and a system for inserting and updating standardized license headers. The project distinguishes itself through git-integrated style enforcement, using pre-push hooks and git references to apply formatting only to modified files or lines. It supports shared build configurations, allowing formatting rules to be distributed and loaded acr

    Java
    在 GitHub 上查看↗5,527
  • google/gtsgoogle 的头像

    google/gts

    5,284在 GitHub 上查看↗

    gts provides standardized utilities for project bootstrapping and the application of consistent linting and formatting style guides. It functions as a TypeScript project bootstrapper that initializes new projects with standardized dependencies, build scripts, and compiler settings. The project implements a comprehensive TypeScript style guide consisting of a predefined collection of rules for static analysis and a code formatter that automatically adjusts source code spacing and syntax. These tools identify and fix code style violations to ensure uniformity across codebases. Additional capab

    TypeScriptformattergooglelinter
    在 GitHub 上查看↗5,284

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Find more with AI search
  • astral-sh/ruffastral-sh 的头像

    astral-sh/ruff

    48,177在 GitHub 上查看↗

    Ruff is a high-performance static analysis and code formatting tool designed for Python. Built in Rust, it functions as a comprehensive engine that scans source code to detect programming errors, security vulnerabilities, and deviations from established coding standards. By parsing source code into a structured tree representation, it provides both automated linting and style enforcement across entire projects. The tool distinguishes itself through its speed and deep integration into the development lifecycle. It utilizes parallelized file processing to maximize throughput on large codebases

    Rustlinterpep8python
    在 GitHub 上查看↗48,177
  • j178/prekj178 的头像

    j178/prek

    6,297在 GitHub 上查看↗

    Prek is a Git hook manager written in Rust that runs configured hooks as a single binary without requiring Python or other external runtimes. It executes hooks faster than standard tools through parallel processing and bundled Rust implementations, and includes a built-in hook repository that enables fully offline operation without network access or environment setup. The tool supports both TOML and YAML configuration formats with identical semantics, and can run hooks from existing pre-commit configuration files without modification. Prek distinguishes itself through workspace-aware monorepo

    Rustgitgit-hookspre-commit
    在 GitHub 上查看↗6,297
  • prettier/prettierprettier 的头像

    prettier/prettier

    52,088在 GitHub 上查看↗

    Prettier is an opinionated code formatter that parses source code and reprints it from scratch to enforce a consistent, project-wide visual style. By transforming code into an abstract syntax tree and applying a recursive document printing process, it eliminates manual style debates and ensures that all source files adhere to a unified appearance. The project is distinguished by its extensible, plugin-based architecture, which decouples language-specific parsing logic from the core engine. This modular design allows for uniform style enforcement across diverse programming languages and comple

    JavaScriptangularastcss
    在 GitHub 上查看↗52,088
  • antfu/eslint-configantfu 的头像

    antfu/eslint-config

    6,210在 GitHub 上查看↗

    Anthony's ESLint config preset

    JavaScript
    在 GitHub 上查看↗6,210
  • bbatsov/rubocopbbatsov 的头像

    bbatsov/rubocop

    12,879在 GitHub 上查看↗

    RuboCop is a static code analyzer and linter for Ruby. It functions as a static analysis tool designed to detect potential bugs, identify style violations, and improve overall code quality in Ruby projects. The project provides an automated code formatter that rewrites source code to align with established community standards. It also implements a language server protocol to surface linting and formatting errors directly within text editors. Its capabilities cover automated code linting and the analysis of Ruby code style to ensure consistency across a project. These functions are driven by

    Ruby
    在 GitHub 上查看↗12,879
  • antonbabenko/pre-commit-terraformantonbabenko 的头像

    antonbabenko/pre-commit-terraform

    3,735在 GitHub 上查看↗

    This project is a set of git pre-commit hooks designed to automate the formatting, linting, and validation of Terraform configurations. It functions as an infrastructure as code linter, security scanner, cost estimator, and documentation generator to ensure code quality before commits are finalized. The tool distinguishes itself by providing specialized capabilities for infrastructure workflows, such as scanning templates for security vulnerabilities and hardcoded secrets, calculating projected cloud spending against budgets, and automatically extracting module definitions to populate readme

    Shell
    在 GitHub 上查看↗3,735
  • standard/standardstandard 的头像

    standard/standard

    29,431在 GitHub 上查看↗

    Standard is a suite of static analysis tools for JavaScript, comprising a linter, formatter, and a predefined style guide. It functions as a static code analyzer that scans source code for style violations and potential errors without executing the program. The project provides an automatic code fixer that rewrites source code to resolve formatting issues and enforce syntax consistency. It implements a standardized set of rules for JavaScript formatting and syntax to ensure a uniform appearance across different projects. The system covers a wide range of static analysis capabilities, includi

    JavaScriptdevelopmentecmascriptes6
    在 GitHub 上查看↗29,431
  • jscs-dev/node-jscsjscs-dev 的头像

    jscs-dev/node-jscs

    4,936在 GitHub 上查看↗

    node-jscs is a JavaScript linter and code style checker designed to analyze source code and enforce consistent coding standards. It functions as a static analysis tool that identifies patterns in JavaScript code to ensure adherence to defined style guides. The project provides capabilities for both JavaScript code linting and automated code formatting. It can check source code for style violations and automatically correct those errors to align the codebase with a specified set of formatting rules.

    JavaScript
    在 GitHub 上查看↗4,936
  • raywenderlich/swift-style-guideraywenderlich 的头像

    raywenderlich/swift-style-guide

    13,173在 GitHub 上查看↗

    This project is a collection of Swift coding standards and static analysis rules designed to ensure consistency across Swift projects. It provides a defined set of naming conventions and structural guidelines to maintain a shared style for teams. The repository centers on a SwiftLint configuration used to automate the detection and correction of style violations in source code. This configuration enables automated style enforcement, ensuring that code adheres to organizational standards without requiring manual review. The guidelines cover the standardization of code formatting, naming, and

    在 GitHub 上查看↗13,173
  • pycqa/pycodestylePyCQA 的头像

    PyCQA/pycodestyle

    5,155在 GitHub 上查看↗

    pycodestyle is a Python code quality utility that checks source files against the PEP 8 style guide, reporting deviations as a static analysis tool. Its primary function is to enforce consistent code formatting by scanning files and flagging violations with precise line and column numbers for direct integration into editors or workflows. The tool combines token-based pattern matching with abstract syntax tree (AST) context enrichment, enabling it to evaluate both surface-level formatting and deeper structural patterns. Its architecture supports custom validation rules through a plugin interfa

    Pythonflake8-pluginlinter-flake8linter-plugin
    在 GitHub 上查看↗5,155
  • feross/standardfeross 的头像

    feross/standard

    29,431在 GitHub 上查看↗

    Standard is a zero-configuration static analyzer, linter, and formatter for JavaScript. It functions as a style guide that enforces consistent coding rules and identifies programming errors without requiring manual configuration files. The tool distinguishes itself by providing an automatic code fixer that scans source files to correct style violations and ensure a uniform codebase. It implements a predefined rule set to eliminate the need for project-specific configuration. The project covers a broad range of static analysis capabilities, including support for experimental language syntax a

    JavaScript
    在 GitHub 上查看↗29,431
  • homebrew/legacy-homebrewHomebrew 的头像

    Homebrew/legacy-homebrew

    26,849在 GitHub 上查看↗

    This project is a command line package manager and dependency management engine used for installing, updating, and removing software packages across different operating systems. It functions as a package recipe system and software repository administrator, utilizing declarative scripts to define software sources, build arguments, and installation steps. The system operates as a binary distribution platform that compiles source code into pre-compiled binaries and distributes them through remote repositories. It includes an automated version tracker that monitors upstream software releases and

    在 GitHub 上查看↗26,849
  • oils-for-unix/oilsoils-for-unix 的头像

    oils-for-unix/oils

    3,288在 GitHub 上查看↗

    Oils is a Unix shell interpreter and scripting language runtime that combines a modern shell language with POSIX and Bash compatibility. It functions as a structured data shell, integrating JSON and J8 formats to manage complex data without relying on string parsing. The system is distinguished by a C++ transpiled interpreter that converts a subset of Python source code into strongly typed C++ for high-performance execution. It features a garbage-collected typed runtime that supports prototype-based polymorphism, lexical closures, and reference-based variable mutation. To decouple shell logic

    Python
    在 GitHub 上查看↗3,288
  • wangdoc/bash-tutorialwangdoc 的头像

    wangdoc/bash-tutorial

    4,354在 GitHub 上查看↗

    This project is a comprehensive educational resource consisting of a Bash programming tutorial, scripting reference, and Linux command line manual. It provides instructional materials for writing scripts, automating system tasks, and mastering terminal navigation and Unix system administration. The guides cover a wide range of shell environment customization, including prompt styling and the use of aliases. It also provides a shell environment guide for managing configuration files and initializing user environments. The materials detail a broad set of capabilities including control flow log

    Shell
    在 GitHub 上查看↗4,354
  • alexjoverm/typescript-library-starteralexjoverm 的头像

    alexjoverm/typescript-library-starter

    4,359在 GitHub 上查看↗

    This project is a TypeScript library starter kit that provides a pre-configured development environment for building and publishing typed packages. It establishes a zero-config build pipeline to accelerate the creation of library projects. The toolkit includes a RollupJS bundle configuration to compile source code into optimized bundles with automatic type definition generation. It integrates a semantic release workflow to manage versioning and changelogs based on conventional commit messages, alongside a Jest testing framework suite for stability verification. The environment covers code qu

    TypeScriptcoverallsjestlibrary
    在 GitHub 上查看↗4,359
  • harisekhon/devops-bash-toolsHariSekhon 的头像

    HariSekhon/DevOps-Bash-tools

    8,062在 GitHub 上查看↗

    DevOps-Bash-tools is a collection of shell scripts and aliases designed to automate cloud infrastructure, container orchestration, and CI/CD pipelines. It provides a comprehensive toolset for managing operational workflows through the command line. The project specializes in automating tasks across multiple platforms, including managing namespaces and secrets in Kubernetes, auditing resources in AWS and GCP, and triggering builds or managing environment variables in GitHub Actions, GitLab CI, and CircleCI. It also includes a toolkit for interacting with container registries to query manifests

    Shellapiawsbash
    在 GitHub 上查看↗8,062
  • gitui-org/gituigitui-org 的头像

    gitui-org/gitui

    22,116在 GitHub 上查看↗

    GitUI is a terminal-based interface for managing Git repositories, providing an interactive environment for executing version control operations, inspecting commit logs, and navigating file hierarchies. It functions as a keyboard-driven client that allows users to stage changes, manage branches, and review project history directly from the command line. The application distinguishes itself through a focus on interface responsiveness and user-defined workflows. It utilizes background thread offloading and asynchronous data caching to maintain performance during complex operations, while offeri

    Rustasyncbashcommand-line-interface
    在 GitHub 上查看↗22,116
  • sbjson/sbjsonSBJson 的头像

    SBJson/SBJson

    3,717在 GitHub 上查看↗

    SBJson is an Objective-C JSON parser and generator designed for the parsing and generation of JSON data. It functions as a strict JSON validator, enforcing rigid grammar rules to ensure input data adheres to formal specifications. The project features an incremental JSON stream parser that processes UTF8 data in chunks to extract documents without loading the entire payload into memory. It also serves as a JSON data serializer that transforms native data objects into formatted strings using deterministic key sorting. The system manages data serialization workflows and implements security mea

    Objective-C
    在 GitHub 上查看↗3,717
  • carlhuda/januscarlhuda 的头像

    carlhuda/janus

    7,843在 GitHub 上查看↗

    Janus is a Vim distribution and curated plugin configuration that transforms the editor into a full-featured development environment. It functions as a Vim-based IDE, integrating a collection of third-party extensions to provide an integrated development experience. The system features a fuzzy-search project navigator for locating files, buffers, and symbols across a codebase. It also includes a Git-integrated workflow that provides real-time diff visualization in the sign column and allows users to stage hunks and manage version control directly within the editor. The environment covers bro

    Vim script
    在 GitHub 上查看↗7,843
  • checkstyle/checkstylecheckstyle 的头像

    checkstyle/checkstyle

    8,867在 GitHub 上查看↗

    Checkstyle is a Java static analysis tool and linter designed to identify and enforce coding standards and best practices. It functions as a code quality auditor and Javadoc validation tool, checking source code against configurable rulesets to ensure structural and stylistic consistency. The project allows for the creation of custom linting rules by extending a core API to inspect the abstract syntax tree. It further enables specialized validation through the use of XPath expressions to query the syntax tree for specific code patterns and violations. Capability areas include the enforcement

    Javacode-qualitycommand-line-toolhacktoberfest
    在 GitHub 上查看↗8,867
  • jerry-git/learn-python3jerry-git 的头像

    jerry-git/learn-python3

    6,754在 GitHub 上查看↗

    This is an interactive Python tutorial delivered as a collection of Jupyter notebooks. It is designed as a structured learning path for beginners, teaching fundamental language concepts through a sequence of lessons that combine explanatory text with runnable code cells and embedded practice exercises. Each notebook is a self-contained unit that introduces a topic, demonstrates it with a minimal code example, and then asks the learner to write code themselves, receiving immediate feedback from the browser-based execution environment. The curriculum is built on a progressive concept-stacking mo

    HTMLjupyter-notebooklearning-pythonpython-exercises
    在 GitHub 上查看↗6,754
  • nvim-mini/mini.nvimnvim-mini 的头像

    nvim-mini/mini.nvim

    9,325在 GitHub 上查看↗

    mini.nvim is a comprehensive library of independent modules designed to extend Neovim with a wide array of navigation, user interface, and text manipulation tools. It serves as a modular plugin collection, a UI toolkit for creating custom statuslines and notifications, and a package manager for installing and pinning external plugins from Git. The project provides a specialized fuzzy picker framework for filtering files and symbols, an LSP completion engine with interactive snippet expansion, and a dedicated plugin test framework that uses headless editor instances and remote procedure calls

    Lualuamini-nvimneovim
    在 GitHub 上查看↗9,325
  • amber-lang/amberamber-lang 的头像

    amber-lang/amber

    4,731在 GitHub 上查看↗

    Amber is a transpiler that translates high-level source code into executable shell scripts for Bash, Zsh, and Ksh. It provides a type-safe environment for shell script generation, allowing for static type validation and the creation of standalone executable scripts. The project distinguishes itself through a compilation process that includes tree-shaking import optimization to reduce output size and template-based script wrapping for custom headers and footers. It utilizes a module-based dependency resolution system with visibility controls to manage code reuse across multiple files. The lan

    Rustbashbash-scriptingcompilers
    在 GitHub 上查看↗4,731
  • addyosmani/agent-skillsaddyosmani 的头像

    addyosmani/agent-skills

    60,849在 GitHub 上查看↗

    Agent-skills is a collection of structured instructions and behavioral personas designed to standardize how AI coding agents perform engineering tasks. It functions as a workflow orchestrator that maps natural language intent to repeatable technical sequences and verification checklists. The project distinguishes itself through the use of specialized markdown-defined roles, such as security auditors or test engineers, to apply targeted domain expertise. It employs an evidence-based verification model that requires runtime data or passing tests as mandatory exit criteria to ensure AI-generated

    Shellagent-skillsantigravityantigravity-ide
    在 GitHub 上查看↗60,849
  • backup/backupbackup 的头像

    backup/backup

    4,868在 GitHub 上查看↗

    This project is a Unix backup orchestrator used for modeling and executing full-stack data protection. It functions as a management system for database dumps, encrypted archiving, version rotation, and remote storage transport. The system distinguishes itself by orchestrating native system tools for various databases, including PostgreSQL, MySQL, MongoDB, Redis, and Riak. It employs a secure archive workflow that combines compression and encryption using GPG, OpenSSL, or AES before transporting packages to S3-compatible services, Dropbox, or remote servers via SFTP and RSync. Broad capabilit

    Ruby
    在 GitHub 上查看↗4,868
  • subzeroid/instagrapisubzeroid 的头像

    subzeroid/instagrapi

    6,366在 GitHub 上查看↗
    Pythonapi-wrapperinstabotinstagram
    在 GitHub 上查看↗6,366
  • elsewhencode/project-guidelineselsewhencode 的头像

    elsewhencode/project-guidelines

    29,458在 GitHub 上查看↗

    This project provides a comprehensive collection of standardized conventions and architectural patterns designed to maintain consistent code quality, secure workflows, and project stability. It serves as a structured guide for implementing engineering processes, including automated testing, dependency management, and environment configuration across diverse software development lifecycles. The framework distinguishes itself by offering a unified approach to version control and interface design. It enforces linear development practices through standardized commit messages and branch protection

    JavaScriptbest-practicesguidelineshow-to
    在 GitHub 上查看↗29,458