{"id":24859645,"url":"https://github.com/riman7/live-chat","last_synced_at":"2026-04-09T01:31:09.908Z","repository":{"id":273682058,"uuid":"920209772","full_name":"riman7/live-chat","owner":"riman7","description":"Live chat using Node, Express, Socket, Mongod and, (HTML, CSS)","archived":false,"fork":false,"pushed_at":"2025-01-30T13:18:13.000Z","size":4281,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-03T16:23:00.136Z","etag":null,"topics":["ejs","expressjs","live-chat","mongoose","multer","nodejs","real-time-chat","socket-io","web-app","websocket"],"latest_commit_sha":null,"homepage":"https://livechat.riman.com.np/","language":"EJS","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/riman7.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-01-21T18:50:32.000Z","updated_at":"2025-02-09T15:39:05.000Z","dependencies_parsed_at":"2025-03-26T16:21:49.706Z","dependency_job_id":"98ebcdac-f7dc-41e7-a19d-79a69fa180a5","html_url":"https://github.com/riman7/live-chat","commit_stats":null,"previous_names":["riman7/live-chat"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/riman7/live-chat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riman7%2Flive-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riman7%2Flive-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riman7%2Flive-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riman7%2Flive-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/riman7","download_url":"https://codeload.github.com/riman7/live-chat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riman7%2Flive-chat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31581864,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["ejs","expressjs","live-chat","mongoose","multer","nodejs","real-time-chat","socket-io","web-app","websocket"],"created_at":"2025-01-31T20:59:21.633Z","updated_at":"2026-04-09T01:31:09.881Z","avatar_url":"https://github.com/riman7.png","language":"EJS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Live Chat App\n\nThis is a real-time chat application built using **Node.js**, **Express.js**, **Socket.IO**, and **jQuery**. The main objective of this project was to focus on backend development and Socket.IO integration. For the frontend, AI tools such as ChatGPT and DeepSeek were used to speed up the design and implementation process.\n\n---\n\n## Features\n\n- **Real-Time Messaging**: Instant communication using WebSocket technology.\n- **User Status Tracking**:\n  - Displays whether users are online or offline.\n  - Updates dynamically as users connect or disconnect.\n- **Friend List**: Shows a dynamic list of friends with profile pictures and statuses.\n- **Persistent Chat History**: Loads chat history for selected users from the server.\n- **Auto-Scroll**: Automatically scrolls to the latest message in the chat window.\n\n---\n\n## Tools and Technologies\n\n### Backend:\n- **Node.js**: Runtime environment for server-side JavaScript.\n- **Express.js**: Framework for backend routing and logic.\n   - Middlewares: body-parser, multer (used for uploading files.), express session, dotenv\n- **Socket.IO**: WebSocket library for real-time data transfer.\n- **EJS**: Templating engine for rendering dynamic HTML pages.\n- **MongoDB** (or your preferred database): Used to store user and chat data.\n\n### Frontend:\n- **jQuery**: For AJAX requests and DOM manipulation.\n- **CSS**: Custom styles for UI components.\n\n---\n\n## Acknowledgments\n\nSince the primary focus of this project was backend development and WebSocket integration, AI tools were utilized to streamline frontend development.  \nSpecial thanks to:\n- **ChatGPT** for providing frontend code suggestions and guidance.\n- **DeepSeek** for offering additional insights and improvements.\n\nFor backend development, I referred to tutorials by the **Programming Experience** YouTube channel, which were instrumental in understanding and implementing the core functionalities of the application.\n\n---\n\n## Installation and Setup\n\n1. **Clone the repository**:\n```bash\ngit clone https://github.com/your-username/chat-app.git\ncd chat-app\n```\n2. Install dependencies:\n\n```bash\nnpm install\n```\n3. Configure environment variables:\n- Create a .env file in the root directory.\n- Add the following variables:\n\n```makefile\nPORT=3000\nDATABASE_URL=your-database-connection-string\n```\nReplace your-database-connection-string with your actual database connection string.\nRun the server:\n\n```bash\nnpm start\n```\n\nThe application will run at http://localhost:3000.\n\n5. Use the app:\n- Open the app in your browser.\n- register\n- Log in with a valid user account and select a friend to start chatting in real time.\n\n---\n\n## Future Improvements\nResponsive Design: Improve the UI for mobile and tablet devices.\n- Authentication: Add secure login and registration features.\n- Typing Indicators: Show when the other user is typing.\n- Media Sharing: Enable users to send images and documents.\n- Push Notifications: Notify users of new messages in real time.\n\n---\n\n## License\nThis project is open-source and available under the MIT License.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Friman7%2Flive-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Friman7%2Flive-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Friman7%2Flive-chat/lists"}