{"id":37162441,"url":"https://github.com/itsmurugappan/git-openfaas-connector","last_synced_at":"2026-01-14T19:20:00.824Z","repository":{"id":132655874,"uuid":"183313706","full_name":"itsmurugappan/git-openfaas-connector","owner":"itsmurugappan","description":"git webhook openfaas connector","archived":false,"fork":false,"pushed_at":"2019-05-04T15:49:52.000Z","size":22,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-21T01:10:23.853Z","etag":null,"topics":["git","git-webhook","openfaas","webhook"],"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/itsmurugappan.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":"2019-04-24T22:09:11.000Z","updated_at":"2019-05-04T15:49:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"51172370-50cc-4f6c-9a71-523aa27197ed","html_url":"https://github.com/itsmurugappan/git-openfaas-connector","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/itsmurugappan/git-openfaas-connector","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsmurugappan%2Fgit-openfaas-connector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsmurugappan%2Fgit-openfaas-connector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsmurugappan%2Fgit-openfaas-connector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsmurugappan%2Fgit-openfaas-connector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itsmurugappan","download_url":"https://codeload.github.com/itsmurugappan/git-openfaas-connector/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itsmurugappan%2Fgit-openfaas-connector/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28432423,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T18:57:19.464Z","status":"ssl_error","status_checked_at":"2026-01-14T18:52:48.501Z","response_time":107,"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":["git","git-webhook","openfaas","webhook"],"created_at":"2026-01-14T19:20:00.273Z","updated_at":"2026-01-14T19:20:00.816Z","avatar_url":"https://github.com/itsmurugappan.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## GIT - OpenFaas Connector\n\nTrigger protected openfaas functions from github webhooks.\n\n#### Architecture\n\nThe connector validates the secret send by github and invokes the function based\non repo/function mapping in the environment variable\n```\n       +++++++++++++++++++++++++++++++++++++++++\n       +                                       +\n  git--+--\u003e GitOpenFaaSConnector --\u003e Function  +\n       +                                       +\n       +        (K8s/Openshift Namespace)      +\n       +++++++++++++++++++++++++++++++++++++++++\n```\n#### Build code\n\n* All the code is in git-faas.go file.\n* Download dependencies\n```\ndep ensure\n```\n* Test\n```\ngo test\n```\n* Build the code\n```\nCGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o release/git-faas .\n```\n* Build image\n```\ndocker build -t git-faas  .\n```\n\n#### Deploy connector\n\nFollowing are the configuration options as environment variables\n\n| Key | Value | Default | Description |\n|-----|-------|---------|-------------|\n| secret | token string | no default - mandatory field | the secret token to validate git webhooks |\n| api | api prefix | http://gateway:8080/function/ | api prefix path like http://gateway:8080/function/ |\n| git url | function | no default - mandatory field | please specify your git url as key and function name as the value |\n| retry | number of retries | 3 | number of time function should be retried |\n| timeout | Transport dialer time out | 100s | timeout duration like 50s |\n\n\n#### Github Set Up\n\n1. Go to Hooks sections of settings page in the git repo\n2. Add webhook\n3. Enter the payload url, secret specified in the deployment\n4. Content type is application/json\n5. Select the appropriate git events.\n\nThis connector can be used for any protected api, just mention the correct path in the api environment variable\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsmurugappan%2Fgit-openfaas-connector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitsmurugappan%2Fgit-openfaas-connector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitsmurugappan%2Fgit-openfaas-connector/lists"}