estifanosbereket1/telelite ? reverse-engineered prompt
Reverse engineered prompt
Build me a lightweight Telegram client for feature phones that I can self host.
I want one backend that connects to Telegram with my own API credentials, then three ways to use it. A simple browser version that works without JavaScript, a KaiOS app, and an older Java ME app for classic phones. Keep it text only, fast on slow connections, and small enough for low power devices.
It should let me log in, handle 2FA, see my chat list, open conversations, send replies, and log out cleanly. I also want the backend to store sessions safely, expire them over time, and serve a simple download page so I can install the J2ME app from my own server.
Please set it up so I can run it locally first, and add tests if needed. If you need to check current docs for Telegram or the phone platforms, go ahead and look them up online.