{"id":14979117,"url":"https://github.com/vercel-labs/gemini-chatbot","last_synced_at":"2025-05-15T21:08:00.000Z","repository":{"id":231401215,"uuid":"781634560","full_name":"vercel-labs/gemini-chatbot","owner":"vercel-labs","description":"Build your own generative UI chatbot using the Vercel AI SDK and Google Gemini","archived":false,"fork":false,"pushed_at":"2024-10-15T05:09:47.000Z","size":11306,"stargazers_count":1002,"open_issues_count":30,"forks_count":371,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-04-13T13:56:57.365Z","etag":null,"topics":["ai","chatbot","gemini-pro","nextjs","react","typescript","vercel"],"latest_commit_sha":null,"homepage":"https://gemini.vercel.ai","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vercel-labs.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-03T18:51:44.000Z","updated_at":"2025-04-12T19:50:28.000Z","dependencies_parsed_at":"2024-09-24T02:01:25.186Z","dependency_job_id":"3003d963-85fc-482b-9ed9-6921b8c47a08","html_url":"https://github.com/vercel-labs/gemini-chatbot","commit_stats":{"total_commits":54,"total_committers":7,"mean_commits":7.714285714285714,"dds":0.5925925925925926,"last_synced_commit":"6600bcc90d9b64cd10321217bc1f6137fccae2e7"},"previous_names":["vercel-labs/gemini-chatbot"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vercel-labs%2Fgemini-chatbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vercel-labs%2Fgemini-chatbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vercel-labs%2Fgemini-chatbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vercel-labs%2Fgemini-chatbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vercel-labs","download_url":"https://codeload.github.com/vercel-labs/gemini-chatbot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254422764,"owners_count":22068678,"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":["ai","chatbot","gemini-pro","nextjs","react","typescript","vercel"],"created_at":"2024-09-24T13:59:17.585Z","updated_at":"2025-05-15T21:07:59.980Z","avatar_url":"https://github.com/vercel-labs.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"\u003ca href=\"https://chat.vercel.ai/\"\u003e\n  \u003cimg alt=\"Next.js 14 and App Router-ready AI chatbot.\" src=\"app/(chat)/opengraph-image.png\"\u003e\n  \u003ch1 align=\"center\"\u003eNext.js Gemini Chatbot\u003c/h1\u003e\n\u003c/a\u003e\n\n\u003cp align=\"center\"\u003e\n  An Open-Source AI Chatbot Template Built With Next.js and the AI SDK by Vercel.\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) and Server Actions for server-side rendering and increased performance\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  - Supports Google (default), OpenAI, Anthropic, Cohere, and other model providers\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  - [Vercel Postgres powered by Neon](https://vercel.com/storage/postgres) for saving chat history and user data\n  - [Vercel Blob](https://vercel.com/storage/blob) for efficient object storage\n- [NextAuth.js](https://github.com/nextauthjs/next-auth)\n  - Simple and secure authentication\n\n## Model Providers\n\nThis template ships with Google Gemini `gemini-1.5-pro` models as the default. However, with the [AI SDK](https://sdk.vercel.ai/docs), you can switch LLM providers to [OpenAI](https://openai.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## Deploy Your Own\n\nYou can deploy your own version of the Next.js AI Chatbot 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%2Fvercel-labs%2Fgemini-chatbot\u0026env=AUTH_SECRET,GOOGLE_GENERATIVE_AI_API_KEY\u0026envDescription=Learn%20more%20about%20how%20to%20get%20the%20API%20Keys%20for%20the%20application\u0026envLink=https%3A%2F%2Fgithub.com%2Fvercel-labs%2Fgemini-chatbot%2Fblob%2Fmain%2F.env.example\u0026demo-title=Next.js%20Gemini%20Chatbot\u0026demo-description=An%20Open-Source%20AI%20Chatbot%20Template%20Built%20With%20Next.js%20and%20the%20AI%20SDK%20by%20Vercel.\u0026demo-url=https%3A%2F%2Fgemini.vercel.ai\u0026stores=[{%22type%22:%22postgres%22},{%22type%22:%22blob%22}])\n\n## Running locally\n\nYou will need to use the environment variables [defined in `.env.example`](.env.example) to run Next.js AI Chatbot. 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 Google Cloud 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 dev\n```\n\nYour app template should now be running on [localhost:3000](http://localhost:3000/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvercel-labs%2Fgemini-chatbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvercel-labs%2Fgemini-chatbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvercel-labs%2Fgemini-chatbot/lists"}