Real-Time Anonymous Chat Application
Built with Node.js, Express & Socket.io
👉 https://anonymouschat-u853.onrender.com/
- 💬 Real-time messaging (Socket.io)
- 🕵️ Anonymous username system
- 📱 Mobile-first WhatsApp-style UI
- 🟢 Live online user counter
- ⌨️ Typing indicator
- 🎙️ Voice message support
- 📦 Installable as PWA (Add to Home Screen)
- 🔔 Browser notification support
- 🌙 Clean modern UI
| Technology | Purpose |
|---|---|
| Node.js | Backend runtime |
| Express.js | Web server |
| Socket.io | Real-time communication |
| HTML/CSS/JS | Frontend |
| Service Worker | PWA support |
| Render | Deployment |
AnonymousChat/
│
├── server.js
├── index.html
├── manifest.json
├── sw.js
├── package.json
├── package-lock.json
├── favicon.ico
├── favicon-96x96.png
├── apple-touch-icon.png
├── web-app-manifest-192x192.png
└── web-app-manifest-512x512.png
git clone https://github.com/adityasing9/AnonymousChat.git
cd AnonymousChatnpm installnpm startOpen in browser:
http://localhost:3000
This project is deployed on Render.
| Setting | Value |
|---|---|
| Environment | Node |
| Build Command | npm install |
| Start Command | npm start |
const PORT = process.env.PORT || 3000;Supports:
- Install on mobile & desktop
- Standalone mode
- Custom app icon
- Service worker registration
- Notification permission handling
- 🔐 Private 1-to-1 chat rooms
- 💾 MongoDB message storage
- 🌍 Custom domain support
- 🔔 Background push notifications
- 👤 Authentication system
- 🛡 Moderation tools
Contributions are welcome!
- Fork the repository
- Create a new branch
- Make your changes
- Submit a Pull Request
This project is licensed under the MIT License.
Aadi Sing
⭐ If you like this project, consider giving it a star!