{"id":29572819,"url":"https://github.com/pacemakerx/commitcop","last_synced_at":"2025-07-19T05:12:05.050Z","repository":{"id":304470681,"uuid":"1018894420","full_name":"PacemakerX/commitCop","owner":"PacemakerX","description":"Commit Cop is a modular, cross-platform CLI tool for enforcing clean, structured commit messages in Git repositories. It automates commit message validation via Git hooks and provides a user-friendly interface for configuration and manual validation.","archived":false,"fork":false,"pushed_at":"2025-07-13T10:13:50.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-13T11:01:38.471Z","etag":null,"topics":["automation","cli","github-commits","github-config","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PacemakerX.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-13T09:34:11.000Z","updated_at":"2025-07-13T10:13:54.000Z","dependencies_parsed_at":"2025-07-13T11:01:43.269Z","dependency_job_id":"bd8d9257-3ea3-422c-9e39-5d0b337cc109","html_url":"https://github.com/PacemakerX/commitCop","commit_stats":null,"previous_names":["pacemakerx/commitcop"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/PacemakerX/commitCop","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PacemakerX%2FcommitCop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PacemakerX%2FcommitCop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PacemakerX%2FcommitCop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PacemakerX%2FcommitCop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PacemakerX","download_url":"https://codeload.github.com/PacemakerX/commitCop/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PacemakerX%2FcommitCop/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265892638,"owners_count":23845046,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","cli","github-commits","github-config","python"],"created_at":"2025-07-19T05:12:04.501Z","updated_at":"2025-07-19T05:12:05.041Z","avatar_url":"https://github.com/PacemakerX.png","language":"Python","readme":"\u003cp align=\"center\" style=\"margin-bottom: 5px;\"\u003e\n  \u003cimg src=\"https://capsule-render.vercel.app/api?type=waving\u0026color=gradient\u0026customColorList=8,18,22,23,25\u0026text=Commit%20Cop!\u0026height=150\u0026animation=fadeIn\u0026fontSize=75\u0026fontColor=FFFFFF99\" alt=\"Header\"/\u003e\n\u003c/p\u003e\n\n\n# Commit Cop (ccop)\n\n**Commit Cop** is a modular, cross-platform CLI tool for enforcing clean, structured commit messages in Git repositories. It automates commit message validation via Git hooks and provides a user-friendly interface for configuration and manual validation.\n\n[![Python](https://img.shields.io/badge/Python-3776AB?logo=python\u0026logoColor=white)](#)\n[![Cross Platform](https://img.shields.io/badge/Cross--Platform-00b894?logo=windows\u0026logoColor=white\u0026label=OS)](#)\n[![CLI Tool](https://img.shields.io/badge/CLI%20Tool-4B8BBE?logo=terminal\u0026logoColor=white)](#)\n[![Git](https://img.shields.io/badge/Git-F05032?logo=git\u0026logoColor=white)](#)\n[![VS Code](https://custom-icon-badges.demolab.com/badge/VS%20Code-0078d7.svg?logo=visualstudiocode\u0026logoColor=white)](#)\n[![MIT License](https://img.shields.io/badge/License-MIT-green.svg)](#)\n\n## 🚀 Features\n\n- **Commit Message Enforcement**: Installs a `commit-msg` Git hook to validate commit messages automatically.\n- **Manual Validation**: Validate commit messages manually from the CLI.\n- **Configurable Rules**: Easily customize allowed commit types and scopes via YAML config or CLI commands.\n- **Modular \u0026 Extensible**: Clean, object-oriented codebase for easy extension.\n- **Cross-Platform**: Works on Linux, Windows, and macOS.\n- **Interactive CLI**: Simple, intuitive command-line interface.\n\n## 🛠️ Tech Stack\n\n### Core Technologies\n\n- **Python**: Main language for CLI and hook logic.\n- **Click**: For building the interactive CLI.\n- **YAML**: Configuration format for commit rules.\n- **Git Hooks**: Integration with Git for commit enforcement.\n\n### Tools \u0026 Environment\n\n- **Visual Studio Code**: Recommended editor with GitHub Copilot integration.\n- **Git**: Required for hook installation and commit validation.\n- **Windows, Linux, macOS**: Supported operating systems.\n\n## ❓ Why Commit Cop?\n\nMaintaining high-quality commit messages is crucial for collaboration and project history. **Commit Cop** helps teams enforce standards, making project history readable and actionable:\n\n- Prevents messy or ambiguous commit logs.\n- Customizable to fit any team's workflow.\n- Easy to install, configure, and use.\n\n## Installation\n\nDownload the latest release from GitHub and install via pip:\n\n```sh\npip install git+https://github.com/PacemakerX/commitCop.git\n```\n\n### Via Git\n\nInstall directly from the GitHub repo using pip:\n\n```bash\npip install git+https://github.com/PacemaekrX/commitCop.git\n```\nVia Binary\nDownload the prebuilt binary from the Releases section below:\n\n```bash\nchmod +x ccop\n./ccop --help\n```\nYou can optionally move it to a directory in your PATH:\n\n```bash\nmv ccop /usr/local/bin/\n```\n## Feel free to connect with me!\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"mailto:sparsh.officialwork@gmail.com\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/Gmail-sparsh.officialwork@gmail.com-D14836?style=for-the-badge\u0026logo=gmail\u0026logoColor=white\" alt=\"Gmail Badge\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.linkedin.com/in/sparshsoni\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/LinkedIn-Connect-blue?style=for-the-badge\u0026logo=linkedin\u0026logoColor=white\" alt=\"LinkedIn Badge\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpacemakerx%2Fcommitcop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpacemakerx%2Fcommitcop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpacemakerx%2Fcommitcop/lists"}