{"id":22542742,"url":"https://github.com/vietdien2005/gitlab-webhook","last_synced_at":"2026-05-01T10:31:33.724Z","repository":{"id":97899089,"uuid":"311927076","full_name":"vietdien2005/gitlab-webhook","owner":"vietdien2005","description":"Simple Gitlab webook receive job events (status success or failed) and notify to Telegram","archived":false,"fork":false,"pushed_at":"2021-08-09T07:16:31.000Z","size":10,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T07:44:00.636Z","etag":null,"topics":["gitlab","telegram","webhook"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vietdien2005.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2020-11-11T09:48:24.000Z","updated_at":"2024-09-08T03:37:07.000Z","dependencies_parsed_at":"2023-05-31T15:01:04.240Z","dependency_job_id":null,"html_url":"https://github.com/vietdien2005/gitlab-webhook","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vietdien2005/gitlab-webhook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vietdien2005%2Fgitlab-webhook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vietdien2005%2Fgitlab-webhook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vietdien2005%2Fgitlab-webhook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vietdien2005%2Fgitlab-webhook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vietdien2005","download_url":"https://codeload.github.com/vietdien2005/gitlab-webhook/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vietdien2005%2Fgitlab-webhook/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32494270,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["gitlab","telegram","webhook"],"created_at":"2024-12-07T13:12:27.009Z","updated_at":"2026-05-01T10:31:33.704Z","avatar_url":"https://github.com/vietdien2005.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gitlab Webhook\n\n\u003e Simple Gitlab webook receive job events (status success or failed) and notify to Telegram\n\n## Configuration\n\n### Command\n\n- Command: `python3 webhook.py --port 8989 --config ./config.yaml`\n\n### Example config\n\n```yaml\n# file: config.yaml\n---\nproject/gitlab-repo:\n  gitlab_token: your-token\n  telegram_bot: your-telegram-bot-token\n  telegram_group: your-telegram-group-id\n  telegram_template: ./templates/your-template.jinja\n```\n\n## Command Arguments\n\n- Port: Define the listen port for the webserver. Default: **8666**\n- Address: Define the listen address for the webserver. Default: **0.0.0.0**\n- Config: Define the path to your configuration file. Default: **config.yaml**\n\n## Help\n\n```bash\nusage: webhook.py [-h] [--address ADDRESS] [--port PORT] --config CONFIG\n\nGitlab Webhook\n\noptional arguments:\n  -h, --help         show this help message and exit\n  --address ADDRESS  address where it listens (default: 0.0.0.0)\n  --port PORT        port where it listens (default: 8989)\n  --config CONFIG    path to the config file (default: None)\n```\n\n## Systemd\n\n```service\n[Unit]\nDescription=Gitlab Webhook\nWants=network-online.target\nAfter=network-online.target\n\n[Service]\nType=simple\nWorkingDirectory=/opt/gitlab_webhook/\nExecStart=webhook.py --port 8989 --config /opt/gitlab_webhook/config.yaml\n\n[Install]\nWantedBy=multi-user.target\n```\n\n## Docker\n\n- Build image: `docker-compose build` or Pull Image: `docker-compose pull`\n\n- Run: `docker-compose up` or `docker-compose up -d`\n- Run without docker-compose:\n\n```bash\ndocker run -d \\\n  -p 8989 \\\n  -v ${PWD}/config.yaml:/workspace/config.yaml \\\n  --name gitlab_webhook \\\n  vietdien2005/gitlab_webhook:latest\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvietdien2005%2Fgitlab-webhook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvietdien2005%2Fgitlab-webhook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvietdien2005%2Fgitlab-webhook/lists"}