{"id":50506318,"url":"https://github.com/pardnchiu/go-notify-hub","last_synced_at":"2026-06-02T16:04:21.526Z","repository":{"id":334246350,"uuid":"1140484677","full_name":"pardnchiu/go-notify-hub","owner":"pardnchiu","description":"Unified notification gateway for Slack, Discord, LINE, and Email","archived":false,"fork":false,"pushed_at":"2026-02-05T16:55:12.000Z","size":157,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-02-05T18:57:27.433Z","etag":null,"topics":["backend","discord","email","go","golang","lineoffical","pardnchiu","slack"],"latest_commit_sha":null,"homepage":"","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/pardnchiu.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-23T10:41:46.000Z","updated_at":"2026-02-05T16:57:20.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/pardnchiu/go-notify-hub","commit_stats":null,"previous_names":["pardnchiu/go-notify-hub"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/pardnchiu/go-notify-hub","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pardnchiu%2Fgo-notify-hub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pardnchiu%2Fgo-notify-hub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pardnchiu%2Fgo-notify-hub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pardnchiu%2Fgo-notify-hub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pardnchiu","download_url":"https://codeload.github.com/pardnchiu/go-notify-hub/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pardnchiu%2Fgo-notify-hub/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33829353,"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-06-02T02:00:07.132Z","response_time":109,"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":["backend","discord","email","go","golang","lineoffical","pardnchiu","slack"],"created_at":"2026-06-02T16:04:20.206Z","updated_at":"2026-06-02T16:04:21.521Z","avatar_url":"https://github.com/pardnchiu.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e [!NOTE]\n\u003e This README was generated by [SKILL](https://github.com/pardnchiu/skill-readme-generate), get the ZH version from [here](./README.zh.md).\n\n# go-notify-hub\n\n[![pkg](https://pkg.go.dev/badge/github.com/pardnchiu/go-notify-hub.svg)](https://pkg.go.dev/github.com/pardnchiu/go-notify-hub)\n[![card](https://goreportcard.com/badge/github.com/pardnchiu/go-notify-hub)](https://goreportcard.com/report/github.com/pardnchiu/go-notify-hub)\n[![license](https://img.shields.io/github/license/pardnchiu/go-notify-hub)](LICENSE)\n[![version](https://img.shields.io/github/v/tag/pardnchiu/go-notify-hub?label=release)](https://github.com/pardnchiu/go-notify-hub/releases)\n\n\u003e A unified multi-channel notification hub that delivers messages to Discord, Slack, LINE, and Email through a single REST API.\n\n## Table of Contents\n\n- [Features](#features)\n- [Architecture](#architecture)\n- [File Structure](#file-structure)\n- [License](#license)\n- [Author](#author)\n- [Stars](#stars)\n\n## Features\n\n\u003e [Documentation](./doc.md)\n\n### Unified Multi-Channel Delivery\n\nSend notifications to Discord Webhooks, Slack Webhooks, LINE broadcasts, and Email SMTP through one set of REST endpoints. Configure channel credentials once and push messages across all platforms with a consistent interface.\n\n### Bot Interaction Engine\n\nBuilt-in event processing for Discord and LINE bots with unified command parsing and reply logic. The chatbot and notification services share the same backend, reducing operational and deployment complexity.\n\n### Dynamic Channel Management\n\nAdd or remove webhook channels at runtime via API calls. Channel configurations persist to JSON files and are protected by read-write locks, allowing notification targets to change without service restarts.\n\n## Architecture\n\n```mermaid\ngraph TB\n    Client[REST API Client]\n    Client --\u003e Discord[Discord Webhook]\n    Client --\u003e Slack[Slack Webhook]\n    Client --\u003e LINE[LINE Bot]\n    Client --\u003e Email[Email SMTP]\n\n    Discord --\u003e DM[Dynamic Channel Mgmt\u003cbr/\u003eJSON + RWMutex]\n    Slack --\u003e SM[Dynamic Channel Mgmt\u003cbr/\u003eJSON + RWMutex]\n\n    LINE --\u003e BotEngine[Bot Interaction Engine]\n    DiscordBot[Discord Bot] --\u003e BotEngine\n    BotEngine --\u003e Handler[Unified Command Handler]\n```\n\n## File Structure\n\n```\ngo-notify-hub/\n├── cmd/\n│   └── api/\n│       └── main.go              # Entry point and route setup\n├── internal/\n│   ├── bot/\n│   │   ├── dicord/              # Discord bot event handlers\n│   │   ├── line/                # LINE bot webhook handlers\n│   │   └── handler/             # Shared command parsing \u0026 reply\n│   ├── channel/\n│   │   ├── discord/             # Discord webhook delivery\n│   │   └── slack/               # Slack webhook delivery\n│   ├── database/                # SQLite data access\n│   ├── email/                   # SMTP single \u0026 bulk sending\n│   └── utils/                   # Shared utilities \u0026 validation\n├── sql/                         # Database schema\n├── json/                        # Channel config files\n├── docker-compose.yml\n└── go.mod\n```\n\n## License\n\nThis project is licensed under the [MIT LICENSE](LICENSE).\n\n## Author\n\n\u003cimg src=\"https://avatars.githubusercontent.com/u/25631760\" align=\"left\" width=\"96\" height=\"96\" style=\"margin-right: 0.5rem;\"\u003e\n\n\u003ch4 style=\"padding-top: 0\"\u003e邱敬幃 Pardn Chiu\u003c/h4\u003e\n\n\u003ca href=\"mailto:dev@pardn.io\" target=\"_blank\"\u003e\n\u003cimg src=\"https://pardn.io/image/email.svg\" width=\"48\" height=\"48\"\u003e\n\u003c/a\u003e \u003ca href=\"https://linkedin.com/in/pardnchiu\" target=\"_blank\"\u003e\n\u003cimg src=\"https://pardn.io/image/linkedin.svg\" width=\"48\" height=\"48\"\u003e\n\u003c/a\u003e\n\n## Stars\n\n[![Star](https://api.star-history.com/svg?repos=pardnchiu/go-notify-hub\u0026type=Date)](https://www.star-history.com/#pardnchiu/go-notify-hub\u0026Date)\n\n***\n\n©️ 2026 [邱敬幃 Pardn Chiu](https://linkedin.com/in/pardnchiu)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpardnchiu%2Fgo-notify-hub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpardnchiu%2Fgo-notify-hub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpardnchiu%2Fgo-notify-hub/lists"}