{"id":22956830,"url":"https://github.com/ashokshau/github-telegram-notify","last_synced_at":"2025-08-13T03:32:43.208Z","repository":{"id":264376233,"uuid":"893183184","full_name":"AshokShau/github-telegram-notify","owner":"AshokShau","description":"GitHub webhook handler bot for Telegram, formatting push, deployment, and all events.","archived":false,"fork":false,"pushed_at":"2025-06-29T02:13:27.000Z","size":78,"stargazers_count":4,"open_issues_count":0,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-17T16:48:37.614Z","etag":null,"topics":["git-alert","gitgram","github","github-api","github-logging","github-telegram","go","railway-app","telegram","vercel","vercel-deployment","webhook"],"latest_commit_sha":null,"homepage":"https://git-hook.vercel.app/","language":"Go","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/AshokShau.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-11-23T18:47:10.000Z","updated_at":"2025-07-13T03:43:47.000Z","dependencies_parsed_at":"2024-12-10T20:26:07.807Z","dependency_job_id":"882699a2-abd3-4357-9759-596ea7cdebef","html_url":"https://github.com/AshokShau/github-telegram-notify","commit_stats":null,"previous_names":["ashokshau/github-webhook","ashokshau/github-telegram-notify"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AshokShau/github-telegram-notify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AshokShau%2Fgithub-telegram-notify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AshokShau%2Fgithub-telegram-notify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AshokShau%2Fgithub-telegram-notify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AshokShau%2Fgithub-telegram-notify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AshokShau","download_url":"https://codeload.github.com/AshokShau/github-telegram-notify/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AshokShau%2Fgithub-telegram-notify/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270175826,"owners_count":24540093,"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-08-13T02:00:09.904Z","response_time":66,"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":["git-alert","gitgram","github","github-api","github-logging","github-telegram","go","railway-app","telegram","vercel","vercel-deployment","webhook"],"created_at":"2024-12-14T17:11:54.284Z","updated_at":"2025-08-13T03:32:43.161Z","avatar_url":"https://github.com/AshokShau.png","language":"Go","readme":"# GitHub Webhook to Telegram Bridge 🔗\n\nA lightweight Go service that listens for GitHub webhooks and forwards notifications to Telegram chats with clean formatting.\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FAshokShau%2Fgithub-telegram-notify)\n\n## 🌟 Features\n\n- Real-time GitHub event notifications in Telegram\n- Supports 20+ GitHub event types (pushes, PRs, issues, deployments, etc.)\n- Clean, formatted messages with emoji visual cues\n- Easy deployment to Vercel\n- Lightweight\n\n## 🚀 Quick Start\n\n### Prerequisites\n- Go 1.20+ (for local development)\n- [Telegram bot token](https://core.telegram.org/bots#6-botfather)\n- GitHub repository admin access\n\n### Local Development\n```bash\ngit clone https://github.com/AshokShau/github-telegram-notify.git\ncd github-telegram-notify\ngo run main.go\n```\n\nFor local testing, expose your port using:\n```bash\nngrok http 3000\n```\n\n## ⚙️ Configuration\n\n1. **Environment Variables**:\n    - `BOT_TOKEN`: Your Telegram bot token\n    - `PORT`: Server port (default: 3000)\n\n2. **GitHub Webhook Setup**:\n    - Payload URL: `https://your-domain.com/github?chat_id=YOUR_CHAT_ID`\n    - Content type: `application/json`\n    - Events: Select events to forward\n\n## 🛠️ Supported Events\n\n| Event Type          | Description                    |\n|---------------------|--------------------------------|\n| Push                | Code pushes to branches        |\n| Pull Request        | PR opened/closed/merged        |\n| Issues              | Issue created/commented/closed |\n| Releases            | New version releases           |\n| Deployments         | Code deployments               |\n| Security Advisories | Vulnerability alerts           |\n| And More            | ......                         |\n\n## 🌐 Deployment\n\n### Vercel (Recommended)\n1. Fork this repository\n2. Create new Vercel project\n3. Import your forked repo\n4. Add `BOT_TOKEN` in project settings\n5. Deploy!\n\n### Manual Deployment\nBuild and run the binary:\n```bash\ngo build -o gh-telegram\n./gh-telegram\n```\n\n## 📚 Documentation\n\n- **Endpoint**: `/github` - Handles GitHub webhooks\n- **Query Params**:\n    - `chat_id`: Required Telegram chat ID\n\n## 🤝 Contributing\n\nContributions welcome! Please:\n1. Fork the repository\n2. Create a feature branch\n3. Submit a PR with clear description\n\n## 📜 License\n\nMIT License - See [LICENSE](LICENSE) for details.\n\n## 💬 Support\n\n- [Demo Bot](https://t.me/FallenAlertBot)\n- [Telegram Support](https://t.me/AshokShau)\n- [Update Channel](https://t.me/FallenProjects)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashokshau%2Fgithub-telegram-notify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fashokshau%2Fgithub-telegram-notify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashokshau%2Fgithub-telegram-notify/lists"}