{"id":16884986,"url":"https://github.com/f2prateek/github-webhook-server","last_synced_at":"2026-04-20T13:35:04.534Z","repository":{"id":146817802,"uuid":"42835553","full_name":"f2prateek/github-webhook-server","owner":"f2prateek","description":null,"archived":false,"fork":false,"pushed_at":"2015-09-22T20:29:54.000Z","size":122,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-25T07:23:32.596Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/f2prateek.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}},"created_at":"2015-09-21T00:39:01.000Z","updated_at":"2015-09-21T12:00:14.000Z","dependencies_parsed_at":"2023-04-08T05:02:10.230Z","dependency_job_id":null,"html_url":"https://github.com/f2prateek/github-webhook-server","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/f2prateek%2Fgithub-webhook-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f2prateek%2Fgithub-webhook-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f2prateek%2Fgithub-webhook-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f2prateek%2Fgithub-webhook-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/f2prateek","download_url":"https://codeload.github.com/f2prateek/github-webhook-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244560368,"owners_count":20472218,"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-13T16:32:45.761Z","updated_at":"2026-04-20T13:34:59.501Z","avatar_url":"https://github.com/f2prateek.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Github Webhook Server\n\npackage `gws` provides a `http.Server` implementation that handles webhook events from GitHub.\n\n# Usage\n\n```go\n    s := gws.New(\"\")\n\n    go func() {\n        for {\n            select {\n            case event := \u003c-s.PushEvents:\n                fmt.Println(\"Received Push\", event)\n            case event := \u003c-s.IssueEvents:\n                fmt.Println(\"Received Issue\", event)\n            case event := \u003c-s.IssueCommentEvents:\n                fmt.Println(\"Received Issue Comment\", event)\n            case event := \u003c-s.PullRequestEvents:\n                fmt.Println(\"Received PR\", event)\n            case event := \u003c-s.OtherEvents:\n                fmt.Println(\"Received event\", event)\n            }\n        }\n    }()\n\n    log.Fatal(http.ListenAndServe(\":8080\", s))\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ff2prateek%2Fgithub-webhook-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ff2prateek%2Fgithub-webhook-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ff2prateek%2Fgithub-webhook-server/lists"}