Skip to content

MARKASCHARAN/R-chat-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

26 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ—£οΈ Anonymous Random Chat App

A real-time anonymous chat application where users instantly connect with strangers.
Each user receives an auto-generated username like Blue Falcon or Red Tiger, and they can start chatting immediately β€” no login required.

Built using Node.js, Express, Socket.io, and TailwindCSS.


πŸš€ Features

  • πŸ”₯ Instant real-time chat using Socket.io
  • 🎭 Anonymous usernames (auto-generated with unique-names-generator)
  • πŸ’¬ Typing indicator
  • πŸ‘‹ User joined / User left notifications
  • πŸ“œ Auto-scroll to latest message
  • 🧊 Modern glass-morphism UI
  • ⚑ Extremely lightweight
  • πŸ›œ Works instantly β€” no signup, no login

πŸ“‚ Project Structure

R-chat-app/ β”œβ”€β”€ backend/ β”‚ β”œβ”€β”€ server.js β”‚ └── package.json └── frontend/ β”œβ”€β”€ index.html └── script.js

yaml Copy code


πŸ› οΈ Installation & Setup

1️⃣ Clone the Repository

git clone <your-repo-url>
cd R-chat-app
2️⃣ Install Backend Dependencies
bash
Copy code
cd backend
npm install
Installed Packages:

express

socket.io

unique-names-generator

3️⃣ Run the Backend Server
bash
Copy code
node server.js
You should see:

arduino
Copy code
Server running at http://localhost:3000
4️⃣ Open the Frontend
You can simply open:

bash
Copy code
frontend/index.html

About

Anonymous Random Chat App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published