AI-powered chatbot application — Intelligent conversations using Google's Gemini AI
- Real-time conversations — Instant AI responses powered by Gemini
- Efficient model — Uses gemini-flash-latest for speed
- Smart caching — Reduces redundant API calls
- Rate limiting — Built-in request throttling
- Modern UI — Clean interface with themed chat bubbles
- Conversation history — Persistent chat memory
- Clear history — Reset cache and conversations anytime
- Flutter SDK (v3.19+)
- Dart (v3.3+)
- VS Code with Flutter/Dart extensions (recommended)
- Development environment:
- Android Studio/Xcode for emulators
- OR physical device (Android/iOS)
http: ^1.5.0
google_generative_ai: ^0.4.7
flutter_dotenv: ^5.2.1
provider: ^6.1.5lib/
├── models/
│ └── chatmessage.dart # Message data model
├── providers/
│ └── theme_provider.dart # Theme state management
├── screens/
│ └── chat_screen.dart # Main chat interface
├── widgets/
│ └── chat_bubble.dart # Message bubble widget
└── main.dart # App entry point
Visit Google AI Studio and create an API key under the "Get API Key" section.
Create a .env file in the project root:
# Option 1: Create manually
# /GeminiX/.env
GEMINI_API_KEY=your_api_key_here
# Option 2: Use command line
echo "GEMINI_API_KEY=your_api_key_here" > .envflutter:
assets:
- .env# 1. Clone the repository
git clone https://github.com/mrdeephang/GeminiX.git
cd GeminiX
# 2. Install dependencies
flutter pub get
# 3. Run the app
flutter run
# Or press Ctrl + F5 in VS CodeNever commit your .env file! Add it to .gitignore:
.env
- Voice input — Speech-to-text integration
- Image support — Send and analyze images
- Cloud sync — Save conversations across devices
- Multi-language — Support for multiple languages
- Export chats — Save conversations as text/PDF
Deephang Thegim
GitHub: @mrdeephang
Copyright © 2025 Deephang Thegim. All rights reserved.
