A fully client-side AI interface built with React, TypeScript, and Vite. Powered by the Google Gemini API with zero backend server dependency.
This project operates 100% on the client side without any backend server infrastructure.
Whether running the app locally or visiting the live site:
- Get a free API key from Google AI Studio.
- Enter your Gemini API Key directly in the app interface.
- The key is stored locally in your browser (
localStorage) and is never transmitted to any external backend server.
- Frontend Framework: React with TypeScript
- Build Tool: Vite
- AI Engine: Google Gemini API (
@google/genai) - Storage: Browser
localStoragefor client-side API key persistence - Styling & UI: Custom React components and stylesheets
.
├── components/ # UI components (chat interface, API key modal, input)
├── services/ # Gemini API service wrapper
├── App.tsx # Main application setup and state management
├── constants.ts # Configurations and system prompts
├── index.html # HTML entry point
├── index.tsx # React root bootstrap
├── types.ts # TypeScript interface definitions
├── vite.config.ts # Vite bundler configuration
└── package.json # Project dependencies and npm scripts