{"id":34768568,"url":"https://github.com/murabcd/openchat","last_synced_at":"2026-05-03T18:35:20.311Z","repository":{"id":276871154,"uuid":"930373428","full_name":"murabcd/openchat","owner":"murabcd","description":"Open-source AI Chatbot Built with Next.js, Convex and AI SDK","archived":false,"fork":false,"pushed_at":"2025-12-14T07:23:35.000Z","size":2890,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-16T10:42:41.624Z","etag":null,"topics":["ai","chatgpt","convex","nextjs","openai","react","shadcn-ui"],"latest_commit_sha":null,"homepage":"https://openchat-beta.vercel.app","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/murabcd.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-10T14:32:36.000Z","updated_at":"2025-12-14T07:23:17.000Z","dependencies_parsed_at":"2025-02-10T22:32:03.869Z","dependency_job_id":"651b8ffc-30f4-48da-9cc8-b3582b2306d8","html_url":"https://github.com/murabcd/openchat","commit_stats":null,"previous_names":["muradpm/openchat","murabcd/openchat"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/murabcd/openchat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murabcd%2Fopenchat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murabcd%2Fopenchat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murabcd%2Fopenchat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murabcd%2Fopenchat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/murabcd","download_url":"https://codeload.github.com/murabcd/openchat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/murabcd%2Fopenchat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32580063,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T06:36:36.687Z","status":"ssl_error","status_checked_at":"2026-05-03T06:36:09.306Z","response_time":103,"last_error":"SSL_read: 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","chatgpt","convex","nextjs","openai","react","shadcn-ui"],"created_at":"2025-12-25T07:51:36.497Z","updated_at":"2026-05-03T18:35:20.306Z","avatar_url":"https://github.com/murabcd.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://openchat-beta.vercel.app\"\u003e\n  \u003cimg alt=\"An Open-source AI Chatbot Built With Next.js.\" src=\"./public/preview/openchat.png\"\u003e\n  \u003ch1 align=\"center\"\u003eOpenChat\u003c/h1\u003e\n\u003c/a\u003e\n\n\u003cp align=\"center\"\u003e\n  An Open-source AI Chatbot Built With Next.js, Convex, and AI SDK.\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"#features\"\u003e\u003cstrong\u003eFeatures\u003c/strong\u003e\u003c/a\u003e ·\n  \u003ca href=\"#model-providers\"\u003e\u003cstrong\u003eModel Providers\u003c/strong\u003e\u003c/a\u003e ·\n  \u003ca href=\"#deploy-your-own\"\u003e\u003cstrong\u003eDeploy Your Own\u003c/strong\u003e\u003c/a\u003e ·\n  \u003ca href=\"#running-locally\"\u003e\u003cstrong\u003eRunning locally\u003c/strong\u003e\u003c/a\u003e\n\u003c/p\u003e\n\u003cbr/\u003e\n\n## Features\n\n- [Next.js](https://nextjs.org) App Router\n  - Advanced routing for seamless navigation and performance\n  - React Server Components (RSCs) for server-side rendering and performance improvements\n- [AI SDK](https://sdk.vercel.ai/docs)\n  - Unified API for generating text, structured objects, and tool calls with LLMs\n  - Hooks for building dynamic chat and generative user interfaces\n  - Assisting with code generation, images, text editing, handling data, and searching the web\n- [Redis](https://vercel.com/marketplace/redis)\n  - Persistent message streaming for real-time updates\n- [Shadcn/ui](https://ui.shadcn.com)\n  - Styling with [Tailwind CSS](https://tailwindcss.com)\n  - Component primitives from [Radix UI](https://radix-ui.com) for accessibility and flexibility\n- Data Persistence\n  - [Convex](https://www.convex.dev/) for saving chat history and user data\n  - [Convex file storage](https://docs.convex.dev/file-storage) for efficient file storage\n  - [Convex Vector Search](https://docs.convex.dev/search/vector-search) for long-term memory storage and retrieval\n- [Convex Auth](https://labs.convex.dev/auth)\n  - Simple and secure authentication\n\n## Model Providers\n\nThis app ships with [Openai](https://openai.com/) provider as the default. However, with the [AI SDK](https://sdk.vercel.ai/docs), you can switch LLM providers to [Ollama](https://ollama.com), [Anthropic](https://anthropic.com), [Cohere](https://cohere.com/), and [many more](https://sdk.vercel.ai/providers/ai-sdk-providers) with just a few lines of code.\n\n- Mini model (`gpt-4o-mini`): A fast and efficient model suitable for simple tasks\n- Large model (`gpt-4o`): A powerful model designed for complex tasks\n- Reasoning model (`o4-mini`): An advanced model configured for multi-step reasoning tasks\n\n## Deploy Your Own\n\nYou can deploy your own version of the OpenChat to Vercel with one click:\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fmurabcd%2Fopenchat\u0026env=CONVEX_DEPLOY_KEY,OPENAI_API_KEY\u0026envDescription=Learn%20more%20about%20how%20to%20get%20the%20API%20Keys%20for%20the%20application\u0026envLink=https%3A%2F%2Fgithub.com%2Fmurabcd%2Fopenchat%2Fblob%2Fmain%2F.env.example\u0026demo-title=OpenChat\u0026demo-description=An%20open-source%20AI%20chatbot%20built%20with%20Next.js%2015%2C%20Convex%2C%20and%20AI%20SDK.\u0026demo-url=https%3A%2F%2Fopenchat-beta.vercel.app)\n\n## Running locally\n\nYou will need to use the environment variables [defined in `.env.example`](.env.example) to run OpenChat. It's recommended you use [Vercel Environment Variables](https://vercel.com/docs/projects/environment-variables) for this, but a `.env` file is all that is necessary.\n\n\u003e Note: You should not commit your `.env` file or it will expose secrets that will allow others to control access to your various OpenAI and authentication provider accounts.\n\n1. Install Vercel CLI: `npm i -g vercel`\n2. Link local instance with Vercel and GitHub accounts (creates `.vercel` directory): `vercel link`\n3. Download your environment variables: `vercel env pull`\n\n```bash\nbun install\nbun dev\n```\n\nYour app should now be running on [localhost:3000](http://localhost:3000/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmurabcd%2Fopenchat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmurabcd%2Fopenchat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmurabcd%2Fopenchat/lists"}