Reverse engineered prompt

Build me a simple browser based Discord alternative called PeerCord that works with no backend, no accounts, and no install. I want it to run from plain HTML files that someone can just open and use right away.

It should let people do real time text chat and voice chat, with one quick mode where a person creates a host from the client, and another mode with a separate dedicated server page that can stay open on a spare device for a more stable group chat. People should be able to join by pasting an ID or by scanning a QR code with their phone camera. Please make it mobile friendly and easy to use on desktop too.

Keep it fully serverless in practice, using direct browser to browser connections, and make sure it can work across different networks with STUN support. The UI should feel modern and responsive, and chat should feel instant. If you need details, look up current docs online and make it as close as possible to a free peer to peer Discord style experience.

Want more depth? Deep Reverse