Reverse engineered prompt

GitHub

Build me a privacy first group chat app, basically a lightweight Discord style clone with a strong focus on secure messaging. I want people to be able to sign up, log in, create servers and channels, send text messages, and join voice and video rooms. Please make the messaging end to end encrypted where the app already supports it, and keep the overall flow simple enough that I can run it locally without a lot of setup.

Use sensible defaults so it works with SQLite out of the box, but keep it compatible with Postgres too. I also want basic file attachments, configurable open or closed registration, JWT based auth, and a simple way to bootstrap the first admin or promote one signup to admin with a one time code. Please wire up the local dev environment with Docker so everything starts together, including the realtime media service and object storage for uploads.

Make it feel polished and usable, and make sure the main tests pass. Look up current docs online if you need to.

Have a live product UI? Try website reverse