[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-3735":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":23,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":32,"readmeContent":33,"aiSummary":34,"trendingCount":16,"starSnapshotCount":16,"syncStatus":35,"lastSyncTime":36,"discoverSource":37},3735,"chatbot","vercel\u002Fchatbot","vercel","A full-featured, hackable Next.js AI chatbot built by Vercel","https:\u002F\u002Fchatbot.ai-sdk.dev",null,"TypeScript",20478,6654,146,7,0,3,42,198,26,45,"Other",false,"main",[26,27,28,29,30,31,7],"ai","chatgpt","nextjs","react","redis","shadcn-ui","2026-06-12 02:00:53","\u003Ca href=\"https:\u002F\u002Fchatbot.ai-sdk.dev\u002Fdemo\">\n  \u003Cimg alt=\"Chatbot\" src=\"app\u002F(chat)\u002Fopengraph-image.png\">\n  \u003Ch1 align=\"center\">Chatbot\u003C\u002Fh1>\n\u003C\u002Fa>\n\n\u003Cp align=\"center\">\n    Chatbot (formerly AI Chatbot) is a free, open-source template built with Next.js and the AI SDK that helps you quickly build powerful chatbot applications.\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fchatbot.ai-sdk.dev\u002Fdocs\">\u003Cstrong>Read Docs\u003C\u002Fstrong>\u003C\u002Fa> ·\n  \u003Ca href=\"#features\">\u003Cstrong>Features\u003C\u002Fstrong>\u003C\u002Fa> ·\n  \u003Ca href=\"#model-providers\">\u003Cstrong>Model Providers\u003C\u002Fstrong>\u003C\u002Fa> ·\n  \u003Ca href=\"#deploy-your-own\">\u003Cstrong>Deploy Your Own\u003C\u002Fstrong>\u003C\u002Fa> ·\n  \u003Ca href=\"#running-locally\">\u003Cstrong>Running locally\u003C\u002Fstrong>\u003C\u002Fa>\n\u003C\u002Fp>\n\u003Cbr\u002F>\n\n## Features\n\n- [Next.js](https:\u002F\u002Fnextjs.org) App Router\n  - Advanced routing for seamless navigation and performance\n  - React Server Components (RSCs) and Server Actions for server-side rendering and increased performance\n- [AI SDK](https:\u002F\u002Fai-sdk.dev\u002Fdocs\u002Fintroduction)\n  - Unified API for generating text, structured objects, and tool calls with LLMs\n  - Hooks for building dynamic chat and generative user interfaces\n  - Supports OpenAI, Anthropic, Google, xAI, and other model providers via AI Gateway\n- [shadcn\u002Fui](https:\u002F\u002Fui.shadcn.com)\n  - Styling with [Tailwind CSS](https:\u002F\u002Ftailwindcss.com)\n  - Component primitives from [Radix UI](https:\u002F\u002Fradix-ui.com) for accessibility and flexibility\n- Data Persistence\n  - [Neon Serverless Postgres](https:\u002F\u002Fvercel.com\u002Fmarketplace\u002Fneon) for saving chat history and user data\n  - [Vercel Blob](https:\u002F\u002Fvercel.com\u002Fstorage\u002Fblob) for efficient file storage\n- [Auth.js](https:\u002F\u002Fauthjs.dev)\n  - Simple and secure authentication\n\n## Model Providers\n\nThis template uses the [Vercel AI Gateway](https:\u002F\u002Fvercel.com\u002Fdocs\u002Fai-gateway) to access multiple AI models through a unified interface. Models are configured in `lib\u002Fai\u002Fmodels.ts` with per-model provider routing. Included models: Mistral, Moonshot, DeepSeek, OpenAI, and xAI.\n\n### AI Gateway Authentication\n\n**For Vercel deployments**: Authentication is handled automatically via OIDC tokens.\n\n**For non-Vercel deployments**: You need to provide an AI Gateway API key by setting the `AI_GATEWAY_API_KEY` environment variable in your `.env.local` file.\n\nWith the [AI SDK](https:\u002F\u002Fai-sdk.dev\u002Fdocs\u002Fintroduction), you can also switch to direct LLM providers like [OpenAI](https:\u002F\u002Fopenai.com), [Anthropic](https:\u002F\u002Fanthropic.com), [Cohere](https:\u002F\u002Fcohere.com\u002F), and [many more](https:\u002F\u002Fai-sdk.dev\u002Fproviders\u002Fai-sdk-providers) with just a few lines of code.\n\n## Deploy Your Own\n\nYou can deploy your own version of Chatbot to Vercel with one click:\n\n[![Deploy with Vercel](https:\u002F\u002Fvercel.com\u002Fbutton)](https:\u002F\u002Fvercel.com\u002Ftemplates\u002Fnext.js\u002Fchatbot)\n\n## Running locally\n\nYou will need to use the environment variables [defined in `.env.example`](.env.example) to run Chatbot. It's recommended you use [Vercel Environment Variables](https:\u002F\u002Fvercel.com\u002Fdocs\u002Fprojects\u002Fenvironment-variables) for this, but a `.env` file is all that is necessary.\n\n> Note: You should not commit your `.env` file or it will expose secrets that will allow others to control access to your various AI 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\npnpm install\npnpm db:migrate # Setup database or apply latest database changes\npnpm dev\n```\n\nYour app template should now be running on [localhost:3000](http:\u002F\u002Flocalhost:3000).\n","Chatbot 是一个由 Vercel 构建的全功能且可扩展的 Next.js 人工智能聊天机器人模板。项目利用了 Next.js 的 App Router 和 React Server Components 提供先进的路由和服务器端渲染能力，结合 AI SDK 支持多种AI模型（如OpenAI, Anthropic等）通过统一接口生成文本或调用工具，并采用shadcn\u002Fui进行界面设计以确保良好的用户体验。此外，它还集成了Neon Serverless Postgres用于数据持久化以及Vercel Blob实现高效文件存储。此项目非常适合需要快速开发并部署强大聊天机器人应用的场景，无论是客户服务、在线教育还是个人助理等领域都能发挥重要作用。",2,"2026-06-11 02:55:55","top_language"]