{"id":21971296,"url":"https://github.com/ashwin-pc/open-chat-ui","last_synced_at":"2025-08-30T20:14:34.230Z","repository":{"id":263253030,"uuid":"889809306","full_name":"ashwin-pc/open-chat-ui","owner":"ashwin-pc","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-11T08:27:41.000Z","size":1553,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-16T10:56:29.360Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/ashwin-pc.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":"2024-11-17T09:47:02.000Z","updated_at":"2025-07-21T21:18:56.000Z","dependencies_parsed_at":"2024-11-17T10:33:44.753Z","dependency_job_id":"0b924f3e-5c6e-4d73-8845-964e827df774","html_url":"https://github.com/ashwin-pc/open-chat-ui","commit_stats":null,"previous_names":["ashwin-pc/open-chat-ui"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ashwin-pc/open-chat-ui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashwin-pc%2Fopen-chat-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashwin-pc%2Fopen-chat-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashwin-pc%2Fopen-chat-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashwin-pc%2Fopen-chat-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ashwin-pc","download_url":"https://codeload.github.com/ashwin-pc/open-chat-ui/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashwin-pc%2Fopen-chat-ui/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272900164,"owners_count":25012034,"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","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-29T14:49:57.368Z","updated_at":"2025-08-30T20:14:34.210Z","avatar_url":"https://github.com/ashwin-pc.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chat UI Component Library\n\nA React-based chat interface component library with support for threaded conversations, file attachments, and AI model integration.\n\n![](./docs/images/UI.png)\n\n## Features\n\n- Threaded conversations with branching support\n- File attachments\n- Real-time responses\n- Immersive mode\n- Keyboard shortcuts\n- Multiple AI model support\n- Dark/Light theme\n- Responsive design\n\n## Installation\n\n```bash\nnpm install open-chat-ui\n```\n\n## Usage\n\n```tsx\nimport { ChatApp, ChatProvider } from 'open-chat-ui';\nimport { apiClient } from './chat-api'; \nimport 'open-chat-ui/style.css';\n\nfunction App() {\n  return (\n      \u003cChatProvider\u003e\n        \u003cChatApp apiClient={apiClient} /\u003e\n      \u003c/ChatProvider\u003e\n  );\n}\n```\n\n## Development\n\nThis repository contains both the component library and a Next.js development environment for testing.\n\n### Local Development\n\n1. Clone the repository:\n```bash\ngit clone \u003crepository-url\u003e\n```\n\n2. Install dependencies:\n```bash\nnpm install\n```\n\n3. Start the development server:\n```bash\nnpm run dev\n```\n\n4. Build the library:\n```bash\nnpm run build-lib\n```\n\n### Local Testing\n\nYou can use the included Next.js app to test the component library:\n\n```bash\nnpm run dev\n```\n\nVisit [http://localhost:3000](http://localhost:3000) to see the chat interface in action.\n\n## Component API\n\n### ChatApp\nMain component that renders the chat interface.\n\n```tsx\ninterface ChatAppProps {\n  apiClient?: ChatApiInterface;\n}\n```\n\n### ChatProvider\nContext provider for chat functionality.\n\n### ThemeProvider\nTheme context provider for styling.\n\n## Models\n\nSupported AI models:\n```typescript\nenum BedrockModelNames {\n  CLAUDE_V3_5_SONNET_V2\n  CLAUDE_V3_5_SONNET\n  CLAUDE_V3_5_HAIKU\n  CLAUDE_V3_OPUS\n  CLAUDE_V3_SONNET\n  CLAUDE_V3_HAIKU\n}\n```\n\n## Publishing\n\nTo publish a new version:\n\n1. Update version in \n\npackage.json\n\n\n2. Build the library:\n```bash\nnpm run build-lib\n```\n3. Publish to npm: (also builds, but is useful to keep them seapare for now)\n```bash\nnpm publish\n```\n\n## Tech Stack\n\n- React 18+\n- TypeScript\n- Radix UI Components\n- Tailwind CSS\n- Lucide Icons\n\n## License\n\nThis project is licensed under the MIT License.\n\n## Contributing\n\nWelcome all contributions!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashwin-pc%2Fopen-chat-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fashwin-pc%2Fopen-chat-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashwin-pc%2Fopen-chat-ui/lists"}