Skip to content
BansifyPublic

About

Bansify AI for Android - a calm, roomy AI chat app with Hinglish-flavoured UX, streaming replies and history that lives on your account, not your device. Kotlin and Jetpack Compose (Material 3), signed in through Bansify Accounts, powered by the same Worker as ai.bansify.com. Sarvam first, OpenRouter, Groq and Gemini fallbacks.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Bansify AI

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.

Screens & features

  • Sign-in — Bansify Accounts (shared accountsapp SDK, 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

Project structure

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)

Requirements

  • 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

Build and test

./gradlew :app:assembleDebug   # debug APK -> app/build/outputs/apk/debug/
./gradlew :app:testDebugUnitTest :app:lintDebug :app:assembleDebug

The 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).

CI & releases

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/master and v* tags get a versioned release (v1.0.<build>); every other branch refreshes a single rolling pre-release tagged latest. Version code/name are injected via -PversionCode/-PversionName.

Release secrets

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 password
  • KEY_ALIAS — key alias (auto-detected from the keystore if left empty)
  • KEY_PASSWORD — key password (defaults to KEYSTORE_PASSWORD if 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.

Manual device checks

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.

Notes

  • metadata.json describes the AI Studio prototype this was exported from.
  • public/assets/ holds reference screenshots from the design phase.

About

Bansify AI for Android - a calm, roomy AI chat app with Hinglish-flavoured UX, streaming replies and history that lives on your account, not your device. Kotlin and Jetpack Compose (Material 3), signed in through Bansify Accounts, powered by the same Worker as ai.bansify.com. Sarvam first, OpenRouter, Groq and Gemini fallbacks.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages