Repolode
pascalorg

pascalorg/editor

Open-source, local-first 3D building editor built on React Three Fiber and WebGPU, usable in the browser or from a CLI with MCP tools for AI agents.

Open-source alternative to:SketchUpAutodesk Revit

Stars
24,990
Forks
3,107
Open issues
61
Last commit
4 hours ago

What is it?

Pascal Editor is a 3D building editor for designing floor plans, walls, slabs, roofs, zones and furniture. The scene is organized as a hierarchy from site to building to level, and nodes are stored in a flat dictionary with undo and redo. It runs in the browser on React Three Fiber and WebGPU, and state persists locally in IndexedDB.

The project can be started locally with a single npx command from the @pascal-app/cli package, which launches the editor and an authenticated MCP service and stores projects in a local SQLite database. A Docker image is also available for self-hosting with a single admin password. Its packages (core, viewer, editor, nodes) can be embedded in other React applications.

For AI workflows, the repository provides MCP server tools and agent skills for Claude Code, Codex and skills.sh, letting agents inspect and modify the scene. The monorepo is built with Turborepo and written in TypeScript.

Key features

  • 01Edit walls, slabs, roofs, zones and furniture in a 3D building scene.
  • 02Run in the browser or start locally through the @pascal-app/cli package.
  • 03Expose scene tools and storage to AI agents through an MCP server.
  • 04Store projects locally in SQLite, or self-host with a Docker image.
  • 05Provide undo and redo with a 50-step history.
  • 06Embed viewer and editor packages in React applications.

Use cases

  • Sketching floor plans and building layouts in a browser-based 3D editor.
  • Letting AI agents read and modify architectural scenes through MCP.
  • Self-hosting a shared building editor for a team or organization.
  • Embedding a 3D building viewer or editor into a React product.

Quick start

  1. 1

    Run the editor locally with the CLI (needs Node.js 22.13 or newer)

    npx @pascal-app/cli editor
  2. 2

    Self-host with Docker, setting an admin password and public URL

    docker run -d -p 3000:3000 -v pascal-data:/data -e PASCAL_ADMIN_PASSWORD=change-me -e PASCAL_PUBLIC_URL=https://pascal.example.com ghcr.io/pascalorg/pascal-editor:latest

Things to know

  • The web editor runtime is downloaded on first start, so the first run needs network access.
  • Self-hosting requires configuring Docker, volumes, and environment variables such as the admin password.

Topics

FAQ

What is editor?
Open-source, local-first 3D building editor built on React Three Fiber and WebGPU, usable in the browser or from a CLI with MCP tools for AI agents. Pascal Editor is a 3D building editor for designing floor plans, walls, slabs, roofs, zones and furniture. The scene is organized as a hierarchy from site to building to level, and nodes are stored in a flat dictionary with undo and redo. It runs in the browser on React Three Fiber and WebGPU, and state persists locally in IndexedDB.
Is editor free to use? What license does it have?
editor is open source under the MIT license. Check the license terms before using it in commercial products.
Is editor still maintained?
Actively maintained. The last commit to editor was on Oct 20, 2026.
What can I use editor for?
Sketching floor plans and building layouts in a browser-based 3D editor. Letting AI agents read and modify architectural scenes through MCP. Self-hosting a shared building editor for a team or organization. Embedding a 3D building viewer or editor into a React product.
How do I install editor?
Run the editor locally with the CLI (needs Node.js 22.13 or newer): npx @pascal-app/cli editor Self-host with Docker, setting an admin password and public URL: docker run -d -p 3000:3000 -v pascal-data:/data -e PASCAL_ADMIN_PASSWORD=change-me -e PASCAL_PUBLIC_URL=https://pascal.example.com ghcr.io/pascalorg/pascal-editor:latest
Where can I get editor?
The source code and installation instructions are on GitHub: https://github.com/pascalorg/editor

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects