{"id":29247507,"url":"https://github.com/ryanfarber/github-watcher","last_synced_at":"2026-04-27T00:31:39.974Z","repository":{"id":302201098,"uuid":"1011057307","full_name":"ryanfarber/github-watcher","owner":"ryanfarber","description":"github webhook watcher","archived":false,"fork":false,"pushed_at":"2025-07-01T04:26:52.000Z","size":90,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-01T05:31:23.567Z","etag":null,"topics":["deploy","github","webhooks"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/ryanfarber.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,"zenodo":null}},"created_at":"2025-06-30T08:34:38.000Z","updated_at":"2025-07-01T04:26:56.000Z","dependencies_parsed_at":"2025-07-01T05:32:01.541Z","dependency_job_id":"8bf5fc6a-87d8-4f98-ac83-000a4c9b9c18","html_url":"https://github.com/ryanfarber/github-watcher","commit_stats":null,"previous_names":["ryanfarber/github-watcher"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ryanfarber/github-watcher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanfarber%2Fgithub-watcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanfarber%2Fgithub-watcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanfarber%2Fgithub-watcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanfarber%2Fgithub-watcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryanfarber","download_url":"https://codeload.github.com/ryanfarber/github-watcher/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanfarber%2Fgithub-watcher/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32318417,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"ssl_error","status_checked_at":"2026-04-26T23:26:25.802Z","response_time":129,"last_error":"SSL_read: 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","github","webhooks"],"created_at":"2025-07-04T00:01:29.713Z","updated_at":"2026-04-27T00:31:39.957Z","avatar_url":"https://github.com/ryanfarber.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# github-watcher\nthis is a simple webhook server that watches for automated github deploys\n\n## preliminary setup\n1. you must have a public url for the github wwbhook to point to.  i usually use ngrok for this\n2. add a webhook to your github repos that you want to watch.\n3. you must initialize the folder where your app will deploy first.  i.e. `git clone git@github.com:\u003cusername\u003e/\u003crepo\u003e`\n4. add all your apps to the watcher, and run.\n\n\n## usage\n```javascript\nrequire(\"dotenv\").config({path: \"../.env\"})\nconst GithubWatcher = require(\"@ryanforever/github-watcher\")\n\n\n// instantiate a new watcher\nconst watcher = new GithubWatcher({\n\t// debug logging\n\tdebug: true,\n\n\t// port that server will listen on\n\tport: 3001, \n\n\t// optionally, provide pushover creds to notify you of deploys via the pushover app\t\n\tpushover: {\n\t\tuser: process.env.PUSHOVER_USER,\n\t\ttoken: process.env.PUSHOVER_TOKEN,\n\t\tappName: \"watcher\"\n\t},\n\n\t// add your apps here\n\tapps: [\n\t\t{\n\t\t\tname: \"app1\", // name of the app.  should match the name of the github repo\n\t\t\tpath: \"~/code/deploy/app1\",\t// path you want your app to deploy in\n\t\t\tstartScript: \"npm ci \u0026\u0026 npm start\",  // optionally the script you want to run after deploy is finished\n\t\t\tactive: true // watcher will ignore if inactive\n\t\t},\n\t\t{\n\t\t\tname: \"app2\",\n\t\t\tpath: \"~/code/deploy/app2\",\n\t\t\tactive: false\n\t\t},\n\t\t{\n\t\t\tname: \"scripts\",\n\t\t\tpath: \"~/code/deploy/scripts\",\n\t\t\tstartScript: \"npm ci\",\n\t\t\tactive: true\n\t\t}\n\t]\n})\n\n// call .run() to start server\nwatcher.run()\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanfarber%2Fgithub-watcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanfarber%2Fgithub-watcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanfarber%2Fgithub-watcher/lists"}