https://github.com/nikki1930/basicchatbot
https://github.com/nikki1930/basicchatbot
Last synced: 17 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/nikki1930/basicchatbot
- Owner: Nikki1930
- Created: 2025-04-09T12:17:38.000Z (about 2 months ago)
- Default Branch: master
- Last Pushed: 2025-04-09T12:31:19.000Z (about 2 months ago)
- Last Synced: 2025-04-09T13:32:35.533Z (about 2 months ago)
- Language: Kotlin
- Size: 104 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