emilycodestar/cmd-chat — reverse-engineered prompt
Reverse engineered prompt
Build me a Python terminal chat app for private conversations.
I want it to run completely from the command line, with one person starting a server on a host and port, and other people connecting with the server IP, port, username, and shared password. The chat should be peer to peer style with no web app, no browser, and no database.
Make it encrypted end to end, with the password never sent over the network. Use SRP style authentication and derive a shared room key so everyone with the same password can read the room, but the server only ever sees encrypted messages. Keep everything in memory only. Don’t write chat logs, keys, metadata, or history to disk, and wipe sensitive values when someone disconnects if possible.
Please include a simple CLI interface, clear install and usage instructions for Mac, Linux, and Windows, and basic tests for the important parts like connection, authentication, encryption, and message sending.
Want more depth? Deep Reverse