An Android & iOS application ChatGPT like made with Compose Multiplatform
- 💄 Compose Multiplatform for the UI on Android & iOS
- 🎨 Material 3 for the Design System
- 🧠 OpenAI Kotlin for OpenAI API client
- 🧭 Voyager for the navigation library
- 💡 Koin for the dependency injection framework
- 🗃️ SQLDelight for native SQLite database
- ⚙️ Multiplatform Settings for saving simple key-value data
- 🧑🎨 Coil3 for displaying images from URL
- 🔊 Napier for easy logging
- 🔨 BuildKonfig for BuildConfig for Kotlin Multiplatform Project
- 🔥 Firebase Analytics & Crashlytics for usage and crash reporting
- 💸 AdMob for ads revenue
The app architecture is based on the latest guidelines from Google. You can take a look here for more information and here for an official example.
Compose AI use the OpenAI API with gpt-4o-mini the get the responses. We need to setup your own OpenAI API key before launching the app.
- Create your OpenAI developper account here
- Create a new API key here or use an existing one
- Open the local.properties in the root of the project
- Add your key like this
openai_api_key=[YOUR OPENAI API KEY HERE]
Here are some of the websites or repositories that helped me to create this project:
- Compose Multiplatform iOS / Android template
- The #compose-ios channel on the official Kotlin Slack
- KMPStarterOS : Open source template for Kotlin multiplatform and Compose by @LouisDuboscq
I want to thank all the whole Jetbrains team for making Compose Multiplatform possible, and all the amazing community that surrounds it ❤️