{"id":18080893,"url":"https://github.com/pdehaan/octokit-webhooks","last_synced_at":"2025-04-05T22:18:36.535Z","repository":{"id":66292108,"uuid":"260382105","full_name":"pdehaan/octokit-webhooks","owner":"pdehaan","description":"Testing @octokit/webhooks for bot excellence.","archived":false,"fork":false,"pushed_at":"2023-12-16T00:54:15.000Z","size":8,"stargazers_count":0,"open_issues_count":7,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-12T03:34:56.969Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/pdehaan.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}},"created_at":"2020-05-01T04:51:42.000Z","updated_at":"2023-11-12T18:00:06.000Z","dependencies_parsed_at":"2023-11-12T19:22:02.915Z","dependency_job_id":"66deb2b4-d387-4ad9-8ce0-1b79d39a336b","html_url":"https://github.com/pdehaan/octokit-webhooks","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdehaan%2Foctokit-webhooks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdehaan%2Foctokit-webhooks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdehaan%2Foctokit-webhooks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pdehaan%2Foctokit-webhooks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pdehaan","download_url":"https://codeload.github.com/pdehaan/octokit-webhooks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247406443,"owners_count":20933870,"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":[],"created_at":"2024-10-31T13:11:08.094Z","updated_at":"2025-04-05T22:18:36.518Z","avatar_url":"https://github.com/pdehaan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# octokit-webhooks\n\nTesting @octokit/webhooks for bot excellence.\n\n## SETUP\n\n1. Clone repo and set your `GH_WEBHOOK_SECRET` and `PORT` environment variables in a .env file.\n2. Deploy your server to The Cloud(tm) or test locally using something like ngrok (to start your proxy server locally on port 80, use \u003ckbd\u003e./ngrok http 80\u003c/kbd\u003e). If you're using ngrok, don't forget to also start your Node service locally using \u003ckbd\u003enode gh-bot\u003c/kbd\u003e.\n3. Go to your `https://github.com/\u003cuser\u003e/\u003crepo\u003e/settings/hooks` settings and click the \"Add webhook\" button.\n4. Set your \"Payload URL\" to your deployed server or ngrok tunnel URL.\n5. Set your \"Content type\" to \"application/json\".\n6. Type/paste in the GitHub webhook secret that you set in your .env file above.\n7. Select the events you want to trigger the webhook; in our case it will just be \"Issues\", but feel free to get a little silly with it.\n8. When you're done, click the \"Add webhook\" button.\n9.  If you get a delivery error, keep hacking and click the \"Redeliver\" button to retry. If you're using ngrok, there is a handy web interface on http://127.0.0.1:4040 that is useful for debugging requests and received payloads.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpdehaan%2Foctokit-webhooks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpdehaan%2Foctokit-webhooks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpdehaan%2Foctokit-webhooks/lists"}