ChatDroid is a native Android app for Open WebUI. It allows you to run Open WebUI locally (or on a remote server) and interact with it from an Android phone or tablet.
Note: ChatDroid does not ship Open WebUI itself. You still need a running backend (local or remote) for the app to connect to.
- Android Studio Flamingo / Hedgehog or newer
- Android SDK 33+ (API 33 is used by default; you can change in
build.gradle.kts) - JDK 17 (bundled with recent Android Studio versions)
- Import the
ChatDroidfolder ( File ▶ Open… ). - Let Gradle sync the project (first launch may download dependencies).
- Connect an Android device or start an emulator.
- Press Run ▶ to install the debug build on your device.
cd ChatDroid
./gradlew assembleDebug # Output: app/build/outputs/apk/debug/app-debug.apkInstall the resulting APK on your device:
adb install -r app/build/outputs/apk/debug/app-debug.apkChatDroid gets its backend endpoint from a compile-time BuildConfig value:
BuildConfig.BASE_URLYou can point the app at any Open WebUI instance without touching the source code:
-
Gradle property (recommended)
./gradlew assembleRelease \ -POPEN_WEBUI_BASE_URL=https://my.server.com/api/v1/ -
gradle.properties– add a line:OPEN_WEBUI_BASE_URL=https://my.server.com/api/v1/ -
Android Studio – Run ▶ Edit Configurations… ▶ Gradle and set
OPEN_WEBUI_BASE_URLin the Gradle properties field.
If you’re running the backend on the Android Emulator’s host machine, use
http://10.0.2.2:8080/api/v1/.
ChatDroid/
├─ app/ # Android application module
├─ gradle/ # Gradle wrapper files
├─ build.gradle.kts # Top-level Gradle settings
└─ settings.gradle.kts # Module declaration
ChatDroid is distributed under the MIT License. See the root LICENSE file for details.