A modern, ChatGPT-like AI chat application built with Vite + React inspired by the well designed and loved ChatGPT UI but powered by the best AI in the world—Google Gemini.
- Modern UI: Dark mode interface similar to ChatGPT.
- Latest Library: Google GenAI SDK
- Gemini Integration: Supports
gemini-3-pro-preview,gemini-3-flash-preview, and other models. - Streaming Responses: Real-time text generation.
- Multi-modal Support: Upload images and PDFs for analysis.
- Grounding: Google Search grounding enabled.
- Persistence: Chat history is saved to Local Storage.
-
Install Dependencies
npm install
-
Configure API Key You need a Google Gemini API Key to run this application.
- The user has created a
.env.localfile for local development. - Ensure your
.env.localfile contains:VITE_GEMINI_API_KEY=your_api_key_here
Alternatively, you can copy
.env.exampleto.env:cp .env.example .env
- The user has created a
-
Start the App
npm run dev
- Vite + React
- Tailwind CSS
- Google GenAI SDK
- Lucide React (Icons)
- React Markdown
