An AI-powered chat interface that searches your Google Drive documents and provides answers using Google's Gemini AI.
- 🚀 Google Cloud Run: Production-ready deployment with auto-scaling (Guide)
- 🔬 Google AI Studio: Quick testing and prototyping (View)
- 💻 Local Development: Run on your machine for development
Prerequisites: Node.js (version 16+)
-
Install dependencies:
npm install
-
Configure environment variables:
cp .env.local.example .env.local
Then edit
.env.localand add:- Your Gemini API key (get it from https://aistudio.google.com/app/apikey)
- Your Google OAuth Client ID (see setup guide below)
-
Run the app:
npm run dev
The app will be available at
http://localhost:3000
If this is your first time running the app, follow the comprehensive setup guide:
This guide includes:
- How to get your Gemini API key
- How to create Google OAuth credentials
- Detailed troubleshooting steps
- Testing your connection
Deploy to Google Cloud Run for a production-ready, scalable deployment:
./deploy-cloud-run.shBenefits:
- ✅ Auto-scaling from 0 to handle traffic spikes
- ✅ Pay only for what you use
- ✅ Automatic HTTPS and SSL certificates
- ✅ Secure environment variable management
- ✅ Custom domain support
For quick testing and sharing with colleagues:
- Setup Guide - First-time setup and OAuth configuration
- Cloud Run Deployment - Production deployment guide
- AI Studio Deployment - AI Studio deployment
- Roadmap - Planned RAG features and improvements
