#44th of 12 in Chat apps
gemini-chatbot
Next.js chatbot template defaulting to Gemini with NextAuth and Postgres
- Stars
- 1.4k
- License
- Apache-2.0
- Last commit
- May 2026
- Language
- TypeScript
Overview
An earlier cut of the Vercel chatbot template pinned to Google Gemini: Next.js App Router, AI SDK streaming with tool calls, NextAuth.js login, chat history in Vercel Postgres through Drizzle, and file storage on Vercel Blob. The default model is gemini-1.5-pro; the AI SDK lets you switch to OpenAI, Anthropic or Cohere. For teams on Google models who want the Vercel chat stack.
Who it is for: Teams on Gemini who want the Vercel chat stack
Strengths
- Auth, Postgres history and Blob uploads already wired
- Two env vars to deploy: AUTH_SECRET and GOOGLE_GENERATIVE_AI_API_KEY
- Deployed demo at gemini.vercel.ai
Weaknesses
- Default model gemini-1.5-pro is dated; update before shipping
- Tied to Vercel Postgres and Blob; self-hosting means swapping both
- No tests, no Docker
- vercel/chatbot is the maintained successor for most uses
What it needs
- TypeScript, google, ai-sdk
- Needs postgres, vercel-blob, google-api-key
- GitHub template
- env example file
- sign-in: Auth.js
Also in Chat apps
See all 12| Rank | Project | Score |
|---|---|---|
| 1 | langchain-nextjs-templateNext.js routes for LangChain.js chat, agents, structured output and RAG | 63 out of 100 |
| 2 | chatbotNext.js chat template with Auth.js, Postgres history and AI Gateway models | 54 out of 100 |
| 3 | chatNuxt UI chat template with GitHub login, SQLite history and AI Gateway | 52 out of 100 |
| #5 | claude-quickstartsIndependent Claude API starter projects, one folder per pattern | 48 out of 100 |
| #6 | twitterbioSingle-form Next.js text generator streaming from Together AI | 45 out of 100 |