{"id":26179949,"url":"https://github.com/jellydn/demo-chat-bot","last_synced_at":"2025-04-14T22:43:18.709Z","repository":{"id":43338934,"uuid":"338603652","full_name":"jellydn/demo-chat-bot","owner":"jellydn","description":"Develop chatbots with zero configuration using typescript","archived":false,"fork":false,"pushed_at":"2025-04-14T04:24:17.000Z","size":2152,"stargazers_count":6,"open_issues_count":10,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-14T05:30:58.346Z","etag":null,"topics":["chatbot","react","telegram","typescript"],"latest_commit_sha":null,"homepage":"","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/jellydn.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},"funding":{"github":["jellydn"],"ko_fi":"dunghd","buy_me_a_coffee":"dunghd","polar":"jellydn"}},"created_at":"2021-02-13T15:23:20.000Z","updated_at":"2025-04-14T04:23:39.000Z","dependencies_parsed_at":"2023-10-02T00:24:16.912Z","dependency_job_id":"2d23c104-50e6-4f70-ae49-952b0ddb0d86","html_url":"https://github.com/jellydn/demo-chat-bot","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/jellydn%2Fdemo-chat-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jellydn%2Fdemo-chat-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jellydn%2Fdemo-chat-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jellydn%2Fdemo-chat-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jellydn","download_url":"https://codeload.github.com/jellydn/demo-chat-bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248975305,"owners_count":21192197,"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":["chatbot","react","telegram","typescript"],"created_at":"2025-03-11T21:53:56.327Z","updated_at":"2025-04-14T22:43:18.684Z","avatar_url":"https://github.com/jellydn.png","language":"TypeScript","funding_links":["https://github.com/sponsors/jellydn","https://ko-fi.com/dunghd","https://buymeacoffee.com/dunghd","https://polar.sh/jellydn"],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eWelcome to demo-chat-bot 👋\u003c/h1\u003e\n\u003cp\u003e\n  \u003cimg alt=\"Version\" src=\"https://img.shields.io/badge/version-0.1.0-blue.svg?cacheSeconds=2592000\" /\u003e\n  \u003cimg src=\"https://img.shields.io/badge/node-%3E%3D16.20.0-blue.svg\" /\u003e\n  \u003ca href=\"https://github.com/jellydn/demo-chat-bot#readme\" target=\"_blank\"\u003e\n    \u003cimg alt=\"Documentation\" src=\"https://img.shields.io/badge/documentation-yes-brightgreen.svg\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/jellydn/demo-chat-bot/graphs/commit-activity\" target=\"_blank\"\u003e\n    \u003cimg alt=\"Maintenance\" src=\"https://img.shields.io/badge/Maintained%3F-yes-green.svg\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/jellydn/demo-chat-bot/blob/master/LICENSE\" target=\"_blank\"\u003e\n    \u003cimg alt=\"License: MIT\" src=\"https://img.shields.io/github/license/jellydn/demo-chat-bot\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003e Start write chatbots with urban-bot and typescript\n\n[![#Build with IT Man - ChatBot \u0026 AI - Part 1 [Vietnamese]](https://i.ytimg.com/vi/q1ngSbMqXUE/hqdefault.jpg)](https://www.youtube.com/watch?v=q1ngSbMqXUE)\n\n## Prerequisites\n\n-   node \u003e=16.20.0\n\n## Install\n\n```sh\nyarn install\n```\n\n## Usage\n\nCreate .env from .env.example then run below command\n\n```sh\nyarn dev\n```\n\n## Run tests\n\n```sh\nyarn test\n```\n\n## How to setup\n\n### Telegram\n\n1.  Get telegram [token](https://core.telegram.org/bots#6-botfather)\n2.  Paste token to `.env` `TELEGRAM_TOKEN=YOUR_TOKEN`\n3.  Uncomment `// import './render/telegram';` inside `src/index.ts`\n4.  Run `npm run dev` and check your bot\n\n### Slack\n\n1.  Create [slack app](https://slack.com/intl/en-ru/help/articles/115005265703-Create-a-bot-for-your-workspace)\n2.  Paste [token](https://api.slack.com/authentication/token-types#granular_bot) to `.env` `SLACK_TOKEN=YOUR_TOKEN`\n3.  Paste [signing secret](https://api.slack.com/authentication/verifying-requests-from-slack#about) to `.env` `SLACK_SIGNING_SECRET=YOUR_SIGNING_SECRET`\n4.  Run `npm run start-tunnel` and connect the public url with slack webhook.\n5.  Uncomment `// import './render/slack';` inside `src/index.ts`\n6.  Run `npm run dev` and check your bot\n\n### Facebook\n\n1. Create [facebook app](https://developers.facebook.com/docs/messenger-platform/getting-started/app-setup)\n2. Paste credentials to `.env`\n3. Run `npm run start-tunnel` and connect the public url with facebook webhook.\n4. Uncomment `// import './render/facebook';` inside `src/index.ts`\n5. Run `npm run dev` and check your bot\n\n## Author\n\n-   Website: https://productsway.com/\n-   Github: [@jellydn](https://github.com/jellydn)\n\n## Resources\n\n-   [Urban Bot · The universal chatbot library based on React.](https://urban-bot.vercel.app/)\n-   [egoist/tsup: The simplest and fastest way to bundle your TypeScript libraries.](https://github.com/egoist/tsup)\n-   [jellydn/chatbot-starter-app: Develop chatbot with zero configuration using typescript](https://github.com/jellydn/chatbot-starter-app)\n\n## Show your support\n\nGive a ⭐️ if this project helped you!\n\n## 📝 License\n\nThis project is [MIT](https://github.com/jellydn/demo-chat-bot/blob/master/LICENSE) licensed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjellydn%2Fdemo-chat-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjellydn%2Fdemo-chat-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjellydn%2Fdemo-chat-bot/lists"}