{"id":50362474,"url":"https://github.com/nathannncurtis/commit-summarizer","last_synced_at":"2026-05-30T02:30:37.458Z","repository":{"id":349473118,"uuid":"1180444406","full_name":"nathannncurtis/commit-summarizer","owner":"nathannncurtis","description":"GitHub → Ollama → Slack commit summarizer webhook service","archived":false,"fork":false,"pushed_at":"2026-05-05T21:33:37.000Z","size":23,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-05T23:25:59.345Z","etag":null,"topics":["llm","ollama","python","self-hosted","slack","webhook"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nathannncurtis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-13T03:38:26.000Z","updated_at":"2026-05-05T21:33:42.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/nathannncurtis/commit-summarizer","commit_stats":null,"previous_names":["nathannncurtis/commit-summarizer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nathannncurtis/commit-summarizer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathannncurtis%2Fcommit-summarizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathannncurtis%2Fcommit-summarizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathannncurtis%2Fcommit-summarizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathannncurtis%2Fcommit-summarizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nathannncurtis","download_url":"https://codeload.github.com/nathannncurtis/commit-summarizer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nathannncurtis%2Fcommit-summarizer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33678270,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-30T02:00:06.278Z","response_time":92,"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":["llm","ollama","python","self-hosted","slack","webhook"],"created_at":"2026-05-30T02:30:37.230Z","updated_at":"2026-05-30T02:30:37.438Z","avatar_url":"https://github.com/nathannncurtis.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Commit Summarizer\n\nA lightweight webhook service that listens for GitHub push events, generates plain-English summaries using a local LLM (via [Ollama](https://ollama.com)), and posts them to Slack.\n\nDesigned for teams where non-technical stakeholders want to stay informed about code changes without reading diffs.\n\n## How it works\n\n1. GitHub sends a push webhook to this service\n2. The service verifies the HMAC-SHA256 signature\n3. Commit data (messages, authors, files changed) is sent to a local Ollama model\n4. An AI-generated summary is posted to a Slack channel\n\n## Requirements\n\n- Python 3.10+\n- [Ollama](https://ollama.com) running locally with a model pulled (default: `qwen2.5:3b`)\n- A Slack app with an incoming webhook (for posting summaries) and slash commands (for `/pause` and `/resume`)\n- A GitHub webhook secret\n\n## Setup\n\n### 1. Install Ollama and pull a model\n\n```bash\ncurl -fsSL https://ollama.com/install.sh | sh\nollama pull qwen2.5:3b\n```\n\n### 2. Install dependencies\n\n```bash\npython3 -m venv venv\nsource venv/bin/activate\npip install -r requirements.txt\n```\n\n### 3. Configure environment\n\n```bash\ncp .env.example .env\n# Edit .env with your actual values\n```\n\n### 4. Run\n\n```bash\npython app.py\n```\n\nOr deploy as a systemd service:\n\n```ini\n[Unit]\nDescription=Commit Summarizer Webhook\nAfter=network.target ollama.service\n\n[Service]\nType=simple\nUser=your-user\nWorkingDirectory=/path/to/commit-summarizer\nExecStart=/path/to/commit-summarizer/venv/bin/python app.py\nEnvironmentFile=/path/to/commit-summarizer/.env\nRestart=on-failure\nRestartSec=5\n\n[Install]\nWantedBy=multi-user.target\n```\n\n### 5. Configure GitHub webhook\n\nIn your repo: Settings → Webhooks → Add webhook\n\n| Field | Value |\n|---|---|\n| Payload URL | `https://your-domain.com/webhook` |\n| Content type | `application/json` |\n| Secret | *(your GITHUB_WEBHOOK_SECRET)* |\n| Events | Just the push event |\n\n### 6. Configure Slack slash commands (optional)\n\nTo pause and resume summaries from Slack, add two slash commands to your Slack app:\n\n1. https://api.slack.com/apps → your app → **Slash Commands** → **Create New Command**\n   - Command: `/pause`\n   - Request URL: `https://your-domain.com/slack/command`\n   - Save\n2. Repeat for `/resume` (same Request URL)\n3. **Basic Information** → copy the **Signing Secret** into `SLACK_SIGNING_SECRET`\n4. Get the channel ID where the commands are allowed (right-click the channel → View channel details → bottom of the panel) and put it in `SLACK_ALLOWED_CHANNEL_ID`\n5. Reinstall the app to your workspace if Slack prompts you\n\nWhen paused, the service still ACKs GitHub webhooks but skips the Ollama summary and the Slack post.\n\n## Endpoints\n\n- `POST /webhook` — GitHub webhook receiver\n- `POST /slack/command` — Slack slash command handler (`/pause`, `/resume`)\n- `GET /health` — Health check (returns `paused` status)\n\n## License\n\nAGPL 3.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnathannncurtis%2Fcommit-summarizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnathannncurtis%2Fcommit-summarizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnathannncurtis%2Fcommit-summarizer/lists"}