{"id":28412125,"url":"https://github.com/easysoft/gitfox-webhooks","last_synced_at":"2026-04-24T21:33:57.014Z","repository":{"id":263559848,"uuid":"813701165","full_name":"easysoft/gitfox-webhooks","owner":"easysoft","description":"Library webhooks allows for easy receiving and parsing of GitFox Webhook Events","archived":false,"fork":false,"pushed_at":"2025-07-01T07:17:33.000Z","size":22,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-01T08:25:30.240Z","etag":null,"topics":["git"],"latest_commit_sha":null,"homepage":"https://www.gitfox.cc","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/easysoft.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":"2024-06-11T15:18:18.000Z","updated_at":"2025-07-01T07:16:57.000Z","dependencies_parsed_at":"2025-07-01T08:22:03.039Z","dependency_job_id":"5bb87523-0939-423b-8482-24415322b3de","html_url":"https://github.com/easysoft/gitfox-webhooks","commit_stats":null,"previous_names":["easysoft/gitfox-webhooks"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/easysoft/gitfox-webhooks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easysoft%2Fgitfox-webhooks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easysoft%2Fgitfox-webhooks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easysoft%2Fgitfox-webhooks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easysoft%2Fgitfox-webhooks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/easysoft","download_url":"https://codeload.github.com/easysoft/gitfox-webhooks/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easysoft%2Fgitfox-webhooks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32241794,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"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":["git"],"created_at":"2025-06-02T20:14:15.915Z","updated_at":"2026-04-24T21:33:57.002Z","avatar_url":"https://github.com/easysoft.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitFox Library Webhooks\n\nLibrary webhooks allows for easy receiving and parsing of GitFox Webhook Events\n\n## Installation\n\nUse go get.\n\n```go\ngo get -u github.com/easysoft/gitfox-webhooks\n```\n\nThen import the package into your own code.\n\n```go\nimport \"github.com/easysoft/gitfox-webhooks\"\n```\n\n## Usage\n\n```go\npackage main\n\nimport (\n \"net/http\"\n\n \"github.com/easysoft/gitfox-webhooks/gitfox\"\n)\n\nfunc main() {\n hook, _ := gitfox.New(gitfox.Options.Secret(\"MyGitFoxSecret...?\"))\n\n http.HandleFunc(path, func(w http.ResponseWriter, r *http.Request) {\n  payload, err := hook.Parse(r, gitfox.BranchUpdatedEvent)\n  if err != nil {\n   if err == gitfox.ErrEventNotFound {\n    // ok event wasn't one of the ones asked to be parsed\n   }\n  }\n  switch payload.(type) {\n  case gitfox.BranchUpdatedPayload:\n   push := payload.(gitfox.BranchUpdatedPayload)\n   // Do whatever you want from here...\n   fmt.Printf(\"%+v\", push)\n })\n http.ListenAndServe(\":3000\", nil)\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feasysoft%2Fgitfox-webhooks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feasysoft%2Fgitfox-webhooks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feasysoft%2Fgitfox-webhooks/lists"}