{"id":20003723,"url":"https://github.com/drsmile444/tensorflow-ml-bot-example","last_synced_at":"2025-03-02T00:29:23.507Z","repository":{"id":132585185,"uuid":"529518524","full_name":"DrSmile444/tensorflow-ml-bot-example","owner":"DrSmile444","description":"🤖 Telegram Bot example using Machine Learning and Tensorflow","archived":false,"fork":false,"pushed_at":"2023-02-04T11:17:22.000Z","size":563,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-12T13:27:25.727Z","etag":null,"topics":["example","telegram","telegram-bot","tensorflow","tutorial"],"latest_commit_sha":null,"homepage":"","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/DrSmile444.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2022-08-27T07:47:52.000Z","updated_at":"2022-09-08T06:02:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"809024e6-d554-43fa-9f44-c479e989e88b","html_url":"https://github.com/DrSmile444/tensorflow-ml-bot-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrSmile444%2Ftensorflow-ml-bot-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrSmile444%2Ftensorflow-ml-bot-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrSmile444%2Ftensorflow-ml-bot-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DrSmile444%2Ftensorflow-ml-bot-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DrSmile444","download_url":"https://codeload.github.com/DrSmile444/tensorflow-ml-bot-example/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241444037,"owners_count":19963748,"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":["example","telegram","telegram-bot","tensorflow","tutorial"],"created_at":"2024-11-13T05:26:59.476Z","updated_at":"2025-03-02T00:29:23.478Z","avatar_url":"https://github.com/DrSmile444.png","language":"TypeScript","readme":"# Tensorflow Machine Learning Telegram Bot Example\n\n## Description\n\nThis repo contains an example of using tensorflow model\ntogether with Telegram Bots to analyze messages from users.\n\n## Requirements\n\nYou need to have [node.js v16+](https://nodejs.org/en/) installed.\u003cbr\u003e\n[Here is the instruction how to install it.](https://www.pluralsight.com/guides/getting-started-with-nodejs)\n\nHere is the way you can check your node version by using any shell:\n```shell\n\u003e node -v                    \nv16.13.0\n```\n\n## Install\n\n1. Clone the repository:\n```shell\ngit clone git@github.com:DrSmile444/tensorflow-ml-bot-example.git\n```\n\n2. Install `node_modules` modules:\n```shell\nnpm install\n```\n\n3. [Get bot token from bot father.](https://sendpulse.com/knowledge-base/chatbot/telegram/create-telegram-chatbot)\n4. Create a copy of `.env.example` and name it `.env`.\n5. Insert bot token into `BOT_TOKEN` in `.env`.\n\n## Run the bot\n\nTo run the bot, you need to execute the following command:\n```shell\nnpm start\n```\n\n## Branches\n\nThis project contains several branches with different stages of the bot:\n\n1. [main](https://github.com/DrSmile444/tensorflow-ml-bot-example/tree/main) - basic bot setup without tensorflow logic\n1. [feature/tensorflow](https://github.com/DrSmile444/tensorflow-ml-bot-example/tree/feature/tensorflow) - complete bot setup with tensorflow\n\n## Technical stack\n\n1. [Node.js v16](https://nodejs.org/en/) - is a JavaScript runtime built on Chrome's V8 JavaScript engine.\n2. [TypeScript](https://www.typescriptlang.org/) - is a strongly typed programming language that builds on JavaScript, giving you better tooling at any scale.\n3. [Grammy](https://grammy.dev/) - makes creating Telegram bots so simple you already know how to do it.\n4. [ESLint](https://eslint.org/) - statically analyzes your code to quickly find problems. It is built into most text editors and you can run ESLint as part of your continuous integration pipeline.\n5. [Prettier](https://prettier.io/) - is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary.\n\n## Code editors\n\nHere you can find a suggested code editors list\n\n### WebStorm (recommended)\n[WebStorm](https://www.jetbrains.com/webstorm/) has [built-in ESLint plugin support](https://www.jetbrains.com/help/webstorm/eslint.html), so you need only enable it.\nThe course lectors will use this IDE.\n\n### Visual Studio Code\nVS Code includes built-in JavaScript IntelliSense, debugging, formatting, code navigation, refactorings, and many other advanced language features.\nTo enable ESLint, you need to install ESLint plugin.\n\nThis repo contains VS Code suggested plugins, so you can install them in several clicks.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrsmile444%2Ftensorflow-ml-bot-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrsmile444%2Ftensorflow-ml-bot-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrsmile444%2Ftensorflow-ml-bot-example/lists"}