{"id":18333056,"url":"https://github.com/abstractolotl/aznopoly-server","last_synced_at":"2026-04-28T11:01:57.255Z","repository":{"id":208604661,"uuid":"722042541","full_name":"Abstractolotl/aznopoly-server","owner":"Abstractolotl","description":"Websocket server for aznopoly","archived":false,"fork":false,"pushed_at":"2024-04-19T06:49:36.000Z","size":54,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T18:56:17.576Z","etag":null,"topics":["bun","typescript","websocket-server"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/Abstractolotl.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":"2023-11-22T10:09:49.000Z","updated_at":"2023-12-19T10:11:09.000Z","dependencies_parsed_at":"2023-11-22T11:29:31.327Z","dependency_job_id":"d73c7309-b4cd-49c5-ba4e-705c8f133767","html_url":"https://github.com/Abstractolotl/aznopoly-server","commit_stats":null,"previous_names":["abstractolotl/aznopoly-server"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Abstractolotl/aznopoly-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abstractolotl%2Faznopoly-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abstractolotl%2Faznopoly-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abstractolotl%2Faznopoly-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abstractolotl%2Faznopoly-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Abstractolotl","download_url":"https://codeload.github.com/Abstractolotl/aznopoly-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Abstractolotl%2Faznopoly-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32377599,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T09:24:15.638Z","status":"ssl_error","status_checked_at":"2026-04-28T09:24:15.071Z","response_time":56,"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":["bun","typescript","websocket-server"],"created_at":"2024-11-05T19:41:06.972Z","updated_at":"2026-04-28T11:01:57.239Z","avatar_url":"https://github.com/Abstractolotl.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aznopoly-server\n\nTo install dependencies:\n\n```bash\nbun install\n```\n\nTo run:\n\n```bash\nbun run start\n```\n\n# Rooms\n\nServer will upgrade all requests which start with /room/[a-z\\d-]{6,} to a websocket request and\nwill subscribe the client to the desired room.\nEvery message sent will automatically be broadcast to room.\n\n# Packets\n\nRoom packets are prefixed with **ROOM_** and e.g. look like this:\n\n```json\n{\n  \"type\": \"ROOM_WELCOME\",\n  \"data\": {\n    \"uuid\": \"\u003cuuid\u003e\",\n    \"room\": {}\n  }\n}\n```\n\nClient packets need to be prefixed with **CLIENT_**, or they will not be broadcast. \u003c/br\u003e\nThe Server will add a sender value to each packet which will we result in something like this:\n\n```json\n{\n  \"type\": \"CLIENT_MOVE\",\n  \"sender\": \"\u003cuuid\u003e\",\n  \"data\": {}\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabstractolotl%2Faznopoly-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabstractolotl%2Faznopoly-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabstractolotl%2Faznopoly-server/lists"}