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.
- π₯ 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
R-chat-app/ βββ backend/ β βββ server.js β βββ package.json βββ frontend/ βββ index.html βββ script.js
yaml Copy code
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