01 / The Problem
Problem
Starting a quick video conversation online usually requires account sign-ups, personal identity exposure, and manual room links.
Icognito is a 1-on-1 anonymous video and text chat web app with a Next.js 16 frontend (web/) and a standalone Node.js + Socket.IO signaling server (socket/).
01 / The Problem
Starting a quick video conversation online usually requires account sign-ups, personal identity exposure, and manual room links.
02 / The Solution
Built a no-login matchmaking queue that pairs connected sockets in memory, creates a UUIDv4 room on match, and opens a 1-on-1 WebRTC video and text call via ZegoCloud UIKit.
03 / Architecture & Features
Manages an in-memory waitingQueue and activePairs map on the standalone Node.js signaling server.
Handles create-room, waiting, matched, next, partner-left, and disconnect socket events, creating a UUIDv4 room when two users match.
Loads @zegocloud/zego-uikit-prebuilt on the client in OneONoneCall mode (maxUsers: 2) to avoid Next.js SSR window errors, with per-session crypto.randomUUID() IDs and instant partner switching.
04 / Features
05 / Challenges