A webspace is a website whose pages can be 3D worlds you walk into with other people, made of plain HTML.
This repository is a complete one: a single world in index.html.
- Click Use this template → Create a new repository (top of this page).
- In your new repo: Settings → Pages → Build and deployment → Deploy from a branch →
main/ root → Save. - Wait a minute, then open
https://<you>.github.io/<repo>/. You're standing in your world. Send the link to a friend: they'll be there with you, with voice.
To edit it in the world and have your changes saved back to the repo, click Save Changes in the world and connect it to GitHub with a fine-grained token limited to this repository (Contents: read & write).
Download this repository, open index.html in Chrome, and allow folder access when asked. Edits you make in
the world are saved straight into the file.
Open index.html. It's short and commented:
<meta>tags set the terrain, palette, and spawn point.- Every element in
<body>is an object:<img>,<video>,<model src="thing.svox|thing.glb|scan.spz">,<label>text, emoji<div>s.style="transform: translate3d(x, y, z)"places it, in centimeters (y is up). - A
<script>can move things, react to clicks, and share state with everyone present, using only the DOM and a tinywindow.webspaceAPI.
The full reference, written for people and AI agents alike: https://webspaces.space/llms.txt
This repo includes AGENTS.md and a Claude Code skill in .claude/skills/webspace.
Open the folder in Claude Code (or Cursor, Codex, etc.) and ask for what you want:
"Turn this into a moonlit koi pond: dark water, lanterns floating over it that drift slowly, and koi made of smooth voxels. Clicking a lantern lights it up for everyone."
- Worlds to read and remix: https://webspaces.space/showcase/
- Engine: https://github.com/webspace-sdk/webspace-engine
