{"id":23619211,"url":"https://github.com/alexandrelamberty/github-webhooks-server","last_synced_at":"2026-05-08T17:31:59.119Z","repository":{"id":92505071,"uuid":"420522512","full_name":"alexandrelamberty/github-webhooks-server","owner":"alexandrelamberty","description":":fire: Node.js server for testing GitHub Webhooks.","archived":false,"fork":false,"pushed_at":"2024-12-09T00:54:47.000Z","size":62,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-09T04:06:36.247Z","etag":null,"topics":["github","ngrok","nodejs","testing","webhooks"],"latest_commit_sha":null,"homepage":"","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/alexandrelamberty.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":"2021-10-23T21:03:03.000Z","updated_at":"2025-05-04T19:09:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"7c6766b9-dcd6-4aa5-b154-46d9cdac52c6","html_url":"https://github.com/alexandrelamberty/github-webhooks-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alexandrelamberty/github-webhooks-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexandrelamberty%2Fgithub-webhooks-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexandrelamberty%2Fgithub-webhooks-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexandrelamberty%2Fgithub-webhooks-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexandrelamberty%2Fgithub-webhooks-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexandrelamberty","download_url":"https://codeload.github.com/alexandrelamberty/github-webhooks-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexandrelamberty%2Fgithub-webhooks-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32790220,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"ssl_error","status_checked_at":"2026-05-08T08:22:45.650Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["github","ngrok","nodejs","testing","webhooks"],"created_at":"2024-12-27T19:48:11.216Z","updated_at":"2026-05-08T17:31:59.084Z","avatar_url":"https://github.com/alexandrelamberty.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Node.js CI](https://github.com/alexandrelamberty/github-webhooks-server/actions/workflows/nodejs.yaml/badge.svg)](https://github.com/alexandrelamberty/github-webhooks-server/actions/workflows/nodejs.yaml)\n\n# GitHub Webhooks Server\n\nThis project sets up a local server to receive GitHub Webhook requests, using\nNgrok to expose the local server to the internet.\n\n## Requirements\n\n- [GitHub](https://github.com/)\n- [Ngrok](https://ngrok.com/)\n- [Node.js](https://nodejs.org/)\n\n## Setup Instructions\n\n### Node.js Server\n\n1. **Install the dependencies**:\n\n   ```bash\n   npm install\n   ```\n\n2. **Start the Node.js server**:\n\n   ```bash\n   npm start\n   ```\n\n### Ngrok Tunnel\n\n1. **Start a tunnel session**:\n\n   ```bash\n   ./ngrok http 8080\n   ```\n\n2. **Note the forwarding URLs**:\n   After starting Ngrok, you will see output similar to the following:\n\n   ```plaintext\n   ngrok by @inconshreveable                                                                                          (Ctrl+C to quit)\n\n   Session Status                online\n   Session Expires               1 hour, 59 minutes\n   Version                       2.3.40\n   Region                        United States (us)\n   Web Interface                 http://127.0.0.1:4040\n   Forwarding                    http://42b7-2a02-a03f-c95e-8d00-7fb5-9a63-5577-e6f9.ngrok.io -\u003e http://localhost:8080\n   Forwarding                    https://42b7-2a02-a03f-c95e-8d00-7fb5-9a63-5577-e6f9.ngrok.io -\u003e http://localhost:8080\n\n   Connections                   ttl     opn     rt1     rt5     p50     p90\n                                 0       0       0.00    0.00    0.00    0.00\n   ```\n\n3. **Copy your public URL**:\n   Use the URL from the `Forwarding` line, such as `http(s)://42b7-2a02-a03f-c95e-8d00-7fb5-9a63-5577-e6f9.ngrok.io`.\n\n4. **Access the Ngrok web interface**:\n   You can monitor traffic and session details at \u003chttp://127.0.0.1:4040\u003e.\n\n### GitHub Webhook Configuration\n\n1. **Add a webhook to your repository**:\n   - Go to your repository on GitHub.\n   - Navigate to **Settings** \u003e **Webhooks** \u003e **Add webhook**.\n   - Set the **Payload URL** to your Ngrok URL (e.g.,\n   `http(s)://42b7-2a02-a03f-c95e-8d00-7fb5-9a63-5577-e6f9.ngrok.io`).\n\n2. **Configure the webhook settings**:\n   - Choose the content type as `application/json`.\n   - Select the events you want to receive payloads for.\n   - Click **Add webhook**.\n\n## Additional Information\n\n- **Security Note**: This setup does not implement any security mechanisms. Use\nit cautiously, especially for sensitive projects.\n- **Ngrok Sessions**: Ngrok sessions expire after a certain period, requiring\nyou to restart the session and update the GitHub webhook URL.\n\n## References\n\n- [Webhooks and Events - GitHub Docs](https://docs.github.com/en/developers/webhooks-and-events)\n- [Ngrok Documentation](https://ngrok.com/docs)\n- [Node.js Documentation](https://nodejs.org/en/docs/)\n\nFeel free to contribute to this project by submitting issues or pull requests.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexandrelamberty%2Fgithub-webhooks-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexandrelamberty%2Fgithub-webhooks-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexandrelamberty%2Fgithub-webhooks-server/lists"}