How It Works_
100% Peer-to-Peer. Zero Data Storage.
1. The Stack
Built for Speed & Reliability
PasteX is built on a modern hybrid architecture designed to be incredibly fast while respecting your privacy:
- UI Next.js 15 (React)
- CSS TailwindCSS (Neo-Brutalism)
- SIGNALING Socket.io (Node.js)
- DATA WebRTC (RTCDataChannel)
2. WebRTC Peer-to-Peer
Direct Browser Connection
Unlike traditional file sharing apps (like Google Drive or WeTransfer), PasteX never uploads your files to a server.
Step A: When you join a room, our Socket.io server introduces your browser to the other person's browser (Signaling).
Step B: Your browsers negotiate a direct connection using WebRTC.
Step C: Once connected, files are broken into chunks and streamed directly between the devices.
3. Privacy by Design
No Trace Left Behind
PasteX rooms are completely ephemeral.
- No databases are connected to this application.
- No files are ever stored on a server disk.
- Once all peers leave a room, the shared text buffer is instantly destroyed.