{"id":23428468,"url":"https://github.com/giauphan/websocket","last_synced_at":"2026-04-12T09:49:18.137Z","repository":{"id":198603372,"uuid":"700248601","full_name":"giauphan/websocket","owner":"giauphan","description":"web-chat app using Ably Broadcaster+Echo based on laravel.","archived":false,"fork":false,"pushed_at":"2023-12-01T01:59:03.000Z","size":851,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T13:19:09.669Z","etag":null,"topics":["laravel","laravelwebsocket","php","websocket","websocket-chat"],"latest_commit_sha":null,"homepage":"https://github.com/giauphan/websocket","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/giauphan.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}},"created_at":"2023-10-04T08:29:41.000Z","updated_at":"2023-10-11T02:37:23.000Z","dependencies_parsed_at":"2023-11-08T10:39:03.229Z","dependency_job_id":null,"html_url":"https://github.com/giauphan/websocket","commit_stats":null,"previous_names":["giauphan/websocket"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/giauphan/websocket","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giauphan%2Fwebsocket","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giauphan%2Fwebsocket/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giauphan%2Fwebsocket/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giauphan%2Fwebsocket/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/giauphan","download_url":"https://codeload.github.com/giauphan/websocket/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giauphan%2Fwebsocket/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31710792,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-12T06:22:27.080Z","status":"ssl_error","status_checked_at":"2026-04-12T06:21:52.710Z","response_time":58,"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":["laravel","laravelwebsocket","php","websocket","websocket-chat"],"created_at":"2024-12-23T07:12:44.553Z","updated_at":"2026-04-12T09:49:18.107Z","avatar_url":"https://github.com/giauphan.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Chat app using Ably Broadcaster+Echo\n\nDemo web-chat app using Ably Broadcaster+Echo based on laravel.\n\n## Features\n\n* Public chat rooms for a guest user.\n* Laravel built-in user authentication (registration + login).\n* Private chat rooms with presence for authenticated users.\n* Typing indicator for private rooms.\n* Join multiple rooms simultaneously.\n\n## Requirements\n\n1. PHP version \u003e= 8.0\n2. Node.js \u003e= 18.x.x.\n\n## SETUP\n\n1. Clone the repository\n```\ngit clone https://github.com/giauphan/websocket.git websocket\ncd websocket\n```\n\n2. Create the .env file in the project root. Copy contents from .env.example into .env.\n3. Set [ABLY_KEY](https://faqs.ably.com/setting-up-and-managing-api-keys) in .env file .\n```\nABLY_KEY=ROOT_API_KEY_COPIED_FROM_ABLY_WEB_DASHBOARD\nABLY_DISABLE_PUBLIC_CHANNELS=false\nABLY_TOKEN_EXPIRY=3600\nABLY_SYNC_SERVER_TIME=false\n```\n\n4. Install dependencies.\n```\ncomposer install\nnpm i \n```\n\n5. Create simple sqlite db file.\n ```\n  touch database/database.sqlite // On linux\n  New-Item database\\\\database.sqlite -type file // On windows poweshell\n ```\n\n6. Set DB_DATABASE in .env file . \n```\nDB_DATABASE=/Path/to/database/db.sqlite\n```\n\n7. Generate application encryption key.\n```\n  php artisan key:generate\n```\n\n8. Run all of db migrations.\n```\nphp artisan migrate\n```\n\n9. Start  server.\n```\nphp artisan serve\n\nnpm run dev\n```\n\n10. Access the web app via http://127.0.0.1:8000.\n\n## Screenshots\n\n**Public room**\n\n\u003cimg src=\"doc/images/roomchat.png\" alt=\" room chat example\"\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiauphan%2Fwebsocket","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgiauphan%2Fwebsocket","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiauphan%2Fwebsocket/lists"}