{"id":37610173,"url":"https://github.com/conmob-devsecops/hooked","last_synced_at":"2026-01-19T13:02:34.908Z","repository":{"id":313013022,"uuid":"1049152438","full_name":"conmob-devsecops/hooked","owner":"conmob-devsecops","description":null,"archived":false,"fork":false,"pushed_at":"2026-01-14T10:19:34.000Z","size":202,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-14T12:22:09.044Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/conmob-devsecops.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-02T15:02:18.000Z","updated_at":"2026-01-14T11:03:27.000Z","dependencies_parsed_at":"2025-09-09T10:24:58.397Z","dependency_job_id":null,"html_url":"https://github.com/conmob-devsecops/hooked","commit_stats":null,"previous_names":["conmob-devsecops/git-hooks","conmob-devsecops/hooked"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/conmob-devsecops/hooked","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conmob-devsecops%2Fhooked","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conmob-devsecops%2Fhooked/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conmob-devsecops%2Fhooked/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conmob-devsecops%2Fhooked/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/conmob-devsecops","download_url":"https://codeload.github.com/conmob-devsecops/hooked/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/conmob-devsecops%2Fhooked/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28478049,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T06:30:42.265Z","status":"ssl_error","status_checked_at":"2026-01-16T06:30:16.248Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2026-01-16T10:18:53.610Z","updated_at":"2026-01-19T13:02:34.898Z","avatar_url":"https://github.com/conmob-devsecops.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=center\u003e\n  \u003cimg src=\"./docs/assets/banner.jpg\" alt=\"HOOKED\" style=\"margin:0px\" /\u003e\n\u003c/p\u003e\n\n[![GitHub Tag](https://img.shields.io/github/v/tag/conmob-devsecops/hooked?label=Version\u0026color=e20074)](https://github.com/conmob-devsecops/hooked/releases)\n![GitHub License](https://img.shields.io/github/license/conmob-devsecops/hooked)\n![Python](https://img.shields.io/badge/Python-%E2%89%A5%203.12-%233776AB?logo=Python\u0026logoColor=%23ffffff)\n![Git](https://img.shields.io/badge/Git-%E2%89%A5%202.30.0-%23F05032?logo=Git\u0026logoColor=%23ffffff)\n[![pre-commit](https://img.shields.io/badge/pre--commit-%E2%89%A5%204.3.0-%23FAB040?logo=pre-commit\u0026logoColor=ffffff)](https://pre-commit.com/)\n\n## Hooked\n\nHooked is a tool to automate of the use of pre-commit hooks in your local\nrepositories. It configures your local environment by inserting global hooks\nand templates into your git workflow.\n\nAt the moment, only [pre-commit](https://pre-commit.com/) is supported. Other\nframeworks may be added in the future.\n\n## 🌱 Installation\n\n**Prerequisites**\n\n- **Python** ≥ 3.12 [Website](https://www.python.org/) | [Github](https://github.com/python/)\n- **Git** ≥ 2.30.0 [Website](https://git-scm.com/) | [Git](https://git.kernel.org/pub/scm/git/git.git)\n- **Gitleaks** ≥ 8.28.0 [Website](https://gitleaks.io/) | [Github](https://github.com/gitleaks/gitleaks)\n- **pre-commit** ≥ 4.3.0 [Website](https://pre-commit.com/) | [Github](https://github.com/pre-commit/pre-commit)\n\nHooked itself will be installed via `pip`.\n\n```bash\npip install git+https://github.com/conmob-devsecops/hooked.git@main\n```\n\n⚠️ Some managed python environments (e.g., homebrew) don't allow you to install\nhooked via pip directly. Please read the [installation manual](./docs/install.md)\nfor more details.\n\nBy now hooked should be available on your shell. You may check the version of\nhooked.\n\n```bash\n$ hooked version\nHooked version: 0.4.3\n\n```\n\nNext, we need a rule set installed, for hooked to work. An example rule set can\nbe found at [hooked-ruleset-tsi](https://github.com/conmob-devsecops/hooked-ruleset-tsi).\nRule sets are stored locally. By default, the `main` branch is used, but you\ncan specify a different branch using the `--branch` option.\n\n```bash\nhooked install https://github.com/conmob-devsecops/hooked-ruleset-tsi.git\n```\n\nCongratulations 🎉 You now have hooked installed on your system!\n\n## Usage\n\n```bash\n# check prerequisites for hooked\nhooked check\n\n# update the installed rule set\nhooked update\n\n# update hooked itself\nhooked self-upgrade\n\n# Get the hooked help\nhooked --help\n\n# skip the execution of hooked for a single commit\nHOOKED_SKIP=1 git commit -m \"my commit message\"\n\n# disable hooked\nhooked disable\n\n# enable hooked again\nhooked enable\n\n# disable hooked and remove local rule set\nhooked disable --prune\n\n# uninstall hooked\nhooked disable --prune\npip uninstall hooked\n```\n\n**Environment variables**\n\n| Variable                    | Description                                                   |\n| --------------------------- | ------------------------------------------------------------- |\n| `HOOKED_SKIP_UPGRADE_CHECK` | If set to any value disables the automatic upgrade check.     |\n| `HOOKED_LOG_LEVEL`          | Sets the logging level.                                       |\n| `HOOKED_SKIP`               | If set to any value. skips the execution of pre-commit hooks. |\n\n## Development\n\nTo install the development dependencies, create a virtual environment and\nactivate it:\n\n```bash\nuv sync --dev\nuv venv\nsource .venv/bin/activate\n```\n\nThis will create a `.venv` directory with the virtual environment. Use this as\nyour Python interpreter in your IDE, or activate it manually, depending on\nyour setup.\n\nTo run the tests, use `pytest`:\n\n```bash\nuv run pytest --cov=src/hooked\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconmob-devsecops%2Fhooked","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconmob-devsecops%2Fhooked","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconmob-devsecops%2Fhooked/lists"}