Monorepo Structure
Hyperscape is organized as a Turbo monorepo with 7 packages:Package Dependencies
asset-forge is independent and doesn’t depend on other packages.Package Summary
shared
Core 3D engine with ECS, Three.js, PhysX, and networking
server
Game server with Fastify, WebSockets, and database
client
Web client with Vite, React, UI toolkit, and 3D rendering
plugin-hyperscape
ElizaOS integration for AI agents
website
Marketing website with Next.js and Three.js
asset-forge
AI-powered 3D asset generation
Build Order
Due to dependencies, packages must build in order:- physx-js-webidl (5-10 min first time, cached after)
- shared (depends on physx)
- All other packages (depend on shared)
dependsOn: ["^build"].
Package Versions
| Package | Version | Description |
|---|---|---|
@hyperscape/shared | 0.13.0 | Core engine |
@hyperscape/server | 0.13.0 | Game server |
@hyperscape/client | 0.13.0 | Web client (includes UI toolkit) |
@hyperscape/plugin-hyperscape | 1.0.0 | ElizaOS plugin |
@hyperscape/website | 0.13.0 | Marketing website |
3d-asset-forge | 1.0.0 | Asset generation |
Package Commands
Build
Development
Testing
Package Manager
All packages use Bun as the package manager and runtime (v1.1.38+).Workspaces
Defined in rootpackage.json:
Engine Requirements
| Requirement | Version |
|---|---|
| Node.js | ≥22.11.0 |
| Bun | ≥1.1.38 |
License
- Core packages: GPL-3.0-only
- plugin-hyperscape: MIT
- asset-forge: MIT