{"id":15020870,"url":"https://github.com/endykaufman/kaufman-bot","last_synced_at":"2025-10-26T14:30:53.994Z","repository":{"id":37431754,"uuid":"99717864","full_name":"EndyKaufman/kaufman-bot","owner":"EndyKaufman","description":"Simple bot for telegram","archived":false,"fork":false,"pushed_at":"2022-12-02T07:26:09.000Z","size":3277,"stargazers_count":26,"open_issues_count":4,"forks_count":8,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-02-05T11:12:15.471Z","etag":null,"topics":["custom-injector","nestjs","telegram","telegram-bot"],"latest_commit_sha":null,"homepage":"https://telegram.me/KaufmanBot","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EndyKaufman.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["EndyKaufman"],"patreon":"EndyKaufman","ko_fi":"endykaufman","liberapay":"EndyKaufman","issuehunt":"endykaufman"}},"created_at":"2017-08-08T17:15:55.000Z","updated_at":"2024-10-20T08:19:32.000Z","dependencies_parsed_at":"2023-01-23T22:15:19.112Z","dependency_job_id":null,"html_url":"https://github.com/EndyKaufman/kaufman-bot","commit_stats":null,"previous_names":[],"tags_count":56,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EndyKaufman%2Fkaufman-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EndyKaufman%2Fkaufman-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EndyKaufman%2Fkaufman-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EndyKaufman%2Fkaufman-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EndyKaufman","download_url":"https://codeload.github.com/EndyKaufman/kaufman-bot/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238347421,"owners_count":19456927,"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":["custom-injector","nestjs","telegram","telegram-bot"],"created_at":"2024-09-24T19:55:47.189Z","updated_at":"2025-10-26T14:30:53.472Z","avatar_url":"https://github.com/EndyKaufman.png","language":"TypeScript","funding_links":["https://github.com/sponsors/EndyKaufman","https://patreon.com/EndyKaufman","https://ko-fi.com/endykaufman","https://liberapay.com/EndyKaufman","https://issuehunt.io/r/endykaufman"],"categories":[],"sub_categories":[],"readme":"# KaufmanBot\n\nSimple bot for telegram\n\n[![NPM version][npm-image]][npm-url] [![monthly downloads][downloads-image]][downloads-url] [![Telegram bot][telegram-image]][telegram-url]\n\n## Links\n\n[https://github.com/EndyKaufman/kaufman-bot](https://github.com/EndyKaufman/kaufman-bot) - source code of bot\n\n[https://telegram.me/KaufmanBot](https://telegram.me/KaufmanBot) - current bot in telegram\n\n[https://kaufman-bot.site15.ru/graph](https://kaufman-bot.site15.ru/graph) - project graph\n\n[https://github.com/kaufman-bot/schematics-example](https://github.com/kaufman-bot/schematics-example) - project generated with [@kaufman-bot/schematics](https://npmjs.org/package/@kaufman-bot/schematics)\n\n[https://dev.to/endykaufman/series/16805](https://dev.to/endykaufman/series/16805) - kaufman-bot series articles in dev.io\n\n# Usage\n\n## Create application\n\nCreate empty nx project\n\n\u003e npx -y create-nx-workspace@15.0.13 --name=kaufman-bot-generated --preset=empty --interactive=false --nx-cloud=false\n\nGo to created project\n\n\u003e cd kaufman-bot-generated\n\nAdd all need schematics\n\n\u003e npm install -D @nrwl/nest@15.0.13 @kaufman-bot/schematics\n\nCreate kaufman-bot application\n\n\u003e npx -y nx@15.0.13 g @kaufman-bot/schematics:app adam-bot --bot-name adam\n\nCreate telegram bot in @BotFather\n![Create telegram bot in BotFather](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/y42z7xieyso9vfewdygu.png)\n\nAppend token to env file\n_.env.local_\n\n```sh\nTELEGRAM_BOT_TOKEN=5384981645:AAEKAfqNpZmoN1w5eQL2QxJtvY5h3O-71Zs\nTELEGRAM_BOT_WEB_HOOKS_DOMAIN=\nTELEGRAM_BOT_WEB_HOOKS_PATH=\nTELEGRAM_BOT_ADMINS=\nBOT_NAMES=adam\n```\n\nCheck from telegram\n\n\u003e npm run serve:adam-bot-local\n\nSearch new bot\n![Search new bot](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dnxxniwrgixkzxz5wjit.png)\n\nStart work with bot\n![Start work with bot](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pcqq79odfdja46rtw11r.png)\n\nExample of run commands\n![Example of run commands](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/b3vpxtspkdurinm6rp1l.png)\n\n## Create library\n\nCreate new command\n\n\u003e npm run nx -- g @kaufman-bot/schematics:lib super\n\u003e ![Create new command](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/86px1fnvpu6quinjvojy.png)\n\nUpdate app module\n\n```ts\nimport { SuperModule } from '@kaufman-bot-generated/super';\n...\n\n@Module({\n  imports: [\n    ...\n    SuperModule.forRoot(),\n  ],\n  providers: [AppService],\n})\nexport class AppModule {}\n```\n\nRestart application and check work in telegram\n![Restart application and check work in telegram](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3w41zhmmq4jayslqphw1.png)\n\n[npm-image]: https://badgen.net/npm/v/@kaufman-bot/core-server\n[npm-url]: https://npmjs.org/package/@kaufman-bot/core-server\n[telegram-image]: https://img.shields.io/badge/bot-telegram-blue.svg?maxAge=2592000\n[telegram-url]: https://t.me/KaufmanBot\n[downloads-image]: https://badgen.net/npm/dm/@kaufman-bot/core-server\n[downloads-url]: https://npmjs.org/package/@kaufman-bot/core-server\n\n# License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fendykaufman%2Fkaufman-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fendykaufman%2Fkaufman-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fendykaufman%2Fkaufman-bot/lists"}