How light-alter7/code-design works
This is a small native Android chat client. The user enters an API base URL, model, and session-only key in Settings, sends a message, and receives an assistant response from an OpenAI-compatible chat API; HTTP 402 and 404 responses lead to dedicated error screens. The app also exposes a Projects screen, though its text says project syncing and local file access are not connected. Chat UI, state, request handling, and screen behavior are concentrated in MainActivity; endpoint normalization is a separate helper. The README is empty, so capabilities and links are based on the sampled source only.
Main entry points: MainActivity.kt Chat request · ApiEndpoint.kt Endpoint normalization
Components 5
Android client
- Chat and screens
apps/android-native/app/src/main/java/com/codesign/mobile/MainActivity.kt
API connectivity
- Chat request
apps/android-native/app/src/main/java/com/codesign/mobile/MainActivity.kt - Endpoint normalization
apps/android-native/app/src/main/java/com/codesign/mobile/ApiEndpoint.kt
Other components
- App user
- Chat API
Connections 4
- App user → Chat and screens: uses
- Chat and screens → Chat request: starts request
apps/android-native/app/src/main/java/com/codesign/mobile/MainActivity.kt - Chat request → Endpoint normalization: normalizes URL
apps/android-native/app/src/main/java/com/codesign/mobile/MainActivity.kt - Chat request → Chat API: sends POST
apps/android-native/app/src/main/java/com/codesign/mobile/MainActivity.kt