riya1009/hybrid-chat-app ? reverse-engineered prompt

Reverse engineered prompt

Build me a real time chat app where two people can sign up, log in, and message each other one on one, with the app quietly using a server when needed but switching to direct peer to peer chat when both people are online. I want the chat to show if a message went through the server or directly, and I want voice and video calling too, using the same connection setup. Please include typing indicators, read receipts, online status, image and file sharing, message history, and automatic reconnect if the connection drops. Keep the messages encrypted on the client so the server only relays or stores encrypted data. Use a simple modern web app for the front end and a backend that can handle login, WebSocket chat, and message storage. If you need current docs for any libraries or browser APIs, look them up online. Please make it feel polished enough to demo with two test accounts in two browser windows.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab