{"id":46045205,"url":"https://github.com/timfanda35/simple-channel-notify","last_synced_at":"2026-03-01T07:28:10.380Z","repository":{"id":44724379,"uuid":"262211788","full_name":"timfanda35/simple-channel-notify","owner":"timfanda35","description":"A tool to send simple notify to different channels","archived":false,"fork":false,"pushed_at":"2025-10-24T08:44:46.000Z","size":26,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-24T10:23:04.429Z","etag":null,"topics":["discord","hangouts-chat","line","slack","telegram","webhook"],"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/timfanda35.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":"2020-05-08T02:51:54.000Z","updated_at":"2025-10-24T08:39:06.000Z","dependencies_parsed_at":"2025-05-22T10:33:24.125Z","dependency_job_id":null,"html_url":"https://github.com/timfanda35/simple-channel-notify","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/timfanda35/simple-channel-notify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timfanda35%2Fsimple-channel-notify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timfanda35%2Fsimple-channel-notify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timfanda35%2Fsimple-channel-notify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timfanda35%2Fsimple-channel-notify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timfanda35","download_url":"https://codeload.github.com/timfanda35/simple-channel-notify/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timfanda35%2Fsimple-channel-notify/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29963355,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T06:55:38.174Z","status":"ssl_error","status_checked_at":"2026-03-01T06:53:04.810Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["discord","hangouts-chat","line","slack","telegram","webhook"],"created_at":"2026-03-01T07:28:09.480Z","updated_at":"2026-03-01T07:28:10.373Z","avatar_url":"https://github.com/timfanda35.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Channel Notify\n\nSend simple message via channel's RESTful API.\n\nSupport channels:\n- Telegram\n- Hangouts Chat\n- Slack\n- Discord\n\nPre-build container image on [Releases](https://github.com/timfanda35/simple-channel-notify/pkgs/container/simple-channel-notify)\n\nRepository: `ghcr.io/timfanda35/simple-channel-notify`\n\n## Telegram\n\nSend notify message to Telegram\n\n```\ndocker run \\\n  -e NOTIFY_TELEGRAM_TOKEN=\"$NOTIFY_TELEGRAM_TOKEN\" \\\n  -e NOTIFY_TELEGRAM_CHAT_ID=\"$NOTIFY_TELEGRAM_CHAT_ID\" \\\n  ghcr.io/timfanda35/simple-channel-notify \\\n  telegram --message=\"Notify Message~~~\"\n```\n\nEnvironment Variables\n- `NOTIFY_TELEGRAM_TOKEN`\n- `NOTIFY_TELEGRAM_CHAT_ID`\n\nReferences:\n\n- [從零開始的 Telegram Bot](https://blog.sean.taipei/2017/05/telegram-bot)\n- [用 Docker Multi-Stage 編譯出 Go 語言最小 Image](https://blog.wu-boy.com/2017/04/build-minimal-docker-container-using-multi-stage-for-go-app/)\n\n## Hangouts Chat\n\nSend notify message to Hangouts Chat\n\n```\ndocker run \\\n  -e NOTIFY_HANGOUTS_CHAT_WEBHOOK=\"$NOTIFY_HANGOUTS_CHAT_WEBHOOK\" \\\n  ghcr.io/timfanda35/simple-channel-notify \\\n  hangoutschat --message=\"Notify Message~~~\"\n```\n\nEnvironment Variables\n- NOTIFY_HANGOUTS_CHAT_WEBHOOK\n\nReferences:\n\n- [Using incoming webhooks](https://developers.google.com/hangouts/chat/how-tos/webhooks)\n\n## Slack\n\nSend notify message to Slack Channel\n\n```\ndocker run \\\n  -e NOTIFY_SLACK_WEBHOOK=\"$NOTIFY_SLACK_WEBHOOK\" \\\n  ghcr.io/timfanda35/simple-channel-notify \\\n  slack --message=\"Notify Message~~~\"\n```\n\nEnvironment Variables\n- `NOTIFY_SLACK_WEBHOOK`\n\nReferences:\n\n- [Incoming Webhooks for Slack](https://slack.com/intl/en-tw/help/articles/115005265063-Incoming-Webhooks-for-Slack)\n\n## Discord\n\nSend notify message to Discord Text Channel\n\n```\ndocker run \\\n  -e NOTIFY_DISCORD_WEBHOOK=\"$NOTIFY_DISCORD_WEBHOOK\" \\\n  ghcr.io/timfanda35/simple-channel-notify \\\n  discord --message=\"Notify Message~~~\"\n```\n\nEnvironment Variables\n- `NOTIFY_DISCORD_WEBHOOK`\n\nReferences:\n\n- [Webhook Resource](https://discord.com/developers/docs/resources/webhook#execute-webhook)\n\n\n## GitHub Action Config Sample\n\nSet the required environment variables in GitLab `Settings -\u003e Secrets -\u003e Acctions` page.\n\n- `NOTIFY_TELEGRAM_TOKEN`\n- `NOTIFY_TELEGRAM_CHAT_ID`\n\n```\nname: CI\n\non:\n  push:\n    branches: [ \"main\" ]\n  pull_request:\n    branches: [ \"main\" ]\n\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Notify\n        run: |\n          docker run \\\n          -e NOTIFY_TELEGRAM_TOKEN=\"${{ secrets.NOTIFY_TELEGRAM_TOKEN }}\" \\\n          -e NOTIFY_TELEGRAM_CHAT_ID=\"${{ secrets.NOTIFY_TELEGRAM_CHAT_ID }}\" \\\n          ghcr.io/timfanda35/simple-channel-notify \\\n          telegram --message=\"Notify Message~~~\"\n```\n\nReference: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions\n\n## GitLab CI Config Sample\n\nSet the required environment variables in GitLab `Settings -\u003e CI/CD -\u003e Variables` page.\n\n- `NOTIFY_TELEGRAM_TOKEN`\n- `NOTIFY_TELEGRAM_CHAT_ID`\n\n`.gitlab-ci.yml`\n\n```\nstages:\n - run\n\nnotify-telegram:\n  stage: run\n  image:\n    name: 'ghcr.io/timfanda35/simple-channel-notify'\n    entrypoint: [\"\"]\n  script:\n    - /app telegram --message=\"Message from GitLab CI\"\n```\n\nReference:\nhttps://docs.gitlab.com/ee/ci/yaml/gitlab_ci_yaml.html\n\n## Google Cloud Build Config Sample\n\n`cloudbuild.yaml`\n\n```\nsteps:\n  - name: 'ghcr.io/timfanda35/simple-channel-notify'\n    args: [ 'telegram', '--message=Message from Cloud Build' ]\n    env:\n      - 'NOTIFY_TELEGRAM_TOKEN=${_NOTIFY_TELEGRAM_TOKEN}'\n      - 'NOTIFY_TELEGRAM_CHAT_ID=${_NOTIFY_TELEGRAM_CHAT_ID}'\n```\n\nReference:\nhttps://cloud.google.com/build/docs/configuring-builds/substitute-variable-values#using_user-defined_substitutions\n\n## Local Build\n\nBuild container image\n\n```\ndocker build -t simple-channel-notify .\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimfanda35%2Fsimple-channel-notify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimfanda35%2Fsimple-channel-notify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimfanda35%2Fsimple-channel-notify/lists"}