{"id":20298502,"url":"https://github.com/hashirmeraj/real-time-chat-application","last_synced_at":"2026-01-19T00:03:02.283Z","repository":{"id":256354969,"uuid":"854631938","full_name":"hashirmeraj/real-time-chat-application","owner":"hashirmeraj","description":"This project is a real-time chat application that allows users to create accounts, join chat rooms, or start private conversations. The application uses WebSocket technology to enable instant messaging between users. It also stores all messages in a MySQL database for future reference.","archived":false,"fork":false,"pushed_at":"2024-10-01T07:11:49.000Z","size":3156,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-22T18:50:24.549Z","etag":null,"topics":["css","html","javascript","js","mysql","mysql-database","php","ratchet","ratchet-php-server","realtime-database","realtimechat","realtimechatapp","tailwindcss","websocket"],"latest_commit_sha":null,"homepage":"https://www.linkedin.com/posts/hashir-meraj-dev1_realtimechat-websocket-php-activity-7246537430525235200-zwU7?utm_source=share\u0026utm_medium=member_desktop","language":"PHP","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/hashirmeraj.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-09-09T14:10:53.000Z","updated_at":"2024-10-01T10:53:53.000Z","dependencies_parsed_at":"2024-11-14T16:09:57.230Z","dependency_job_id":"7409a206-555d-4fa8-8bc9-24e9175b5446","html_url":"https://github.com/hashirmeraj/real-time-chat-application","commit_stats":null,"previous_names":["hashirmeraj/prodigy_fs_04","hashirmeraj/real-time-chat-application"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hashirmeraj/real-time-chat-application","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashirmeraj%2Freal-time-chat-application","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashirmeraj%2Freal-time-chat-application/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashirmeraj%2Freal-time-chat-application/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashirmeraj%2Freal-time-chat-application/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hashirmeraj","download_url":"https://codeload.github.com/hashirmeraj/real-time-chat-application/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashirmeraj%2Freal-time-chat-application/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28554368,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T23:48:35.235Z","status":"ssl_error","status_checked_at":"2026-01-18T23:47:49.178Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["css","html","javascript","js","mysql","mysql-database","php","ratchet","ratchet-php-server","realtime-database","realtimechat","realtimechatapp","tailwindcss","websocket"],"created_at":"2024-11-14T16:09:56.697Z","updated_at":"2026-01-19T00:03:02.264Z","avatar_url":"https://github.com/hashirmeraj.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Real-Time Chat Application\n\nThis project is a real-time chat application that allows users to create accounts, join chat rooms, or start private conversations. The application uses WebSocket technology to enable instant messaging between users. It also stores all messages in a MySQL database for future reference.\n\n## Features\n- Create accounts and log in.\n- Join chat rooms or initiate private conversations.\n- Real-time messaging using WebSocket and the Ratchet library.\n- Fully responsive design.\n- All messages stored in a MySQL database.\n\n## Tech Stack\n- **Frontend**: HTML, CSS, Tailwind, JavaScript\n- **Backend**: PHP, MySQL\n- **Real-Time Technology**: WebSocket, Ratchet library\n\n## Installation\n\n### 1. Clone the Repository\n```bash\ngit clone https://github.com/hashirmeraj/real-time-chat-application.git\ncd real-time-chat-application\n```\n\n### 2. Set Up the Database\n- Import the `chat_application.php` file located in `/database` into your MySQL database.\n- You can download the SQL file directly by [clicking here](./database/chat_application.php).\n\n### 3. Configure the Database Connection\n- Open the `config.php` file and set your database credentials.\n\n```php\n$host = 'localhost';\n$db_name = 'chat_application';\n$username = 'root';\n$password = '';\n```\n\n### 4. Start the WebSocket Server\nRun the following command to start the WebSocket server using the Ratchet library:\n\n```bash\nphp path/to/your/server.php\n```\n\n### 5. Launch the Application\n- Open your browser and navigate to `http://localhost/your_project_folder/` to access the application.\n\n## License\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhashirmeraj%2Freal-time-chat-application","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhashirmeraj%2Freal-time-chat-application","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhashirmeraj%2Freal-time-chat-application/lists"}