{"id":29672960,"url":"https://github.com/paulpascal/webhook_executor","last_synced_at":"2026-05-09T05:31:33.854Z","repository":{"id":218240463,"uuid":"745945188","full_name":"paulpascal/webhook_executor","owner":"paulpascal","description":"This lightweight express app that facilitates the handling of webhook requests by executing an appropriate command for each webhook.","archived":false,"fork":false,"pushed_at":"2024-06-20T23:56:45.000Z","size":36,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-22T21:17:35.812Z","etag":null,"topics":["express","json","webhook","webhook-server"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/paulpascal.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":"2024-01-20T16:17:14.000Z","updated_at":"2024-01-20T16:23:37.000Z","dependencies_parsed_at":"2024-01-20T17:33:13.361Z","dependency_job_id":"b672ca0e-c107-4e49-b76c-59c807ff9a8b","html_url":"https://github.com/paulpascal/webhook_executor","commit_stats":null,"previous_names":["paulpascal/webhook_executor"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/paulpascal/webhook_executor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulpascal%2Fwebhook_executor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulpascal%2Fwebhook_executor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulpascal%2Fwebhook_executor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulpascal%2Fwebhook_executor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paulpascal","download_url":"https://codeload.github.com/paulpascal/webhook_executor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulpascal%2Fwebhook_executor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273293917,"owners_count":25079892,"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-09-02T02:00:09.530Z","response_time":77,"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":["express","json","webhook","webhook-server"],"created_at":"2025-07-22T21:09:25.463Z","updated_at":"2025-10-25T03:11:35.332Z","avatar_url":"https://github.com/paulpascal.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Project Name\n\nWebhook Executor\n\n# Description\n\nThis lightweight project facilitates the handling of webhook requests by executing an appropriate command for each webhook. It operates based on configurations provided in the `hooks.json` file.\n\n# Configuration\n\nIn the `hooks.json` file, define hooks with the following structure:\n\n```json\n[\n  {\n    \"id\": \"hook_id\",\n    \"commandPath\": \"/var/www/apps/project/script/deploy.sh\",\n    \"workingDirectory\": \"/var/www/apps/project\"\n  }\n]\n```\n\nHooks are verified at launch time, and only valid ones (with existing `id`, `commandPath`, and `workingDirectory`) are loaded.\n\n# Environment Variables\n\nCustomize the behavior of the project by setting the following environment variables:\n\n```env\nPORT=5555 # Specify the port for the webhook server.\nMAX_REQUEST_PER_WINDOWS=1 # Set the maximum number of requests allowed in a defined time window.\nWINDOWS_SIZE_IN_MS=120000 # Define the size of the time window in milliseconds (2 * 60 * 1000).\n```\n\n# Getting Started\n\n1. Clone the repository: git clone https://github.com/paulpascal/webhook_executor.git\n2. Install dependencies: npm install\n3. Set up the `hooks.json` file with your webhook configurations.\n4. Customize environment variables if needed.\n5. Start the server: `npm start`\n\n# Contribution Guidelines\n\nContributions are welcome! Follow these steps:\n\n1. Fork the project.\n2. Create a new branch: `git checkout -b feature/your-feature`\n3. Commit your changes: `git commit -m 'Add your feature'`\n4. Push to the branch: `git push origin feature/your-feature`\n5. Submit a pull request.\n\n# License\n\nThis project is licensed under the Apache License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaulpascal%2Fwebhook_executor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaulpascal%2Fwebhook_executor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaulpascal%2Fwebhook_executor/lists"}