{"id":13702476,"url":"https://github.com/lucasmelin/gh-hook","last_synced_at":"2025-08-21T07:11:58.298Z","repository":{"id":65566615,"uuid":"568169009","full_name":"lucasmelin/gh-hook","owner":"lucasmelin","description":"🪝A GitHub CLI extension to easily manage your repository webhooks.","archived":false,"fork":false,"pushed_at":"2023-03-10T02:31:34.000Z","size":960,"stargazers_count":10,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-27T18:55:41.913Z","etag":null,"topics":["bubbletea","gh-extension","github","github-api","go","golang","webhook","webhooks"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lucasmelin.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-11-19T17:04:00.000Z","updated_at":"2024-08-21T15:55:50.000Z","dependencies_parsed_at":"2024-01-14T19:27:42.446Z","dependency_job_id":null,"html_url":"https://github.com/lucasmelin/gh-hook","commit_stats":{"total_commits":27,"total_committers":2,"mean_commits":13.5,"dds":0.03703703703703709,"last_synced_commit":"714bdb2d21958689dbcb7421f0ddf0fb4dae8d17"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/lucasmelin/gh-hook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasmelin%2Fgh-hook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasmelin%2Fgh-hook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasmelin%2Fgh-hook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasmelin%2Fgh-hook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lucasmelin","download_url":"https://codeload.github.com/lucasmelin/gh-hook/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasmelin%2Fgh-hook/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271441696,"owners_count":24760345,"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","status":"online","status_checked_at":"2025-08-21T02:00:08.990Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["bubbletea","gh-extension","github","github-api","go","golang","webhook","webhooks"],"created_at":"2024-08-02T21:00:36.311Z","updated_at":"2025-08-21T07:11:58.254Z","avatar_url":"https://github.com/lucasmelin.png","language":"Go","funding_links":[],"categories":["golang","Github"],"sub_categories":[],"readme":"\u003c!--suppress HtmlDeprecatedAttribute --\u003e\n\u003ch1 align=\"center\"\u003e gh-hook \u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n🪝 A GitHub CLI extension to easily manage your repository webhooks.\n\u003cbr/\u003e\n\u003c/p\u003e\n\n## ✨ Features\n- Create a repository webhook\n- Delete one or more repository webhooks\n- List all repository webhooks\n\n## 📼 Demo\n\n![gh-hook demo](vhs-tapes/demo.gif)\n\n## 📦️ Installation\n\n1. Install the `gh` CLI (requires v2.0.0 at a minimum).\n2. Install this extension:\n   ```sh\n   gh extension install lucasmelin/gh-hook\n   ```\n\n## 🧑‍💻 Usage\n\nRun using `gh hook`. Run `gh hook --help` for more info.\n\n### Creating a webhook via a JSON file\n\nBy default, this extension will prompt for all the information needed to create a webhook when run with `gh hook create`. However, the `--file` flag allows for passing the webhook data via a JSON file instead, if you prefer:\n\n```sh\n$ cat hook.json\n{\n  \"active\": true,\n  \"events\": [\n    \"push\",\n    \"pull_request\"\n  ],\n  \"config\": {\n    \"url\": \"https://example.com\",\n    \"content_type\": \"json\",\n    \"insecure_ssl\": \"0\",\n    \"secret\": \"somesecretpassphrase\"\n  }\n}\n\n$ gh hook create --file hook.json\nCreating new webhook for gh-hook\nSuccessfully created hook 🪝\n\n$ gh hook list\n✓ 404339664 - https://example.com (pull_request, push)\n```\n\n## Development\n\n```sh\n# Install the action locally\ngh extension install .; gh hook\n# View changes\ngo build \u0026\u0026 gh hook\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucasmelin%2Fgh-hook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucasmelin%2Fgh-hook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucasmelin%2Fgh-hook/lists"}