Real-Time Private Chat

December 9, 2025

private_chat is a real-time private messaging application designed for secure and temporary conversations. Users can create a private room, share the link, and chat with only one other person. All messages are automatically deleted when the room expires or is manually destroyed.

Real-Time Private Chat Image 1

The application is built with Next.js 16 and Tailwind CSS, providing a clean, responsive, and modern interface optimized for all devices. Each chat room supports a maximum of two users, ensuring fully private conversations without overcrowding.

Real-Time Private Chat Image 2

Real-time messaging is powered by Upstash Realtime and Redis, enabling instant data synchronization between users. On the server side, room management, message validation, and expiration logic are handled securely. Features such as automatic time limits, manual room destruction, and randomized user identities enhance both privacy and usability.

Technologies Used

  • Next.js 16
  • React 19
  • TypeScript
  • Tailwind CSS 4
  • Elysia & Eden: Used for building a type-safe backend API and client communication.
  • Upstash Redis & Realtime: Enabled real-time messaging and data synchronization.
  • Zod
  • TanStack Query: Managed server state and API interactions efficiently.
view sourcevisit project