Bansify AI — a calm, roomy Android AI chat app with Hinglish-flavoured UX. Built with Kotlin + Jetpack Compose (Material 3).
Chat is live. Replies stream from the Bansify AI Worker
(https://ai.bansify.com/api), which routes to Sarvam first and falls back to
OpenRouter/Groq/Gemini. Sign-in is the shared Bansify Accounts flow, so the same
account works on ai.bansify.com and in this app, and chat history lives on the
account (worker D1), not on the device.
Everything except chat shows "Coming soon" — Studio, Workspace (Library, Scheduled) and the model catalog are stubbed on purpose instead of shipping mock screens that look finished.
-
Sign-in — Bansify Accounts (shared
accountsappSDK, PKCE via Custom Tabs) -
Onboarding — welcome, name, profession, goals
-
Chat — composer, real streamed replies from the worker, markdown-lite rendering, model picker sheet, add-to-chat sheet
-
History — past conversations
-
Models — coming soon (the in-chat model picker is live)
-
Studio — coming soon
-
Workspace — coming soon
-
Drawer — navigation drawer
-
Settings — appearance, memory, persona, data, about
-
Splash
app/src/main/java/com/bansify/ai/
├── MainActivity.kt
├── core/ # design system (colors, type, shapes, theme, components) + shared UI
├── data/ # mock data + repositories (Chat, Model, Studio, UserPreferences)
├── feature/ # chat, history, models, onboarding, profile, settings,
│ # splash, studio, workspace, drawer
├── nav/ # NavGraph + routes
└── state/ # shared UI state
public/assets/ # design reference screenshots
.github/workflows/ # CI, planning checks and release pipeline
tools/ # static checks run by CI (docs + scaffold)
- Android Studio (Ladybug or newer) or Gradle 9.x with JDK 17+ (CI uses Temurin 21)
- Android SDK with platform 36 (compileSdk), minSdk 26
- The Gradle wrapper is committed (
./gradlew), no local Gradle install needed
./gradlew :app:assembleDebug # debug APK -> app/build/outputs/apk/debug/
./gradlew :app:testDebugUnitTest :app:lintDebug :app:assembleDebugThe project intentionally has no committed keystore — debug builds use the
default ~/.android/debug.keystore, and release builds are unsigned in-repo
(the release workflow signs them; see below).
Three GitHub Actions workflows run on every push:
- Android CI —
tools/checks, unit tests, lint and a debug APK (uploaded as an artifact). - Planning checks — documentation/scaffold consistency.
- Build Signed Release APK & Publish GitHub Release — runs tests, builds the release
APK, debug APK and Play Store AAB, signs them when the secrets below are set, and
publishes to the Releases page: pushes to
main/masterandv*tags get a versioned release (v1.0.<build>); every other branch refreshes a single rolling pre-release taggedlatest. Version code/name are injected via-PversionCode/-PversionName.
The release workflow signs nothing without these four repository secrets (Settings → Secrets and variables → Actions):
RELEASE_KEYSTORE_BASE64— base64 of the release keystore (base64 -w0 release.jks)KEYSTORE_PASSWORD— keystore passwordKEY_ALIAS— key alias (auto-detected from the keystore if left empty)KEY_PASSWORD— key password (defaults toKEYSTORE_PASSWORDif empty)
If they are missing the build still succeeds and publishes the debug APK and an unsigned release APK/AAB instead — it never falls back to the debug key.
There are no automated UI tests yet (UI prototype), so before shipping a build verify on an emulator/device: cold start → onboarding flow (name, profession, goals) → drawer navigation → new chat with mock streaming response → stop streaming → models sheet → Studio repo/file screens render → Settings screens open.
metadata.jsondescribes the AI Studio prototype this was exported from.public/assets/holds reference screenshots from the design phase.