{"repo":"KartikLabhshetwar/Mercurius","free":true,"listed":false,"github":"https://github.com/KartikLabhshetwar/Mercurius","clone":"git clone https://github.com/KartikLabhshetwar/Mercurius.git","description":"A private, self-destructing chat room application. Rooms automatically expire after 10 minutes, ensuring ephemeral conversations.","language":"TypeScript","stars":50,"topics":["coss","nextjs","private-chat-application","real-time-chat","upstash-redis"],"license":"Apache-2.0","category":"saas-starters-boilerplates","readme_excerpt":"Mercurius A private, self-destructing chat room application. Rooms automatically expire after 10 minutes, ensuring ephemeral conversations. Demo https://github.com/user-attachments/assets/0c35d501-6fc7-4020-8fb0-470c9a9ac9dc Features - Self-Destructing Rooms : Automatic expiration after 10 minutes - Real-Time Messaging : Instant delivery via Upstash Realtime - Message Reactions : Add/remove emoji reactions - Read Receipts : Track message read status - Typing Indicators : See when others are typing - Presence System : Online/offline status tracking - Connection Notifications : Join/leave announcements - Message Deletion : Delete your own messages - Token-Based Auth : Secure room access via cookies Tech Stack Frontend - Next.js 16 (App Router) - React 19 with React Compiler - TanStack Query - COSS UI + Tailwind CSS 4 - TypeScript Backend - Elysia (Bun runtime) - Upstash Redis (serverless) - Upstash Realtime (pub/sub) - Eden Treaty (type-safe client) Architecture Overview Mercurius follows a serverless architecture pattern: Data Flow 1. Room creation generates nanoid, stores metadata in Redis with 10min TTL 2. Messages validated via Zod, stored in Redis, broadcast via Realtime 3. Real-time events (typing, presence, reactions) published to room channels 4. Automatic cleanup via Redis TTL expiration Key Design Decisions - Elysia in API routes : Type-safe APIs with Eden Treaty for end-to-end type safety - Upstash : Serverless Redis + Realtime, no infrastructure management, global e","default_branch":null,"files":null,"tree":[],"storefront":"/r/KartikLabhshetwar","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/KartikLabhshetwar/Mercurius/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}