Skip to content

cnrture/Gemini-Chat-Samples

Repository files navigation

Gemini-Chat-Samples

  • Compose Multiplatform projects are written with the new KMP Wizard template structure. KMP Wizard


App Contents

Android

Text From Text Text From Image

iOS

Text From Text Text From Image

To try



  • Locate the local.properties file in the project. Insert the gemini_api_key variable with the API key you created as follows and run the application.



Libraries

Compose Multiplatform
(Gemini Library)
Compose Multiplatform
(Gemini Rest Api)
Compose
(Gemini Library)
Compose
(Gemini Rest Api)
Gemini AI KMP Library
https://github.com/PatilShreyas/generative-ai-kmp
Gemini AI Google Library
https://ai.google.dev/tutorials/android_quickstart
Gemini AI Rest Api
https://ai.google.dev/tutorials/rest_quickstart
Ktor Client
https://github.com/ktorio/ktor-documentation
Retrofit
https://github.com/square/retrofit
Voyager (Navigation & Koin & ViewModel)
https://github.com/adrielcafe/voyager
Compose Navigation
https://developer.android.com/jetpack/compose/navigation
Hilt
https://developer.android.com/training/dependency-injection/hilt-android
Material3
https://m3.material.io/develop/android/mdc-android
Moko Resources
https://github.com/icerockdev/moko-resources
File Picker
https://github.com/MohamedRejeb/Calf
BuildKonfig
https://github.com/yshrsmz/BuildKonfig
Kotlinx Serialization
https://kotlinlang.org/docs/serialization.html#what-s-next

ToDo for Compose Multiplatform Projects

  • Desktop support

  • Web support

  • Wear support