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
- 🧑🎨 ImageLoader for displaying images from URL
- 🌐 Libres for resources generation
- 🔊 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 GPT3.5-turbo 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:
I want to thank all the whole Jetbrains team for making Compose Multiplatform possible, and all the amazing community that surrounds it ❤️