N-Gemini is a Kotlin Compose Multiplatform project designed to target Android, Web, and Desktop platforms.
NGeminiApp.mp4
The /composeApp
directory contains code shared across Compose Multiplatform applications, organized into the following subfolders:
commonMain
: Code common to all platforms.jvmMain
,androidMain
,jsMain
This project supports the following platforms:
- Android
- iOS ( will be added in the future)
- Desktop (Linux, macOS, Windows)
- Web
Before running the project, obtain an API key from Google AI to communicate with the Gemini API. Once obtained, assign the key to the NGEMINI_API_KEY
constant in the local.properties
file:
- Add a
local.properties
file to the project root. - Set the path to the Android SDK in the
local.properties
file. - Add
NGEMINI_API_KEY=" "
to store the obtained API key.
Learn more about:
To run the application on an Android device/emulator:
- Open the project in Android Studio.
- Run the imported Android run configuration.
To build the application bundle:
./gradlew :composeApp:assembleDebug
Run the desktop application:
./gradlew :composeApp:run
Run the browser application:
./gradlew :composeApp:jsBrowserDevelopmentRun
Support it by starring and sharing it ⭐
This project is licensed under the MIT License - see the LICENSE file for details.