{"id":26050295,"url":"https://github.com/leggetter/github-stars-to-posthog","last_synced_at":"2026-05-16T17:41:50.999Z","repository":{"id":281083001,"uuid":"944152861","full_name":"leggetter/github-stars-to-posthog","owner":"leggetter","description":"Send GitHub Star webhook events to PostHog via Hookdeck","archived":false,"fork":false,"pushed_at":"2025-03-06T22:14:18.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-06T22:29:19.486Z","etag":null,"topics":["github","hookdeck","posthog","webhooks"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/leggetter.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":"2025-03-06T21:49:15.000Z","updated_at":"2025-03-06T22:14:21.000Z","dependencies_parsed_at":"2025-03-06T22:39:32.775Z","dependency_job_id":null,"html_url":"https://github.com/leggetter/github-stars-to-posthog","commit_stats":null,"previous_names":["leggetter/github-stars-to-posthog"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leggetter%2Fgithub-stars-to-posthog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leggetter%2Fgithub-stars-to-posthog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leggetter%2Fgithub-stars-to-posthog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leggetter%2Fgithub-stars-to-posthog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leggetter","download_url":"https://codeload.github.com/leggetter/github-stars-to-posthog/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242492110,"owners_count":20137575,"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","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":["github","hookdeck","posthog","webhooks"],"created_at":"2025-03-08T02:27:48.963Z","updated_at":"2025-10-08T08:32:50.709Z","avatar_url":"https://github.com/leggetter.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Stars ⭐ to PostHog 🦔 via Hookdeck 🪝\n\nA TypeScript application that sets up [GitHub stars webhooks](https://docs.github.com/en/webhooks/webhook-events-and-payloads#star) and sends them via [Hookdeck](https://hookdeck.com?ref=github-github-stars-to-posthog). Hookdeck transforms the webhook payload into a [PostHog](https://posthog.com) capture event payload and sends the data to the PostHog API.\n\n## Requirements\n\n- Node.js \u003e= 20.6.0 (for native TypeScript support)\n\n## Setup\n\n1. Clone this repository\n2. Install dependencies:\n   ```\n   npm install\n   ```\n3. Create a `.env` file based on the `.env.example` template and fill in your credentials:\n   - `GITHUB_TOKEN`: Your GitHub personal access token\n   - `GITHUB_WEBHOOK_SECRET`: A secret key for GitHub webhook security\n   - `POSTHOG_HOST`: Your PostHog API host. For the US this is https://us.i.posthog.com\n   - `POSTHOG_API_KEY`: Your PostHog API key\n   - `HOOKDECK_API_KEY`: Your Hookdeck API key\n   - `REPO_OWNER`: Owner of the repository to track\n   - `REPO_NAME`: Name of the repository to track\n\n## Usage\n\nRun the application directly with Node.js native TypeScript support:\n\n```\nnpm run start\n```\n\n## Screenshots\n\n### Event in Hookdeck\n\n![Event in Hookdeck](docs/hookdeck-event.png)\n\n### Event in PostHog\n\n![Event in PostHog](docs/posthog-event.png)\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleggetter%2Fgithub-stars-to-posthog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleggetter%2Fgithub-stars-to-posthog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleggetter%2Fgithub-stars-to-posthog/lists"}