{"id":15984616,"url":"https://github.com/seriouslag/ui-chatbot-monorepo","last_synced_at":"2026-03-01T01:35:22.929Z","repository":{"id":237524891,"uuid":"794633451","full_name":"seriouslag/ui-chatbot-monorepo","owner":"seriouslag","description":"UI to interface with AI chatbots","archived":false,"fork":false,"pushed_at":"2024-05-09T01:20:01.000Z","size":1841,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-24T19:45:14.733Z","etag":null,"topics":["ai-chatbot","chatbot","chatbot-ui","react"],"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/seriouslag.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2024-05-01T16:22:21.000Z","updated_at":"2024-05-09T01:19:14.000Z","dependencies_parsed_at":"2024-05-09T02:27:25.843Z","dependency_job_id":"d5c21481-19db-47a4-b7cc-79a5e28eb8e2","html_url":"https://github.com/seriouslag/ui-chatbot-monorepo","commit_stats":null,"previous_names":["seriouslag/ui-chatbot-monorepo"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/seriouslag/ui-chatbot-monorepo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seriouslag%2Fui-chatbot-monorepo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seriouslag%2Fui-chatbot-monorepo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seriouslag%2Fui-chatbot-monorepo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seriouslag%2Fui-chatbot-monorepo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seriouslag","download_url":"https://codeload.github.com/seriouslag/ui-chatbot-monorepo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seriouslag%2Fui-chatbot-monorepo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29957404,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T22:53:01.873Z","status":"ssl_error","status_checked_at":"2026-02-28T22:52:50.699Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["ai-chatbot","chatbot","chatbot-ui","react"],"created_at":"2024-10-08T02:09:52.157Z","updated_at":"2026-03-01T01:35:22.887Z","avatar_url":"https://github.com/seriouslag.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @seriouslag/react-chatbot\n\nA simple chatbot component for React to interface with AI chats.\nIt uses @MUI for some of the components.\nInternally uses tailwindcss for styling.\n\n[![npm version](https://badge.fury.io/js/@seriouslag%2Fchatbot-react.svg)](https://badge.fury.io/js/@seriouslag%2Fchatbot-react)\n\n![Demo](https://github.com/seriouslag/ui-chatbot-monorepo/blob/main/images/demo.gif?raw=true)\n\nPeer dependencies include:\n\n- react\n- react-dom\n- @mui/material\n- @mui/icons-material\n- @mui/lab\n- rxjs\n\nCurrently only one service is available, the NdJsonChatService, which is a chat service that sends messages to a server that accepts NDJSON messages.\n\nThe chat service is a simple interface that can be implemented to send messages to a chat server.\n\n- [x] Split service and components into separate packages\n- [ ] Add Unit tests\n- [ ] Add example page\n- [ ] Remove MUI dependencies\n- [ ] Replace RXJS with native JS\n- [ ] Determine if using tailwindcss is good idea for a library\n- [ ] Split NdJsonChatApi Implementation into a separate package\n\n## Installation\n\n```bash\nnpm install @seriouslag/chatbot-react @seriouslag/chatbot-api-ndjson\n```\n\n## Usage\n\n```jsx\nimport {\n  NdJsonChatApiImpl,\n  NdJsonChatService,\n} from '@seriouslag/chatbot-api-ndjson';\nimport { ChatButton } from '@seriouslag/chatbot-react';\nimport { v4 } from 'uuid';\n// load the css\nimport '@seriouslag/chatbot-react/css';\n\n// setup the API\nconst chatApi = new NdJsonChatApiImpl({\n  baseUrl: 'http://localhost:3000/api/chat',\n});\n// setup the chat service\nconst chatServiceInstance = new NdJsonChatService(chatApi, {\n  defaultMessages: [\n    {\n      id: v4(),\n      message: 'Hello! How can I help you?',\n      role: 'info',\n    },\n  ],\n});\n\nconst App = () =\u003e {\n  return (\n    \u003cChatButton\n      service={chatServiceInstance}\n      botName=\"ChatBot\"\n      botDescription=\"Chat with me!\"\n      inputTextPlaceholder=\"Type a message...\"\n      sendButtonText=\"Send\"\n    /\u003e\n  );\n};\n\nexport default App;\n```\n\n## Development\n\n```bash\n# install dependencies\nnpm install\n```\n\n```bash\n# run local development server\nnpm run dev\n```\n\n```bash\n# build the package\nnpm run build\n```\n\n## License\n\nMIT\n\n## Publish\n\n```bash\nnx release --skip-publish\n```\n\non macos the generated package-lock.json is broken,\nUndo last commit, delete package-lock.json and run `npm install` to fix it.\nCommit, push, and push the tag of the new version\n\n```bash\ngit push origin tag \u003cversion\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseriouslag%2Fui-chatbot-monorepo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseriouslag%2Fui-chatbot-monorepo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseriouslag%2Fui-chatbot-monorepo/lists"}