{"id":25759484,"url":"https://github.com/mahmud-r-farhan/anonychat","last_synced_at":"2026-04-14T05:33:51.045Z","repository":{"id":279287302,"uuid":"938221271","full_name":"mahmud-r-farhan/AnonyChat","owner":"mahmud-r-farhan","description":"A real-time anonymous group chat application with modern UI and privacy features.","archived":false,"fork":false,"pushed_at":"2025-04-16T00:22:22.000Z","size":160,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-16T01:18:59.430Z","etag":null,"topics":["chat-application","mern-stack","message-app","mongodb","nodejs","reactjs","realtime-chat","web-application","websocket"],"latest_commit_sha":null,"homepage":"https://anonychat-app.vercel.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mahmud-r-farhan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-24T16:00:49.000Z","updated_at":"2025-04-16T00:04:14.000Z","dependencies_parsed_at":"2025-02-24T20:23:09.076Z","dependency_job_id":null,"html_url":"https://github.com/mahmud-r-farhan/AnonyChat","commit_stats":null,"previous_names":["mahmud-r-farhan/anonychat"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mahmud-r-farhan/AnonyChat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahmud-r-farhan%2FAnonyChat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahmud-r-farhan%2FAnonyChat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahmud-r-farhan%2FAnonyChat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahmud-r-farhan%2FAnonyChat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mahmud-r-farhan","download_url":"https://codeload.github.com/mahmud-r-farhan/AnonyChat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mahmud-r-farhan%2FAnonyChat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31784253,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T02:24:21.117Z","status":"ssl_error","status_checked_at":"2026-04-14T02:24:20.627Z","response_time":153,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chat-application","mern-stack","message-app","mongodb","nodejs","reactjs","realtime-chat","web-application","websocket"],"created_at":"2025-02-26T17:34:14.412Z","updated_at":"2026-04-14T05:33:51.027Z","avatar_url":"https://github.com/mahmud-r-farhan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Annoy Group Chat Application\n\nA real-time anonymous group chat application with a modern, responsive UI, privacy-focused design, and dynamic background customization.\n\n## Features\n\n- **Real-time Messaging**: Powered by Socket.io for instant message delivery and updates.\n- **Anonymous User Profiles**: Automatically generates random usernames and avatars using DiceBear API, ensuring user anonymity.\n- **Dynamic Backgrounds**: Offers customizable backgrounds with a mix of curated static images and dynamic fetching from the Unsplash API for virtually unlimited options.\n- **Collapsible Active Users Sidebar**: Displays online users with avatars and status indicators, toggleable on both mobile and desktop for a streamlined experience.\n- **Typing Indicators**: Shows when other users are typing, enhancing real-time interaction.\n- **Message Persistence**: Stores chat history in MongoDB with date-based grouping (e.g., \"Today,\" \"Yesterday\") for easy navigation.\n- **Spam Protection**: Enforces a 255-character limit per message and validates content to prevent spam or harmful messages.\n- **Modern UI**: Responsive design with left/right message bubbles, TailwindCSS styling, and smooth animations via Framer Motion.\n- **Emoji Support**: Integrated emoji picker for expressive messaging.\n- **Infinite Scroll**: Loads older messages on demand with a smooth scrolling experience.\n- **Community Guidelines**: Displays rules on first use to promote respectful interactions.\n- **Timestamps**: Messages include formatted timestamps (e.g., \"3:45 PM\") for clarity.\n- **Privacy Focused**: No personal data collection, anonymous user IDs, and messages stored for only 30 days.\n- **Error Handling**: Displays temporary error messages for connection issues or invalid inputs without disrupting the chat.\n- **Notification Sounds**: Plays a subtle sound for incoming messages from other users.\n- **Background Cycling**: Allows users to cycle through backgrounds with a single click, enhancing personalization.\n\n## Tech Stack\n\n### Frontend\n- **React**: Component-based UI with hooks for state management.\n- **Vite**: Fast build tool for development and production.\n- **TailwindCSS**: Utility-first CSS for responsive styling.\n- **Socket.io-client**: Real-time communication with the server.\n- **Framer Motion**: Smooth animations for UI elements (e.g., sidebar, messages).\n- **Emoji Picker React**: Emoji selection for messages.\n- **date-fns**: Date formatting for message timestamps.\n\n### Backend\n- **Node.js**: Server-side runtime environment.\n- **Express**: Web framework for API endpoints.\n- **Socket.io**: Real-time WebSocket communication.\n- **MongoDB**: NoSQL database for message persistence.\n\n### Database\n- **MongoDB**: Stores chat messages and user sessions with a 30-day retention policy.\n\n## Installation \u0026 Setup\n\n### Prerequisites\nEnsure you have the following installed:\n- [Node.js](https://nodejs.org/) (v16 or higher recommended)\n- [MongoDB](https://www.mongodb.com/) (local or Atlas)\n- npm or yarn\n\n### Getting Started\n\n1. **Clone the Repository**\n   \n   ```bash\n   \n\t git clone https://github.com/mahmud-r-farhan/AnonyChat\n     cd AnonyChat ```\n\n\n\n2.  **Install Dependencies**\n   \n    \n    ```bash\n    cd server \u0026\u0026 npm install\n    cd ../client \u0026\u0026 npm install\n    ```\n    \n3.  Create Environment Variables\n    \n    -   In the server directory, create a .env file:\n        \n        env\n        \n        ```text\n        MONGO_URI=your_mongodb_connection_string\n        PORT=5007\n        ```\n        \n    -   In the client directory, create a .env file:\n        \n        env\n        \n        ```text\n        VITE_API_URL=http://localhost:5007\n        ```\n        \n            \n        -   Use MongoDB Atlas or a local MongoDB instance for MONGO_URI.\n            \n4.  Run the Application\n    \n    bash\n    \n    ```bash\n    # Start the server\n    cd server \u0026\u0026 npm start\n    \n    # Start the client (in a new terminal)\n    cd client \u0026\u0026 npm run dev\n    ```\n    \n5.  Access the App Open your browser and go to http://localhost:5173/ (or the port shown in the client terminal).\n\n\n## **License**\n\nThis project is licensed under the MIT License (LICENSE). Feel free to use, modify, and distribute it as needed.\n\n## Contact\n\nFor issues, suggestions, or questions, open an issue on GitHub or contact me at dev@devplus.fun.\n\n----------","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmahmud-r-farhan%2Fanonychat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmahmud-r-farhan%2Fanonychat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmahmud-r-farhan%2Fanonychat/lists"}