- React 19 + TypeScript
- Vite
- Konva / react-konva: canvas rendering
- Zustand + zundo: state and undo history
- bwip-js: barcode rendering
- Tailwind CSS v4
- CodeMirror 6: the ZPL source editor
- Tauri: desktop shell
packages/core: domain logic, parser and generator, no Reactpackages/headless: the validate, import, export and patch facade over@zplab/core, without node or MCP importspackages/mcp-server: the MCP server over@zplab/headlesspackages/server: the REST server over@zplab/headlesssrc/: the React app, withlibhelpers,storeUI state andcomponentssrc-tauri/: the desktop shell
The store holds each page as a list of objects plus the imported source. Only changes that affect the emitted ZPL regenerate an object. The rest of the source replays as imported.
Set as environment variables for pnpm build, or as --build-arg for docker build:
VITE_LABELARY_API_URL: the default Labelary endpoint. A user can change it in Settings → App → Preview.VITE_THIRD_PARTY_LABELARY:falsedisables Labelary previews for every userVITE_SERVER_API_URL: the API base of the ZPLab server that serves the build. The designer prints through that server. The Dockerfile sets the value for the server image. It takes no build argument for this variable.VITE_LABELARY_API_KEY: a key for a localpnpm buildonly, never for a published build. The Dockerfile does not accept it.