{"id":18054284,"url":"https://github.com/yugasun/chatbot","last_synced_at":"2026-04-29T00:02:00.290Z","repository":{"id":193279507,"uuid":"647681280","full_name":"yugasun/chatbot","owner":"yugasun","description":"ChatBot is a chat robot that simplifies the usage of chat GPT tools like ChatGPT, and can be integrated into any framework (e.g., Vue, React, Angular) for easy implementation.","archived":false,"fork":false,"pushed_at":"2023-06-19T08:10:41.000Z","size":754,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-04-11T01:20:28.438Z","etag":null,"topics":["aigc","chatbot","chatgpt","lit-element","web-components"],"latest_commit_sha":null,"homepage":"https://chatbot-yugasun.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yugasun.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}},"created_at":"2023-05-31T09:49:10.000Z","updated_at":"2023-08-24T06:27:02.000Z","dependencies_parsed_at":"2023-09-07T14:17:54.943Z","dependency_job_id":null,"html_url":"https://github.com/yugasun/chatbot","commit_stats":null,"previous_names":["yugasun/chatbot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yugasun%2Fchatbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yugasun%2Fchatbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yugasun%2Fchatbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yugasun%2Fchatbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yugasun","download_url":"https://codeload.github.com/yugasun/chatbot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247308289,"owners_count":20917671,"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":["aigc","chatbot","chatgpt","lit-element","web-components"],"created_at":"2024-10-31T00:10:09.647Z","updated_at":"2026-04-29T00:02:00.234Z","avatar_url":"https://github.com/yugasun.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ChatBot\n\n[![npm](https://img.shields.io/npm/v/@yugasun/chatbot)](https://www.npmjs.com/)\n![GitHub Repo stars](https://img.shields.io/github/stars/yugasun/chatbot?style=social)\n[![Lit](https://img.shields.io/badge/Framework-Lit-5865f2)](https://lit.dev/)\n[![TypeScript](https://img.shields.io/badge/Language-TypeScript-blue)](https://www.typescriptlang.org/)\n[![Vite](https://img.shields.io/badge/Develop-Vite-747bff)](https://vitejs.dev)\n[![Build](https://github.com/yugasun/chatbot/actions/workflows/deploy.yml/badge.svg?branch=main)](https://github.com/yugasun/chatbot/actions/workflows/deploy.yml)\n\nChatBot is a chat robot that simplifies the usage of chat GPT tools like ChatGPT, and can be integrated into any framework (e.g., Vue, React, Angular) for easy implementation.\n\n## Feature\n\n-   [x] 🚀 Can be used in any framework, such as Vue, React, Angular, etc.\n-   [x] 🌟 Works with CDNs\n-   [x] 🎨 Customizable style\n-   [x] 🍺 Type safe with TypeScript\n-   [ ] 🌍 I18n ready\n\n## Demo\n\n[Live Demo](https://chatbot-yugasun.vercel.app/)\n\n\u003cimg src=\"./demo/chatbot.png\" alt=\"chatbot\" width=\"400\"/\u003e\n\n## Usage\n\n### For framework use (Vue, React, Angular, etc.)\n\nInstall\n\n```bash\npnpm install @yugasun/chatbot\n```\n\nThen import it in entry file:\n\n```js\nimport '@yugasun/chatbot';\n```\n\nFor Vue, refer to: [Vue Demo](./demo/vue)\nFor React, refer to: [React Demo](./demo/react)\n\nTo enable stream mode, you need to add the `stream` attribute to the `chat-bot` tag.\n\n```html\n\u003cchat-bot stream\u003e\u003c/chat-bot\u003e\n```\n\n### For pure HTML use\n\n```html\n\u003c!DOCTYPE html\u003e\n\u003chtml lang=\"en\"\u003e\n    \u003chead\u003e\n        \u003cmeta charset=\"UTF-8\" /\u003e\n        \u003ctitle\u003eChatBot\u003c/title\u003e\n        \u003clink\n            rel=\"stylesheet\"\n            href=\"https://unpkg.com/@yugasun/chatbot/dist/index.css\"\n        /\u003e\n        \u003cscript src=\"https://unpkg.com/@yugasun/chatbot/dist/index.umd.js\"\u003e\u003c/script\u003e\n    \u003c/head\u003e\n    \u003cbody\u003e\n        \u003cchat-bot stream\u003e\u003c/chat-bot\u003e\n    \u003c/body\u003e\n\u003c/html\u003e\n```\n\n## Develop\n\n```bash\n# 0. Clone project\ngit clone https://github.com/yugasun/chatbot\n\n# 1. Install dependencies\npnpm install\n\n# 2. Start develop server\npnpm dev\n\n# 3. Build\npnpm build\n```\n\n## License\n\n[MIT @yugasun](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyugasun%2Fchatbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyugasun%2Fchatbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyugasun%2Fchatbot/lists"}