https://github.com/nikki1930/basicchatbot
π€ A sleek Android chatbot app built with Jetpack Compose, powered by the Gemini API. It supports memory-based conversations and allows text selection and copying.
https://github.com/nikki1930/basicchatbot
ai-integration android android-application android-development chatbot compose-ui conversational-ai gemini-api generative-ai google-ai jetpack-compose kotlin machine-learning material-design material-ui
Last synced: about 1 month ago
JSON representation
π€ A sleek Android chatbot app built with Jetpack Compose, powered by the Gemini API. It supports memory-based conversations and allows text selection and copying.
- Host: GitHub
- URL: https://github.com/nikki1930/basicchatbot
- Owner: Nikki1930
- Created: 2025-04-09T14:36:27.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-04-09T14:47:59.000Z (about 1 year ago)
- Last Synced: 2025-10-24T09:29:58.057Z (8 months ago)
- Topics: ai-integration, android, android-application, android-development, chatbot, compose-ui, conversational-ai, gemini-api, generative-ai, google-ai, jetpack-compose, kotlin, machine-learning, material-design, material-ui
- Language: Kotlin
- Homepage:
- Size: 105 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# π€ BasicChatBot
A simple Kotlin-based Android chatbot app powered by **Google's Gemini API**, with built-in **chat memory** for contextual conversations.
---
## β¨ Features
- π¬ Real-time chat interface
- π§ **Context-aware memory** β remembers previous messages to carry context
- π Gemini API integration for smart, conversational responses
- π **Selectable & copyable messages** β tap and hold to copy any chat text
- π± Clean and minimal UI built with Android best practices
- βοΈ Kotlin + Jetpack components
- π Internet connectivity check + API error handling
---
## π οΈ Tech Stack
- **Language:** Kotlin
- **API:** Google Gemini (via REST calls)
- **Architecture:** MVVM (Model-View-ViewModel)
- **Build Tool:** Gradle (KTS)
- **IDE:** Android Studio
---
## π What I Learned Working on BasicChatBot taught me a lot about:
- π§© Integrating third-party APIs β setting up and calling Googleβs Gemini API efficiently.
- π§ Handling chat memory β preserving context for natural conversation flow.
- π― State management in Android β especially using ViewModel and LiveData to update the UI reactively.
- π‘ Designing user-friendly UIs β like enabling message selection and making conversations feel intuitive.
- π Best practices for handling API keys β like storing them securely using local.properties.
- π οΈ GitHub repo management β including commits, pushing code, and creating a clean public repo.
- π Improving debugging skills β especially with network calls and response parsing.
---
## π Future Enhancements
- ποΈ Voice input support
- π Multi-language chat