Skip to content

GUI Editor

ESP-GSP Studio is a standalone visual editor for ESP-GSP projects. It provides a canvas-based design surface, real-time WASM preview, property inspection, structural editing and agent collaboration.

Choose the Studio version that bundles your project’s compiler and simulator.

ESP-GSP / simulator GSPC Studio
1.12.0 0.13.0 0.15.0
1.11.0 0.12.0 0.14.0
1.10.4 0.11.3 0.13.0

On the Studio 0.15.0 welcome screen, choose Try an Example (试用示例) to edit and simulate a small control panel. Use Save as Project… (另存为项目…) to keep an editable copy.

Use Open Project (打开工程) to open a GSP project directory. Opening only discovers source files and build information; it does not create files, copy resources or migrate sources. The directory can have existing editor metadata under .gsp-editor/, or none at all.

Scene JSON remains directly compilable by GSPC. Resource paths are relative to the original scene file. Editor metadata lives exclusively under .gsp-editor/ and can be removed without affecting native sources.

To try the motion controls, open examples/usage/motion/ in the Studio version that matches your ESP-GSP checkout. To run a compiled .gspb directly, use the standalone simulator.

  • Canvas editing — drag, resize and visually arrange widgets on a design surface. Selection, multi-select and alignment tools are available.
  • Property inspector — edit widget properties in a structured panel. Property origins distinguish local values, styles and themes.
  • Real-time preview — the bundled WASM simulator renders the current scene after each change. Use Simulate / F5 for animation playback.
  • Scene management — create, rename, delete and reorder scenes from tabs. Tab drag or Alt+Left/Right changes the build order.
  • Undo / redo — each scene maintains its own undo history.
  • Auto-save — visual edits are saved after 500 ms of inactivity; pointer gestures save when they finish.
  • External change detection — filesystem changes are reconciled automatically. Conflicts show both versions.
  • Draft recovery — unsaved drafts are preserved under .gsp-editor/drafts/ and offered for recovery on next launch.
  • Component editing — edit shared components in-place, copy to create independent variants, or detach with compiler verification.
  • Asset management — import images, fonts and video with compiler validation. Replacement preserves existing layout dimensions.
  • Export — continue in ESP-IDF, export a rebuildable standalone UI directory, or export precompiled resources for a firmware Bundle.

Each Studio release bundles a matching compiler, schema and WASM runtime for preview and export.

Project settings → Bundled Toolchain (随包工具链) shows the actual versions, platform and verification status. Native project compatibility uses the required compiler version and format/ABI contracts. Unsupported native requirements disable content editing but leave source and recovery accessible.

The bundled toolchain uses configuration ABI 4; see the compatibility contract.

For projects with an existing ESP-IDF build, open project settings → Compilation and Preview (编译与预览配置) and select a build directory and Bundle. The editor discovers contexts through gspc doctor <project> --build <build-dir>. This provides scene order, Profile, component directories, compiler passes and capacity limits.

Without a build context, choose Manual Preview (手动预览配置) to set preview and export options yourself. The toolbar shows the active mode.