Skip to content

AbiNash1017/self-destruct-chat-app

Repository files navigation

>_< Private_Chat 💬

A modern, high-performance, and self-destructing private chat application designed for ephemeral and secure communication.

Live Preview | Portfolio


✨ Features

  • 🕒 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.

🛠️ Tech Stack


🚀 Getting Started

Prerequisites

Installation

  1. Clone the repository

    git clone https://github.com/AbiNash1017/chatapp.git
    cd chatapp
  2. Install dependencies

    npm install
  3. Configure Environment Variables Create a .env.local file 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"
  4. Run the development server

    npm run dev
  5. Build for production

    npm run build

📖 How to Use

  1. Enter the Lobby: Visit the landing page to get your unique session nickname.
  2. Create a Room: Click "CREATE SECURE ROOM". This generates a unique encryption-backed room ID.
  3. Invite Friends: Copy the Room URL from the header or the "Invite" popup and send it to your friend.
  4. Chat Securely: Start chatting! Your messages will appear with premium alignment (Your messages on the right, theirs on the left).
  5. 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 By

Developed with ❤️ by Abinash Das


About

Secure, private, and self-destructing chat rooms. Powered by Upstash Realtime.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors