How dmayank297/gembot works
Project type and purpose
• GemBot is a native Android chatbot application.
• It uses Jetpack Compose for UI, the MVVM pattern for architecture, Kotlin Coroutines for async work, and Google AI’s Gemini API as an external conversational engine.
File structure
• Top-level “app” module containing:
• build.gradle.kts, ProGuard rules
• src/main/java/com/example/gembot/
– Data: MessageData.kt (data model)
– Model: ChatViewModel.kt (ViewModel, business logic + API calls)
– Screen: ChatBotScreen.kt (Compose UI)
– Constant.kt (API keys, endpoint URLs)
– MainActivity.kt (hosts Compose content)
• src/main/res: images, strings, themes, xml backup/data-extraction rules
• src/androidTest & src/test: instrumentation and unit tests
• Root-level Gradle wrapper, gradle.properties, settings.gradle.kts include only the “app” module.
README for additional insights
• Confirms use of Jetpack Compose, Coroutines, Gemini SDK and Google AI Client Library.
• No local database or caching layer mentioned—conversations are ephemeral.
Elements
• Blue for UI components
• Green for ViewModel/Business Logic
• Yellow for Network Layer