{"id":31555252,"url":"https://github.com/xtaran/cgi-github-webhook","last_synced_at":"2025-10-04T21:45:16.069Z","repository":{"id":56831532,"uuid":"49336393","full_name":"xtaran/CGI-Github-Webhook","owner":"xtaran","description":"Easy to use Perl backend for GitHub webhooks","archived":false,"fork":false,"pushed_at":"2023-07-18T08:58:31.000Z","size":77,"stargazers_count":1,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-23T21:39:16.667Z","etag":null,"topics":["backend","cgi","github","github-webhook","perl","perl-module","webhook"],"latest_commit_sha":null,"homepage":"https://metacpan.org/release/CGI-Github-Webhook","language":"Perl","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/xtaran.png","metadata":{"files":{"readme":"README.md","changelog":"Changes","contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-09T18:36:03.000Z","updated_at":"2021-01-18T18:45:48.000Z","dependencies_parsed_at":"2022-08-28T20:10:35.123Z","dependency_job_id":null,"html_url":"https://github.com/xtaran/CGI-Github-Webhook","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/xtaran/CGI-Github-Webhook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtaran%2FCGI-Github-Webhook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtaran%2FCGI-Github-Webhook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtaran%2FCGI-Github-Webhook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtaran%2FCGI-Github-Webhook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xtaran","download_url":"https://codeload.github.com/xtaran/CGI-Github-Webhook/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xtaran%2FCGI-Github-Webhook/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278380476,"owners_count":25977216,"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-10-04T02:00:05.491Z","response_time":63,"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":["backend","cgi","github","github-webhook","perl","perl-module","webhook"],"created_at":"2025-10-04T21:44:48.891Z","updated_at":"2025-10-04T21:45:16.062Z","avatar_url":"https://github.com/xtaran.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"CGI::Github::Webhook\n====================\n\n[![Build Status](https://travis-ci.org/xtaran/CGI-Github-Webhook.svg?branch=master)](https://travis-ci.org/xtaran/CGI-Github-Webhook)\n[![Coverage Status](https://coveralls.io/repos/xtaran/CGI-Github-Webhook/badge.svg?branch=master\u0026service=github)](https://coveralls.io/github/xtaran/CGI-Github-Webhook?branch=master)\n[![Kwalitee status](http://cpants.cpanauthors.org/dist/CGI-Github-Webhook.png)](http://cpants.charsbar.org/dist/overview/CGI-Github-Webhook)\n[![CPAN version](https://img.shields.io/cpan/v/CGI-Github-Webhook.svg)](https://metacpan.org/release/CGI-Github-Webhook)\n\n[![Packaging status](https://repology.org/badge/vertical-allrepos/perl:cgi-github-webhook.svg)](https://repology.org/metapackage/perl:cgi-github-webhook)\n\nAn easy to use module for writing CGI-based\n[Github webhook](https://developer.github.com/webhooks/) backends in\nPerl.\n\nIn most cases three statements already suffice. Configure a script to\ntrigger, a shared secret and a log file and you're ready to go.\n\nIt also supports updating [Shields.io](https://shields.io/)-like\nstatus badges depending on the trigger script's return code (or fork\nsuccess/fail).\n\nSynopsis\n--------\n\n```perl\n#!/usr/bin/perl\n\nuse CGI::Github::Webhook;\n\nmy $ghwh = CGI::Github::Webhook-\u003enew(\n    mime_type =\u003e 'text/plain',\n    trigger =\u003e '/srv/some-github-project/bin/deploy.pl',\n    trigger_backgrounded =\u003e 1,\n    secret =\u003e 'use a generated password here, nothing valuable',\n    log =\u003e '/srv/some-github-project/log/deployment.log',\n    badge_to =\u003e '/srv/some-github-project/htdocs/status.svg',\n);\n$ghwh-\u003erun();\n```\n\nMotivation\n----------\n\nThe module has been written over the frustration of not getting\n[GitHub::WebHook](https://metacpan.org/release/GitHub-WebHook) to work\ntogether with [CGI.pm](https://metacpan.org/release/CGI).\n\nIt's first incarnation has been written as single CGI script powering\na webhook for the\n[Debian Package Management Book](http://www.dpmb.org/) to trigger\nbuilds of the e-book variants and their deployment upon every push.\n\nAuthor, License and Copyright\n-----------------------------\n\nCopyright 2016 Axel Beckert \u003cabe@deuxchevaux.org\u003e.\n\nThis program is free software; you can redistribute it and/or modify\nit under the terms of either: the\n[GNU General Public License](https://www.gnu.org/licenses/gpl) as\npublished by the [Free Software Foundation](https://www.fsf.org/),\neither [version 1](https://www.gnu.org/licenses/old-licenses/gpl-1.0),\nor (at your option)\n[any later version](https://www.gnu.org/licenses/#GPL); or the\n[Artistic License](http://dev.perl.org/licenses/artistic.html).\n\nSee http://dev.perl.org/licenses/ for more information.\n\nThe badges in the `static-badges` directory are licensed under the\n[CC0 Public Domain Dedication](https://creativecommons.org/publicdomain/zero/1.0/)\nand not copyrighted.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxtaran%2Fcgi-github-webhook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxtaran%2Fcgi-github-webhook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxtaran%2Fcgi-github-webhook/lists"}