A real-time anonymous group chat application with modern UI and privacy features.
- Real-time Messaging: Uses WebSocket for instant communication.
- Anonymous User Profiles: Generates random avatars for users.
- Spam Protection: Validates messages to prevent harmful content.
- Modern UI: Responsive design with left/right message bubbles.
- Active Users Display: Shows the number of online users.
- Message Persistence: Stores chat history in MongoDB.
- Message Limits: 255-character limit per message.
- Timestamps: All messages include a timestamp.
- Privacy Focused: No personal data is stored.
- React
- TailwindCSS
- Socket.io-client
- Node.js
- Express
- Socket.io
- MongoDB
Ensure you have the following installed:
- Clone the Repository
git clone https://github.com/mahmud-r-farhan/annoy-group-chat.git
cd annoy-group-chat
- Install Dependencies
cd server && npm install
cd ../client && npm install
- Create Environment Variables
Create a
.env
file inside theserver
directory and add the following:
MONGO_URI=your_mongodb_connection_string
PORT=5000
- Run the Application
# Start the server
cd server && npm start
# Start the client
cd client && npm run dev
- Access the App
Open your browser and go to
http://localhost:5173/
(or the appropriate client port).
- Be respectful to other users.
- No spam, hate speech, or harmful content.
- Do not share personal information.
- Messages are limited to 255 characters.
- Inappropriate content will be filtered.
- Users remain anonymous.
- No personal data is stored.
- Chat messages are stored for 30 days.
- No tracking or analytics.
- Messages are not encrypted.
annoy-group-chat/
│── client/ # Frontend code (React)
│── server/ # Backend code (Node.js, Express, Socket.io)
│── README.md # Documentation
│── .gitignore # Git ignore file
Pull requests are welcome. If you'd like to make major changes, please open an issue first.
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Commit your changes (
git commit -m 'Add new feature'
). - Push to your branch (
git push origin feature-branch
). - Open a pull request.
This project is licensed under the MIT License. Feel free to modify and distribute it as needed.
For any issues or suggestions, feel free to open an issue on GitHub or contact me at dev@devplus.fun
.