{"id":51245695,"url":"https://github.com/mist941/b3s23-engine","last_synced_at":"2026-06-29T04:02:34.179Z","repository":{"id":364010474,"uuid":"1265195733","full_name":"mist941/b3s23-engine","owner":"mist941","description":"Conway's Game of Life (B3/S23) simulation engine in Go with a WebSocket streaming API and web UI","archived":false,"fork":false,"pushed_at":"2026-06-11T08:56:10.000Z","size":122,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-11T10:11:10.044Z","etag":null,"topics":["cellular-automata","conways-game-of-life","docker","game-of-life","golang","simulation","typescript"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mist941.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2026-06-10T14:51:53.000Z","updated_at":"2026-06-11T08:55:13.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/mist941/b3s23-engine","commit_stats":null,"previous_names":["mist941/b3s23-engine"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/mist941/b3s23-engine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mist941%2Fb3s23-engine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mist941%2Fb3s23-engine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mist941%2Fb3s23-engine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mist941%2Fb3s23-engine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mist941","download_url":"https://codeload.github.com/mist941/b3s23-engine/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mist941%2Fb3s23-engine/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34912252,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-29T02:00:05.398Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cellular-automata","conways-game-of-life","docker","game-of-life","golang","simulation","typescript"],"created_at":"2026-06-29T04:02:30.904Z","updated_at":"2026-06-29T04:02:34.174Z","avatar_url":"https://github.com/mist941.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# b3s23-engine\n\n[![CI](https://github.com/mist941/b3s23-engine/actions/workflows/ci.yml/badge.svg)](https://github.com/mist941/b3s23-engine/actions/workflows/ci.yml)\n[![Docker Pulls](https://img.shields.io/docker/pulls/mist941/b3s23-engine)](https://hub.docker.com/r/mist941/b3s23-engine)\n[![Docker Image Version](https://img.shields.io/docker/v/mist941/b3s23-engine?sort=semver)](https://hub.docker.com/r/mist941/b3s23-engine/tags)\n[![Image Size](https://img.shields.io/docker/image-size/mist941/b3s23-engine/latest)](https://hub.docker.com/r/mist941/b3s23-engine/tags)\n[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/mist941/b3s23-engine/blob/main/LICENSE)\n\nConway's Game of Life (B3/S23) as a self-contained service: a Go simulation\ncore with a REST + WebSocket streaming API and a React/WebGL2 UI — all shipped\nin a single small distroless container. State lives in SQLite, so the world\nsurvives restarts.\n\n## Demo\n\n![B3S23 Engine — drawing cells, stamping patterns and streaming the live simulation](https://raw.githubusercontent.com/mist941/b3s23-engine/main/docs/demo.gif)\n\n## Features\n\n- **Interactive editing** — draw cells with the mouse (paint, erase, toggle)\n  or stamp classic patterns (glider, LWSS, R-pentomino, acorn, diehard,\n  pulsar, pentadecathlon, Gosper glider gun) with a live ghost preview.\n- **WebGL2 renderer** — bit-packed frames are unpacked on the GPU; smooth pan\n  and zoom even on large grids.\n- **REST + WebSocket API** — full control surface (play/pause/step, reseed,\n  resize, tick rate, cell editing) plus binary frame streaming with\n  per-client backpressure.\n- **Persistent** — the grid is snapshotted to SQLite and restored on restart.\n- **Compact engine** — bit-packed toroidal grid (1 bit per cell) up to\n  16384×16384, stepped in parallel across CPU cores.\n- **Easy to run** — one small distroless Docker image (amd64 + arm64), no\n  configuration required, health check included.\n\n## Run\n\n### Docker\n\n```sh\ndocker run -d --name b3s23 -p 8050:8050 -v b3s23_data:/data mist941/b3s23-engine:latest\n```\n\nOpen \u003chttp://localhost:8050\u003e — the UI and the API are served from the same\nport. The `/data` volume holds the SQLite database (plus its WAL sidecars), so\nthe simulation survives container restarts.\n\n### Docker Compose\n\nClone the repo, then:\n\n```sh\ndocker compose up -d          # pulls the published image\ndocker compose up -d --build  # or build it from source\n```\n\n### From source\n\nEngine (Go ≥ 1.26, no CGO):\n\n```sh\ncd engine\ngo run ./cmd/engined    # API on :8050\ngo test ./...           # -race needs gcc; CI runs it on Linux\n```\n\nUI dev server (Node ≥ 24) with hot reload, proxying `/api` to the engine:\n\n```sh\ncd ui\nnpm install\nnpm run dev\n```\n\nOr serve the built UI straight from the engine binary:\n\n```sh\ncd ui \u0026\u0026 npm install \u0026\u0026 npm run build\ncd ../engine \u0026\u0026 go run ./cmd/engined -static ../ui/dist\n```\n\nRun `engined -help` for all flags (grid size, tick rate, DB path, CORS, …).\n\n## License\n\n[MIT](https://github.com/mist941/b3s23-engine/blob/main/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmist941%2Fb3s23-engine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmist941%2Fb3s23-engine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmist941%2Fb3s23-engine/lists"}