No description
  • JavaScript 99.8%
  • Shell 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-05-21 18:32:28 +00:00
.github/workflows chore: apply Vite+ formatting 2026-05-21 16:25:02 +00:00
.vscode add vscode search exclude 2025-01-14 23:10:05 +11:00
docs chore: finish vite plus migration cleanup 2026-05-20 23:33:23 +00:00
packages chore: apply Vite+ formatting 2026-05-21 16:25:02 +00:00
scripts fix: avoid client asset route collision 2026-05-21 01:29:40 +00:00
test/integration chore: finish vite plus migration cleanup 2026-05-20 23:33:23 +00:00
.dockerignore fix: update Dockerfile for smaller image, and add graceful shutdown handling 2025-01-30 23:51:53 +01:00
.env.example chore: remove external registry 2026-04-01 03:26:26 -03:00
.eslintignore chore(dev): setup code standards and development tools 2025-01-14 11:24:45 +01:00
.gitignore remove relative imports 2026-04-15 14:54:37 +00:00
.npmrc chore: add vite plus tooling foundation 2026-05-20 22:37:45 +00:00
.nvmrc chore: update Node LTS to 24.15.0 2026-05-20 21:00:25 +00:00
.prettierignore fix: webp extension on server preventing app mount 2025-03-28 12:42:33 +11:00
agent.mjs chore: finish vite plus migration cleanup 2026-05-20 23:33:23 +00:00
DOCKER.md monorepo 2026-04-13 14:18:54 -03:00
Dockerfile chore: finish vite plus migration cleanup 2026-05-20 23:33:23 +00:00
index.d.ts chore: apply Vite+ formatting 2026-05-21 16:25:02 +00:00
index.node-client.d.ts remove relative imports 2026-04-15 14:54:37 +00:00
index.node-client.js fix: npx command wasnt properly starting a game server 2026-01-07 18:27:21 -03:00
index.node.js chore: finish vite plus migration cleanup 2026-05-20 23:33:23 +00:00
LICENSE add license 2025-01-16 13:32:29 +11:00
package.json chore: release 0.3.13 2026-05-21 18:32:24 +00:00
pnpm-lock.yaml chore: address dependency advisories 2026-05-21 16:38:28 +00:00
pnpm-workspace.yaml chore: address dependency advisories 2026-05-21 16:38:28 +00:00
README.md chore: finish vite plus migration cleanup 2026-05-20 23:33:23 +00:00
traefik-dynamic-file.yml chore: finish vite plus migration cleanup 2026-05-20 23:33:23 +00:00
tsconfig.json chore: add vite plus tooling foundation 2026-05-20 22:37:45 +00:00
vite.config.ts chore: finish vite plus migration cleanup 2026-05-20 23:33:23 +00:00

Lobby

Open-source runtime and SDK for persistent multiplayer 3D worlds.

Quick Start

Create a new world project with the gamedev CLI:

mkdir my-lobby-world
cd my-lobby-world
npx gamedev init
vp install
vp run dev

Then open http://localhost:3000.

What vp run dev does:

  • Requires Node.js 24.15.0 (latest LTS).
  • Starts a local world server when WORLD_URL points to localhost.
  • Runs app-server sync so local edits deploy to the world in seconds.
  • Auto-creates .env with local defaults if one does not exist yet.

Lobby Runtime and SDK

This repository powers the gamedev package and CLI used to scaffold, run, sync, and deploy Lobby world projects.

What You Get

  • Persistent self-hosted world runtime (multiplayer, physics, WebXR).
  • Multi-file app scripting with live sync via app-server.
  • World project structure with apps/, assets/, shared/, and world.json.
  • App deploys, rollback snapshots, and sync conflict resolution tools.

Core CLI Commands

gamedev init
gamedev dev
gamedev app-server
gamedev apps deploy <app>
gamedev world export
gamedev world import

Run gamedev help for the full command list.

Documentation

Developing This Repository

If you are working on the runtime/SDK itself (not just a world project):

vp install
cp .env.example .env
vp run dev

Workspace packages live under packages/:

  • packages/client browser runtime and assets
  • packages/server runtime server
  • packages/cli gamedev CLI
  • packages/app-server sync/deploy service
  • packages/core shared runtime code
  • packages/node-client headless client

Useful commands:

vp run build
vp run test
vp run lint

Contributing

See CONTRIBUTING.md and CODE_OF_CONDUCT.md.