Ephemeral. Private. Neo-Brutalist. Yours.
Ghostwire is a zero-backend, true peer-to-peer chat application built with a stunning neo-brutalist bento-grid UI. No accounts, no chat history stored anywhere, no databases.
Messages vanish the moment you close the tab.
- 🔒 True P2P — Direct browser-to-browser connection via WebRTC
- 🎯 Short Codes — Connect instantly using short, 6-character room codes powered by PeerJS signaling.
- 👤 No Signup — Just open and chat
- 💨 Ephemeral — Nothing persists, not even locally
- 📱 Mobile Friendly & Responsive — Beautiful Bento Box grid layout.
- 🚀 Zero Backend — Pure static HTML/JS/CSS, host it anywhere
┌─────────┐ ┌─────────┐
│ User A │◄────────►│ User B │
│ Browser │ WebRTC │ Browser │
└─────────┘ └─────────┘
│ │
│ NO SERVER IN │
│ THE MIDDLE! │
│ │
└─────────────────────┘
Direct P2P
Ghostwire establishes a direct WebRTC DataChannel connection between users. We utilize the free, public PeerJS signaling server to exchange connection metadata invisibly. This means you only need to share a short code (e.g. ABC-DEF) to connect, while your actual messages never touch a single server.
- Create a room — Your browser generates a short connection code.
- Share the link or code — Send it to your friend or let them scan the QR code.
- Connect — Your friend opens the link.
- Chat — Messages flow directly between browsers.
- Vanish — Close the tab, and the conversation is permanently destroyed.
- Fork this repository
- Go to Settings → Pages
- Select branch:
main - Your chat is live! 🎉
Access it at: https://rn-swain.github.io/Ghostwire/
# Clone the repository
git clone https://github.com/rn-swain/Ghostwire.git
cd Ghostwire
# Serve locally
python -m http.server 8000Open https://rn-swain.github.io/Ghostwire/ in your web browser.
- ✅ Connections are secured by WebRTC's mandatory DTLS encryption.
- ✅ No server sees or stores your messages—ever.
- ✅ No persistent storage of any kind (no cookies, local storage, etc).
⚠️ Metadata protection (IP addresses are visible to peers).⚠️ Forward secrecy between sessions.
Recommendation: Use for fun, fast, and casual ephemeral chats.
Rudra Swain
- GitHub: @rn-swain
- Email: rudra.rn.swain@gmail.com
MIT License — See LICENSE