Work

Chunki

A shared 3D world you build block by block, with everyone's changes showing up in real time.

Status
Live
Platform
Web (WebGL)
Built with
Solid.js, Three.js, Go, WebSockets, MongoDB, Redis

What it is

A collaborative voxel canvas. Explore the main world, start one of your own and watch other players build next to you as it happens. Sign in with X or Discord, or just play anonymously.

How it works

place a block → WebSocket → validate and batch → broadcast to that chunk

The Solid.js and Three.js client renders the world in WebGL. A Go server checks every placement against cooldowns and world limits, keeps hot chunks in Redis and an in-memory LRU cache with RLE compression, and flushes them to MongoDB.

Details

  • Updates are batched per chunk for 50 ms before they are broadcast.
  • Placement uses token-bucket cooldowns in Redis; the API is rate limited per IP.
  • Chat is filtered on the server against a curated blocklist.
  • Each world gets a share card rendered with headless Chromium.
Próximo projetoTenuo