A modern, high-performance, and self-destructing private chat application designed for ephemeral and secure communication.
- 🕒 Self-Destructing Rooms: Message rooms that automatically delete themselves after a set period.
- 🔒 Private & Secure: Encrypted and ephemeral; no long-term storage of sensitive conversations.
- 🚀 Real-time Engine: Powered by Upstash Realtime for sub-millisecond message delivery.
- 🎨 Premium UI/UX: Dark-themed, glassmorphic design with smooth micro-animations and right/left message alignment.
- 🤝 Easy Sharing: One-click room invites with dynamic sharing popups.
- 🤖 Auto-Identity: Instant, friendly nicknames generated for every session.
- Frontend: Next.js 16 (Turbopack)
- Backend / API: ElysiaJS & Eden
- Real-time / Database: Upstash Redis & Upstash Realtime
- Styling: Tailwind CSS 4
- State Management: React Query (TanStack)
- Node.js 20+
- Upstash Account (Redis & Realtime)
-
Clone the repository
git clone https://github.com/AbiNash1017/chatapp.git cd chatapp -
Install dependencies
npm install
-
Configure Environment Variables Create a
.env.localfile in the root directory:UPSTASH_REDIS_REST_URL="your-redis-url" UPSTASH_REDIS_REST_TOKEN="your-redis-token" UPSTASH_REALTIME_URL="your-realtime-url" UPSTASH_REALTIME_API_KEY="your-realtime-key"
-
Run the development server
npm run dev
-
Build for production
npm run build
- Enter the Lobby: Visit the landing page to get your unique session nickname.
- Create a Room: Click "CREATE SECURE ROOM". This generates a unique encryption-backed room ID.
- Invite Friends: Copy the Room URL from the header or the "Invite" popup and send it to your friend.
- Chat Securely: Start chatting! Your messages will appear with premium alignment (Your messages on the right, theirs on the left).
- Self-Destruct: Keep an eye on the countdown timer in the header. Once it hits zero, the room and all its messages are permanently wiped from the database. You can also manually trigger a wipe by clicking "DESTROY NOW".
Developed with ❤️ by Abinash Das
- Portfolio: abinash-das.vercel.app
- GitHub: @AbiNash1017
- Email: abinash.das.dev@gmail.com