{"id":18144816,"url":"https://github.com/arunishrajput/ar-chat-app","last_synced_at":"2026-04-15T05:32:00.396Z","repository":{"id":259193063,"uuid":"876044843","full_name":"arunishrajput/AR-Chat-App","owner":"arunishrajput","description":"Real-time chat application using Node.js and Socket.IO with secure configuration.","archived":false,"fork":false,"pushed_at":"2024-10-24T08:09:42.000Z","size":531,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T02:23:09.640Z","etag":null,"topics":["backend","chat-application","css","frontend","html","java","nodejs","real-time-chat","render","socket-io","vercel","websocket"],"latest_commit_sha":null,"homepage":"https://ar-chat-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/arunishrajput.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":"2024-10-21T10:00:55.000Z","updated_at":"2024-10-24T08:09:45.000Z","dependencies_parsed_at":"2024-12-20T07:43:10.550Z","dependency_job_id":"d75b5bb1-01b5-4e41-8fc3-13965cec1153","html_url":"https://github.com/arunishrajput/AR-Chat-App","commit_stats":null,"previous_names":["arunishrajput/ar-chat-app"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arunishrajput%2FAR-Chat-App","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arunishrajput%2FAR-Chat-App/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arunishrajput%2FAR-Chat-App/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arunishrajput%2FAR-Chat-App/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arunishrajput","download_url":"https://codeload.github.com/arunishrajput/AR-Chat-App/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247544201,"owners_count":20955961,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["backend","chat-application","css","frontend","html","java","nodejs","real-time-chat","render","socket-io","vercel","websocket"],"created_at":"2024-11-01T20:06:18.032Z","updated_at":"2026-04-15T05:32:00.354Z","avatar_url":"https://github.com/arunishrajput.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AR Chat App\n\nAR Chat App is a real-time chat application that enables users to communicate through text messages. It leverages Socket.IO for real-time communication and is built with plain JavaScript on the client side.\n\n## Features\n\n-   Real-time messaging using Socket.IO\n-   User identification with customizable usernames\n-   Timestamped messages for better context\n-   Audio alerts for different chat events\n-   Online users list\n-   \"typing...\" indicator\n\n## Deployed Application\n\nYou can try out the AR Chat App without setting it up yourself! Access the live version at: [AR-Chat-App.vercel.app](https://ar-chat-app.vercel.app/)\n\n(Frontend deployed on [Vercel](https://vercel.app/) and backend deployed on [Render](https://dashboard.render.com/))\n\n## Prerequisites\n\n-   Node.js (version 14 or higher)\n-   A modern web browser\n-   An internet connection\n\n## Installation\n\n1. **Clone the repository:**\n\n    ```bash\n    git clone https://github.com/arunishrajput/ar-chat-app.git\n    cd ar-chat-app\n    ```\n\n2. **Install dependencies:**\n\n    ```bash\n    npm install\n    ```\n\n3. **Set up environment variables for `nodeServer`:**\n\n    Create a `.env` file in the `nodeServer` folder of your project and add the following line, replacing `PORT_No`, `CLIENT_1_URL` and/or `CLIENT_2_URL` with your port no and actual client URLs you want to allow:\n\n    ```bash\n    PORT=PORT_No //example:8000\n    CLIENT_1_URL=CLIENT_1_URL\n    CLIENT_2_URL=CLIENT_2_URL\n    ```\n\n4. **Update the client-side code:**\n\n    \u003e **Note:** To get your `SOCKET SERVER URL`, you have to do [5th Step (Run the Server)](https://github.com/arunishrajput/AR-Chat-App?tab=readme-ov-file#:~:text=Run%20the%20application%3A)\n\n    - **Update `client.js`:** In your client JavaScript file (`client.js`), modify the Socket.IO initialization URL with your actual SOCKET SERVER URL. Change the following line:\n        ```bash\n        const socket = io(\"https://ar-chat-app-h1pj.onrender.com/\"); // SOCKET SERVER URL\n        ```\n        To\n        ```bash\n        const socket = io(\"YOUR_SOCKET_SERVER_URL\"); // SOCKET SERVER URL\n        ```\n        Replace YOUR_SOCKET_SERVER_URL with your actual SOCKET SERVER URL.\n    - **Change the Socket.IO script source in `index.html`:** In your HTML file (`index.html`), update the Socket.IO script source to use the actual SOCKET SERVER URL. Change the following line:\n        ```bash\n        \u003cscript defer src=\"https://ar-chat-app-h1pj.onrender.com/socket.io/socket.io.js\"\u003e\u003c/script\u003e \u003c!-- SOCKET SERVER URL --\u003e\n        ```\n        To\n        ```bash\n        \u003cscript defer src=\"YOUR_SOCKET_SERVER_URL/socket.io/socket.io.js\"\u003e\u003c/script\u003e \u003c!-- SOCKET SERVER URL --\u003e\n        ```\n        Replace YOUR_SOCKET_SERVER_URL with your actual SOCKET SERVER URL.\n\n5. **Run the application:**\n\n    Start the server and get your `SOCKET SERVER URL`:\n\n    ```bash\n    node index.js\n    ```\n\n## Usage\n\n1. Open the chat application in your browser.\n2. Enter a username when prompted.\n3. Start chatting with other users!\n\n## Audio Notifications\n\nThe application includes audio notifications for different events:\n\n-   Join sound when a new user joins the chat\n-   Send sound when a message is sent\n-   Receive sound when a message is received\n-   Left sound when a user leaves the chat\n\n## Contribution\n\n-   Feel free to fork this repository, create a feature branch, and submit a pull request. Contributions, issues, and feature requests are welcome!\n\n## Acknowledgments\n\n-   [Socket.IO](https://socket.io/)\n-   [Node.js](https://nodejs.org/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farunishrajput%2Far-chat-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farunishrajput%2Far-chat-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farunishrajput%2Far-chat-app/lists"}