{"id":44843283,"url":"https://github.com/ordenada/github-webhook-deployment-manager","last_synced_at":"2026-02-17T03:48:42.588Z","repository":{"id":273284339,"uuid":"919200103","full_name":"ordenada/github-webhook-deployment-manager","owner":"ordenada","description":"A tool that automates the deployment process for Node.js projects by integrating GitHub webhooks.","archived":false,"fork":false,"pushed_at":"2025-07-05T07:42:07.000Z","size":24,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-05T08:36:35.939Z","etag":null,"topics":["deploy","deployment","github","telegram","telegram-bot","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/ordenada.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,"zenodo":null}},"created_at":"2025-01-19T23:59:52.000Z","updated_at":"2025-07-05T07:42:10.000Z","dependencies_parsed_at":"2025-01-20T01:27:48.627Z","dependency_job_id":"d6ad0cdf-1f4c-443b-a9fb-5bb66c60b9f8","html_url":"https://github.com/ordenada/github-webhook-deployment-manager","commit_stats":null,"previous_names":["ordenada/github-webhook-deployment-manager"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ordenada/github-webhook-deployment-manager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ordenada%2Fgithub-webhook-deployment-manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ordenada%2Fgithub-webhook-deployment-manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ordenada%2Fgithub-webhook-deployment-manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ordenada%2Fgithub-webhook-deployment-manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ordenada","download_url":"https://codeload.github.com/ordenada/github-webhook-deployment-manager/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ordenada%2Fgithub-webhook-deployment-manager/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29532496,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T03:01:11.216Z","status":"ssl_error","status_checked_at":"2026-02-17T03:00:31.803Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["deploy","deployment","github","telegram","telegram-bot","webhook"],"created_at":"2026-02-17T03:48:42.058Z","updated_at":"2026-02-17T03:48:42.580Z","avatar_url":"https://github.com/ordenada.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Github Webhook Deployment Manager\n\nA tool that automates the deployment updates for Node.js projects using GitHub webhooks. This tool triggers git commands (`git fetch`, `git merge`, etc.) and the `pm2 restart` command to keep your application up-to-date with minimal intervention required.\n\n---\n\n## Environment Variables\n\nRead the file `env.sample` to understand each environment variable. The Telegram environment variables are optional and are used to send notifications via a Telegram Bot.\n\nCreate a new `.env` file and configure the required environment variables.\n\n---\n\n## Installation\n\nClone this repository:\n\n```bash\ngit clone https://github.com/ordenada/github-webhook-deployment-manager.git\ncd github-webhook-deployment-manager\n```\n\nYou can use the `install.sh` script to prepare the virtual environment. The packages in the `requirements.txt` files are required. Install them with the command `pip install -r requirements.txt`.\n\n---\n\n## Run\n\nStart the webhook service:\n\n```bash\npython main.py\n```\n\nYou can use PM2 to keep this process running.\n\n---\n\n## Usage\n\n1. Configure a webhook in your GitHub repository:\n\n   - Payload URL: `http://\u003cHOST\u003e:\u003cPORT\u003e/webhook`\n   - Content Type: `application/json`\n   - Secret: Match the `SECRET` value in your `.env` file.\n\n2. Push updates to your repository. The tool will:\n\n   - Fetch and merge the latest changes.\n   - Restart the Node.js application using PM2.\n   - Optionally send a Telegram notification about the deployment status.\n\n---\n\n## License\n\nThis project is licensed under the MIT License. See the `LICENSE` file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fordenada%2Fgithub-webhook-deployment-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fordenada%2Fgithub-webhook-deployment-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fordenada%2Fgithub-webhook-deployment-manager/lists"}