realityexpander/KtorAndroidChat ? reverse-engineered prompt
Reverse engineered prompt
Build me an Android chat app that connects to my existing Ktor backend and lets users chat in real time without Firebase.
I want it to feel modern and simple, with a clean Compose UI, light and dark mode, and smooth navigation between the main screens. It should send and receive messages through the backend using HTTP and WebSocket connections, handle reconnects automatically if the network drops, and show errors in a friendly way instead of crashing. Use a solid app structure with MVVM and dependency injection, and make sure the chat updates instantly when new messages come in.
The app should work with the server from the linked Ktor chat project, so if you need to check the latest API details online, do that. Keep it ready to run on Android, and make the code easy to maintain so I can extend it later.
Are you gonna build this?
make sure you review the code using coderabbit