{"id":26208377,"url":"https://github.com/web-pacotes/telegram-log","last_synced_at":"2025-08-12T13:35:54.511Z","repository":{"id":177868480,"uuid":"634270364","full_name":"web-pacotes/telegram-log","owner":"web-pacotes","description":"Logs messages to a Telegram channel","archived":false,"fork":false,"pushed_at":"2023-11-01T11:38:21.000Z","size":509,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-09T00:10:00.479Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/web-pacotes.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2023-04-29T15:36:04.000Z","updated_at":"2023-07-01T14:31:15.000Z","dependencies_parsed_at":"2025-03-12T06:39:13.066Z","dependency_job_id":null,"html_url":"https://github.com/web-pacotes/telegram-log","commit_stats":null,"previous_names":["web-pacotes/telegram-log"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/web-pacotes/telegram-log","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web-pacotes%2Ftelegram-log","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web-pacotes%2Ftelegram-log/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web-pacotes%2Ftelegram-log/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web-pacotes%2Ftelegram-log/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/web-pacotes","download_url":"https://codeload.github.com/web-pacotes/telegram-log/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web-pacotes%2Ftelegram-log/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269673249,"owners_count":24457116,"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-10T02:00:08.965Z","response_time":71,"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":[],"created_at":"2025-03-12T06:28:36.054Z","updated_at":"2025-08-12T13:35:54.442Z","avatar_url":"https://github.com/web-pacotes.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# telegram-log\n\nLogs messages to a Telegram channel\n\n![npm version](https://badgen.net/npm/v/@web-pacotes/telegram-log) ![npm total downloads](https://badgen.net/npm/dt/@web-pacotes/telegram-log) ![bundlephobia bundle size](https://badgen.net/bundlephobia/min/@web-pacotes/telegram-log)\n\n---\n\n## How to use\n\nTo use this package, you will need a Telegram BOT and a Telegram group chat.\n\n```typescript\nimport { default as handler, TelegramOptions } from '@web-pacotes/telegram-log';\n\nasync function main() {\n\tconst telegramOptions = \u003cTelegramOptions\u003e{\n\t\tbotToken: 'your-telegram-bot-token',\n\t\tchatId: 'you-telegram-chat-id'\n\t};\n\n\tconst result = await handler('Hello from telegram-log!!!', telegramOptions);\n\n\tconsole.log(result);\n}\n\nmain();\n```\n\n## Features\n\n- Sends a message to a Telegram group chat.\n\n---\n\n## Scripts\n\n- `npm run build` to transpile and bundle files in `.cjs`, `.js`, `.d.ts` and respective source-maps\n- `npm run start` to run the project with `swc` compilation\n\n- `npm run test` to run the unit tests\n- `npm run lint` to analyze and lint the project\n- `npm run format` to format the project based on lint feedback\n- `npm run docs` to generate docs site\n- `npm run docs:publish` to generate docs site and publish it to GitHub Pages\n\n- `npm run release` to create the temporary changesets file\n- `npm run publish` to publish the package to NPM\n\n## Hooks\n\nThis repository is configured with client-side Git hooks that automatically format + lint the codebase before each push. You can install it by running the following command:\n\n```bash\n./hooks/INSTALL\n```\n\n## Automatically Publishing to NPM\n\nTo automatically publish the package to NPM, you will need to grab a token of the publisher account for CI usage, and set it as a repository secret in GitHub under the `NPM_TOKEN` identifier.\n\n---\n\n### Bugs and Contributions\n\nFound any bug (including typos) in the package? Do you have any suggestion\nor feature to include for future releases? Please create an issue via\nGitHub in order to track each contribution. Also, pull requests are very\nwelcome!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweb-pacotes%2Ftelegram-log","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweb-pacotes%2Ftelegram-log","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweb-pacotes%2Ftelegram-log/lists"}