Get AI summaries for anything on-the-go while you're browsing.
The project is under development and the code can be found in hazle-android and hazle-backend repos.
-
Android Client:
- Jetpack Compose: Material 3 dynamic UI with dark/light theme
- Koin: Dependency injection for clean architecture
- Ktor: API handling from client-side
- Coroutines: Background message processing
- Room: Local caching for offline support
-
Ktor Backend (Middleware):
- Auth API: JWT token handling
- Chat API: Message queue management
- OpenAI API: AI integration for message responses
- Koin: Dependency injection
-
Supabase Services:
- Auth: Email/password + social logins
- Realtime DB: PostgreSQL for chat history (roadmap)
- Storage: File attachments (roadmap)
| Component | Functionality |
|---|---|
| Auth Flow | App → Ktor → Supabase Auth → JWT token → Session management |
| Chat Process | User message → Ktor → OpenAI → Ktor → Push notification |
| Notification | Tap opens chat thread with context-aware history |
| Offline | Local caching with message queue for retries |
-
MVP (Current): [Progress tracker]
- Auth + basic chat
- Notification system
- Compose UI with themes
- English, Sinhala and German languages
- Marketing and pricing
- a. Sri Lankan audience
- Subscription pricing model with IdeaMart
- Focused on translation more
- b. International audience
- Subscription pricing model with Google Play billing
- Focused on summarizing articles
- a. Sri Lankan audience
-
V2 (Quality of life features): [Progress tracker]
- Supabase realtime chat sync
- Prompt engineering dashboard
- Message history
- File attachment support
- More localization
-
V3 (Cross-platform): [Progress tracker]
- Shared KMP core module
- iOS UI with Compose Multiplatform
- Configurable AI personalities
- Usage analytics
| Technology | Key Concepts Learned |
|---|---|
| Jetpack Compose | Material 3 Expressive theming, custom animations |
| Koin | Cleaner modular code with Dependency injection |
| Ktor | REST API development, middleware |
| Supabase | Firebase alternative, Authentication, PostgreSQL management |
| Localization | Multi-language support with Componse UI, German language |
