{"id":38730450,"url":"https://github.com/r1tsuu/ts-minecraft","last_synced_at":"2026-01-17T11:25:50.535Z","repository":{"id":331095425,"uuid":"1120338131","full_name":"r1tsuu/ts-minecraft","owner":"r1tsuu","description":"Minecraft Clone with TypeScript / THREE.js","archived":false,"fork":false,"pushed_at":"2026-01-01T19:57:41.000Z","size":3007,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-03T02:28:22.807Z","etag":null,"topics":["game","minecraft-clone","threejs","threejs-example","typescript"],"latest_commit_sha":null,"homepage":"https://r1tsuu.github.io/ts-minecraft/","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/r1tsuu.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-21T01:48:39.000Z","updated_at":"2026-01-01T22:52:26.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/r1tsuu/ts-minecraft","commit_stats":null,"previous_names":["r1tsuu/ts-minecraft"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/r1tsuu/ts-minecraft","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r1tsuu%2Fts-minecraft","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r1tsuu%2Fts-minecraft/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r1tsuu%2Fts-minecraft/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r1tsuu%2Fts-minecraft/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/r1tsuu","download_url":"https://codeload.github.com/r1tsuu/ts-minecraft/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/r1tsuu%2Fts-minecraft/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28507279,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T10:25:30.148Z","status":"ssl_error","status_checked_at":"2026-01-17T10:25:29.718Z","response_time":85,"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":["game","minecraft-clone","threejs","threejs-example","typescript"],"created_at":"2026-01-17T11:25:49.918Z","updated_at":"2026-01-17T11:25:50.525Z","avatar_url":"https://github.com/r1tsuu.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Minecraft Clone with TypeScript, THREE.js\n\n### [Visit](https://r1tsuu.github.io/ts-minecraft/)\n\n## Implemented:\n\n- Partial [ECS pattern](./src/shared/World.ts) without \"components\" - they are stored inside [entities](./src/shared/entities/Entity.ts). New game logic can easily be added with `createSystemFactory`, example - [chunk rendering](./src/client/systems/ChunkRenderingSystem.ts)\n- Client - Server architecture through [Event Bus](./src/shared//MinecraftEventBus.ts), currently the \"server\" is executed via a [web worker](./src/singleplayer/SinglePlayerWorker.ts).\n- Infinite world generation with terrain, trees, caves, ores\n- Chunk rendering via chunk mesh generation - very fast.\n- Movement, collission, raycasting/highlighting, block placement / block removal\n- Simple inventory\n- Created worlds are persisted currently to the [OPFS](./src/singleplayer/PrivateFileSystemWorldStorage.ts)\n\n## TODO:\n\n- Much more stuff\n- Possibly support running the game straight up from Bun without a web browser using C/Rust FFI for OpenGL/GLFW\n\n## Core Utilities\n\nThis project heavily relies on several functional programming utilities:\n\n- **[Maybe.ts](./src/shared/Maybe.ts)** - Optional value type for null safety, eliminating null/undefined checks.\n- **[Pipe.ts](./src/shared/Pipe.ts)** - Functional composition utility for chaining operations\n- **[AsyncPipe.ts](./src/shared/AsyncPipe.ts)** - Asynchronous version of Pipe for handling promises\n- **[HashMap.ts](./src/shared/HashMap.ts)** - Type-safe hash map implementation with functional methods\n\nUsing normal `Map`, `undefined`, or `null` is discouraged in this project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr1tsuu%2Fts-minecraft","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fr1tsuu%2Fts-minecraft","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr1tsuu%2Fts-minecraft/lists"}