#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
Also in Chat apps
RankProjectScore
1langchain-nextjs-templateNext.js routes for LangChain.js chat, agents, structured output and RAG Live demo ↗ (opens in a new tab)2.5k stars, MIT63 out of 100
2chatbotNext.js chat template with Auth.js, Postgres history and AI Gateway models Live demo ↗ (opens in a new tab)21k stars, Apache-2.054 out of 100
3chatNuxt UI chat template with GitHub login, SQLite history and AI Gateway Live demo ↗ (opens in a new tab)376 stars, MIT52 out of 100
#5claude-quickstartsIndependent Claude API starter projects, one folder per pattern17.9k stars, MIT48 out of 100
#6twitterbioSingle-form Next.js text generator streaming from Together AI Live demo ↗ (opens in a new tab)1.8k stars, MIT45 out of 100