{"id":34999845,"url":"https://github.com/bedrock-ws/bedrockws-deno","last_synced_at":"2026-05-19T12:31:40.282Z","repository":{"id":304171930,"uuid":"1015718344","full_name":"bedrock-ws/bedrockws-deno","owner":"bedrock-ws","description":"MCBE WebSocket implementation in Deno (TypeScript/JavaScript)","archived":false,"fork":false,"pushed_at":"2026-04-30T09:32:16.000Z","size":1720,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-30T11:22:29.646Z","etag":null,"topics":["mcbe","minecraft","minecraft-bedrock","websocket"],"latest_commit_sha":null,"homepage":"https://jsr.io/@bedrock-ws","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bedrock-ws.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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-07-08T00:01:39.000Z","updated_at":"2026-04-30T09:32:20.000Z","dependencies_parsed_at":"2025-07-11T15:04:36.383Z","dependency_job_id":"5e39ec42-9f4d-4095-82d1-baf1c53e1a18","html_url":"https://github.com/bedrock-ws/bedrockws-deno","commit_stats":null,"previous_names":["bedrock-ws/bedrockws-deno"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bedrock-ws/bedrockws-deno","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bedrock-ws%2Fbedrockws-deno","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bedrock-ws%2Fbedrockws-deno/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bedrock-ws%2Fbedrockws-deno/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bedrock-ws%2Fbedrockws-deno/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bedrock-ws","download_url":"https://codeload.github.com/bedrock-ws/bedrockws-deno/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bedrock-ws%2Fbedrockws-deno/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33216512,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-19T07:54:09.561Z","status":"ssl_error","status_checked_at":"2026-05-19T07:54:08.508Z","response_time":58,"last_error":"SSL_read: 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":["mcbe","minecraft","minecraft-bedrock","websocket"],"created_at":"2025-12-27T03:26:46.194Z","updated_at":"2026-05-19T12:31:40.265Z","avatar_url":"https://github.com/bedrock-ws.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg align=\"center\" width=\"50%\" src=\"https://raw.githubusercontent.com/bedrock-ws/bedrockws-deno/refs/heads/main/assets/bedrockws-hybrid2-iso.png\" /\u003e\n    \u003ch1 align=\"center\"\u003eMCBE WebSocket Server\u003c/h1\u003e\n    \u003cp align=\"center\"\u003eA Minecraft: Bedrock Edition WebSocket implementation in Deno/TypeScript.\u003c/p\u003e\n\u003c/p\u003e\n\n\u003e [!WARNING]\n\u003e `@bedrock-ws/bedrockws` and `@bedrock-ws/schema` are still in beta release.\n\n```typescript\nimport { consts, Server } from \"@bedrock-ws/bedrockws\";\n\nconst server = new Server();\n\nserver.on(\"PlayerMessage\", (event) =\u003e {\n  const { client, data } = event;\n  if ((Object.values(consts.names) as string[]).includes(data.sender)) {\n    // don't react on messages sent by the server\n    return;\n  }\n  client.run(`say ${data.message}`);\n});\n```\n\n```typescript\nimport { Bot, floatParamType } from \"@bedrock-ws/bot\";\nimport type { Command, CommandArgument, CommandOrigin } from \"@bedrock-ws/bot\";\n\nconst sinCommand: Command = {\n  name: \"sin\",\n  description: \"Calculates the sine\",\n  mandatoryParameters: [\n    { type: floatParamType, name: \"number\" },\n  ],\n  examples: [{\n    description: \"Calculate the sine of 1\",\n    args: [\"1\"],\n  }],\n};\n\nbot.cmd(sinCommand, (origin: CommandOrigin, ...args: CommandArgument[]) =\u003e {\n  const { client } = origin;\n  const n = args.shift() as number;\n  client.sendMessage(`sin(${n}) = ${Math.sin(n)}`);\n});\n```\n\n## Features\n\n- **Markup**\n  ```typescript\n  import { style } from \"@bedrock-ws/ui\";\n  assertEquals(style`\u003cred\u003eA\u003cbold\u003eB\u003c/bold\u003eC\u003c/red\u003e`, \"§cA§lB§r§cC§r\");\n  ```\n- **Pretty help command out of the box**\n  ![Help command output](./assets/help_output.jpg)\n- ... and more\n\n## Examples\n\nYou can configure the host and port in the `.env` file. See also\n\u003chttps://docs.deno.com/runtime/reference/env_variables/\u003e.\n\n```console\ndeno run --env-file=.env -A src/bedrockws/examples/echo.ts\n```\n\n## Logging/Telemetry\n\nSet the environment variable `BEDROCKWS_DENO_TELEMETRY` to `1` to enable\nlogging. Messages received from the Minecraft client(s) will be stored in\n`.cache/bedrockws-deno` in your home directory.\n\n## References\n\n- \u003chttps://gist.github.com/jocopa3/5f718f4198f1ea91a37e3a9da468675c\u003e\n- \u003chttps://github.com/Sandertv/mcwss/tree/master\u003e\n- \u003chttps://www.s-anand.net/blog/programming-minecraft-with-websockets/\u003e\n\n## License\n\n`bedrockws-deno` is licensed under Apache 2.0 with exceptions of `src/mapart`\nand `src/ui` which are licensed under MIT. Further information can be found in\nthe license files of the subdirectories accordingly.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbedrock-ws%2Fbedrockws-deno","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbedrock-ws%2Fbedrockws-deno","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbedrock-ws%2Fbedrockws-deno/lists"}