Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joreilly/geminikmp
Kotlin Multiplatform sample that uses Gemini Generative AI APIs. Runs on Android, iOS, Desktop and Wasm based Compose for Web.
https://github.com/joreilly/geminikmp
android compose compose-multiplatform gemini ios kotlin-multiplatform wasm
Last synced: 4 days ago
JSON representation
Kotlin Multiplatform sample that uses Gemini Generative AI APIs. Runs on Android, iOS, Desktop and Wasm based Compose for Web.
- Host: GitHub
- URL: https://github.com/joreilly/geminikmp
- Owner: joreilly
- License: apache-2.0
- Created: 2023-12-31T00:19:20.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-08-15T20:46:55.000Z (3 months ago)
- Last Synced: 2024-08-15T22:31:06.516Z (3 months ago)
- Topics: android, compose, compose-multiplatform, gemini, ios, kotlin-multiplatform, wasm
- Language: Kotlin
- Homepage:
- Size: 339 KB
- Stars: 186
- Watchers: 3
- Forks: 21
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![kotlin-version](https://img.shields.io/badge/kotlin-2.0.0-blue?logo=kotlin)
Kotlin/Compose Multiplatform sample to demonstrate Gemini Generative AI APIs (text and image based queries).
Uses [Generative AI SDK](https://github.com/PatilShreyas/generative-ai-kmp).Running on
* iOS
* Android
* Wear OS (contributed by https://github.com/yschimke)
* Desktop
* Web (Wasm)Set your Gemini API key (`gemini_api_key`) in `local.properties`
Related posts:
* [Exploring use of Gemini Generative AI APIs in a Kotlin/Compose Multiplatform project](https://johnoreilly.dev/posts/gemini-kotlin-multiplatform/)## Screenshots
### iOS
![Simulator Screenshot - iPhone 15 Pro - 2024-01-19 at 19 15 53](https://github.com/joreilly/GeminiKMP/assets/6302/91e5d4f5-7cb5-40d4-95fb-c5d87bac7918)
### Android
![Screenshot_1705691519](https://github.com/joreilly/GeminiKMP/assets/6302/668145c1-1dcf-4cd5-8b1d-a04f7ebd6866)
### Compose for Desktop
### Wasm based Compose for Web
## Full set of Kotlin Multiplatform/Compose/SwiftUI samples
* PeopleInSpace (https://github.com/joreilly/PeopleInSpace)
* GalwayBus (https://github.com/joreilly/GalwayBus)
* Confetti (https://github.com/joreilly/Confetti)
* BikeShare (https://github.com/joreilly/BikeShare)
* FantasyPremierLeague (https://github.com/joreilly/FantasyPremierLeague)
* ClimateTrace (https://github.com/joreilly/ClimateTraceKMP)
* GeminiKMP (https://github.com/joreilly/GeminiKMP)
* MortyComposeKMM (https://github.com/joreilly/MortyComposeKMM)
* StarWars (https://github.com/joreilly/StarWars)
* WordMasterKMP (https://github.com/joreilly/WordMasterKMP)
* Chip-8 (https://github.com/joreilly/chip-8)