{"id":21476458,"url":"https://github.com/node-ci/nci-telegram-notification","last_synced_at":"2025-06-27T03:04:25.176Z","repository":{"id":57309229,"uuid":"60711351","full_name":"node-ci/nci-telegram-notification","owner":"node-ci","description":"Telegram notification plugin for nci","archived":false,"fork":false,"pushed_at":"2020-04-20T14:41:14.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-14T16:02:52.384Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/node-ci.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}},"created_at":"2016-06-08T16:07:33.000Z","updated_at":"2020-04-20T14:41:17.000Z","dependencies_parsed_at":"2022-08-29T12:41:49.968Z","dependency_job_id":null,"html_url":"https://github.com/node-ci/nci-telegram-notification","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/node-ci/nci-telegram-notification","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-ci%2Fnci-telegram-notification","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-ci%2Fnci-telegram-notification/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-ci%2Fnci-telegram-notification/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-ci%2Fnci-telegram-notification/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/node-ci","download_url":"https://codeload.github.com/node-ci/nci-telegram-notification/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/node-ci%2Fnci-telegram-notification/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261913258,"owners_count":23229478,"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":[],"created_at":"2024-11-23T11:09:05.076Z","updated_at":"2025-06-27T03:04:25.150Z","avatar_url":"https://github.com/node-ci.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nci-telegram-notification\n\nTelegram notification plugin for [nci](https://github.com/node-ci/nci)\n\n[![Npm version](https://img.shields.io/npm/v/nci-telegram-notification.svg)](https://www.npmjs.org/package/nci-telegram-notification)\n[![Build Status](https://travis-ci.org/node-ci/nci-telegram-notification.svg?branch=master)](https://travis-ci.org/node-ci/nci-telegram-notification)\n[![Known Vulnerabilities](https://snyk.io/test/npm/nci-telegram-notification/badge.svg)](https://snyk.io/test/npm/nci-telegram-notification)\n\n\n## Installation\n\n```sh\nnpm install nci-telegram-notification\n```\n\n## Usage\n\nRegister telegram bot, just start conversation with `@BotFather`.\nAdd this plugin to the `plugins` section at server config, set\nparameters for telegram bot at `notify.telegram`\n```yml\nplugins:\n    - nci-telegram-notification\n\nnotify:\n    telegram:\n        token: 123:xyz\n\n```\nafter that you can set telegram notification at project config\n```yml\nnotify:\n    on: [done, change, error]\n    to:\n        telegram:\n            - 1111 # this is id of the group chat, read next section\n```\n\n### How to get the group chat id\n\n_Information from [stackoverflow question](https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id)_\n\n* Add the Telegram BOT to the group.\n\n* Get the list of updates for your BOT: `curl https://api.telegram.org/bot123:xyz/getUpdates`\n\n* Look for the \"chat\" object:\n```json\n{\"update_id\":8393,\"message\":{\"message_id\":3,\"from\":{\"id\":7474,\"first_name\":\"AAA\"},\"chat\":{\"id\":123,\"title\":\"\"},\"date\":25497,\"new_chat_participant\":{\"id\":71,\"first_name\":\"NAME\",\"username\":\"YOUR_BOT_NAME\"}}}\n```\n\n* Use the `id` of the `chat` object to send your messages.\n\n### Usage with SOCKS5 proxy\n\nIn order to use proxy for teleram requests you can specify\n`notify.telegram.proxy` section in server config:\n\n```yml\nplugins:\n    - nci-telegram-notification\n\nnotify:\n    telegram:\n        token: 123:xyz\n        proxy:\n            host: example.proxy.com\n            port: 443\n            username: proxy_username\n            password: proxy_password\n```\n\n\n## License\n\n[The MIT License](https://raw.githubusercontent.com/fleg/nci-telegram-notification/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnode-ci%2Fnci-telegram-notification","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnode-ci%2Fnci-telegram-notification","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnode-ci%2Fnci-telegram-notification/lists"}