[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-74840":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":23,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":46,"readmeContent":47,"aiSummary":48,"trendingCount":16,"starSnapshotCount":16,"syncStatus":49,"lastSyncTime":50,"discoverSource":51},74840,"openpencil","ZSeven-W\u002Fopenpencil","ZSeven-W","The world's first open-source AI-native vector design tool and the first to feature concurrent Agent Teams. Design-as-Code. Turn prompts into UI directly on the live canvas. A modern alternative to Pencil.","https:\u002F\u002Fop.zseven.tech",null,"TypeScript",3317,337,35,11,0,17,57,117,51,109.59,"MIT License",false,"main",true,[27,28,29,30,31,32,33,34,35,36,37,5,38,39,40,41,42,43,44,45],"agent","agent-team","ai","claude","claude-code","codex","fimga","flutter","html","mcp","opencode","pencil","react","react-native","svelte","ui","vibecoding","vibedesign","vue","2026-06-12 04:01:16","\u003Cp align=\"center\">\n  \u003Cimg src=\".\u002Fapps\u002Fdesktop\u002Fbuild\u002Ficon.png\" alt=\"OpenPencil\" width=\"120\" \u002F>\n\u003C\u002Fp>\n\n\u003Ch1 align=\"center\">OpenPencil\u003C\u002Fh1>\n\n\u003Cp align=\"center\">\n  \u003Cstrong>The world's first open-source AI-native vector design tool.\u003C\u002Fstrong>\u003Cbr \u002F>\n  \u003Csub>Concurrent Agent Teams &bull; Design-as-Code &bull; Built-in MCP Server &bull; Multi-model Intelligence\u003C\u002Fsub>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\".\u002FREADME.md\">\u003Cb>English\u003C\u002Fb>\u003C\u002Fa> · \u003Ca href=\".\u002FREADME.zh.md\">简体中文\u003C\u002Fa> · \u003Ca href=\".\u002FREADME.zh-TW.md\">繁體中文\u003C\u002Fa> · \u003Ca href=\".\u002FREADME.ja.md\">日本語\u003C\u002Fa> · \u003Ca href=\".\u002FREADME.ko.md\">한국어\u003C\u002Fa> · \u003Ca href=\".\u002FREADME.fr.md\">Français\u003C\u002Fa> · \u003Ca href=\".\u002FREADME.es.md\">Español\u003C\u002Fa> · \u003Ca href=\".\u002FREADME.de.md\">Deutsch\u003C\u002Fa> · \u003Ca href=\".\u002FREADME.pt.md\">Português\u003C\u002Fa> · \u003Ca href=\".\u002FREADME.ru.md\">Русский\u003C\u002Fa> · \u003Ca href=\".\u002FREADME.hi.md\">हिन्दी\u003C\u002Fa> · \u003Ca href=\".\u002FREADME.tr.md\">Türkçe\u003C\u002Fa> · \u003Ca href=\".\u002FREADME.th.md\">ไทย\u003C\u002Fa> · \u003Ca href=\".\u002FREADME.vi.md\">Tiếng Việt\u003C\u002Fa> · \u003Ca href=\".\u002FREADME.id.md\">Bahasa Indonesia\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FZSeven-W\u002Fopenpencil\u002Fstargazers\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fstars\u002FZSeven-W\u002Fopenpencil?style=flat&color=cfb537\" alt=\"Stars\" \u002F>\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FZSeven-W\u002Fopenpencil\u002Fblob\u002Fmain\u002FLICENSE\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Flicense\u002FZSeven-W\u002Fopenpencil?color=64748b\" alt=\"License\" \u002F>\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FZSeven-W\u002Fopenpencil\u002Factions\u002Fworkflows\u002Fci.yml\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Factions\u002Fworkflow\u002Fstatus\u002FZSeven-W\u002Fopenpencil\u002Fci.yml?branch=main&label=CI\" alt=\"CI\" \u002F>\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fdiscord.gg\u002Fh9Fmyy6pVh\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fdiscord\u002F1476517942949580952?label=Discord&logo=discord&logoColor=white&color=5865F2\" alt=\"Discord\" \u002F>\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cbr \u002F>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Foss.ioa.tech\u002Fzseven\u002Fopenpencil\u002Fa46e24733239ce24de36702342201033.mp4\">\n    \u003Cimg src=\".\u002Fscreenshot\u002Fop-cover.png\" alt=\"OpenPencil — click to watch demo\" width=\"100%\" \u002F>\n  \u003C\u002Fa>\n\u003C\u002Fp>\n\u003Cp align=\"center\">\u003Csub>Click the image to watch the demo video\u003C\u002Fsub>\u003C\u002Fp>\n\n\u003Cbr \u002F>\n\n> **Note:** There is another open-source project with the same name — [OpenPencil](https:\u002F\u002Fgithub.com\u002Fopen-pencil\u002Fopen-pencil), focused on Figma-compatible visual design with real-time collaboration. This project focuses on AI-native design-to-code workflows.\n\n## Why OpenPencil\n\n\u003Ctable>\n\u003Ctr>\n\u003Ctd width=\"50%\">\n\n### 🎨 Prompt → Canvas\n\nDescribe any UI in natural language. Watch it appear on the infinite canvas in real-time with streaming animation. Modify existing designs by selecting elements and chatting.\n\n\u003C\u002Ftd>\n\u003Ctd width=\"50%\">\n\n### 🤖 Concurrent Agent Teams\n\nThe orchestrator decomposes complex pages into spatial sub-tasks. Multiple AI agents work on different sections simultaneously — hero, features, footer — all streaming in parallel with per-member canvas indicators.\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd width=\"50%\">\n\n### 🧠 Multi-Model Intelligence\n\nAutomatically adapts to each model's capabilities. Claude gets full prompts with thinking; GPT-4o\u002FGemini disable thinking; smaller models (MiniMax, Qwen, Llama) get simplified prompts for reliable output.\n\n\u003C\u002Ftd>\n\u003Ctd width=\"50%\">\n\n### 🔌 MCP Server\n\nOne-click install into Claude Code, Codex, Gemini, OpenCode, Kiro, or Copilot CLIs. Design from your terminal — read, create, and modify `.op` files through any MCP-compatible agent.\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd width=\"50%\">\n\n### 🎨 Style Guides\n\nBuilt-in style guide library with tag-based fuzzy matching. Apply visual styles (glassmorphism, brutalist, retro, etc.) to AI-generated designs. MCP tools for external agent access.\n\n\u003C\u002Ftd>\n\u003Ctd width=\"50%\">\n\n### 📦 Design-as-Code\n\n`.op` files are JSON — human-readable, Git-friendly, diffable. Design variables generate CSS custom properties. Code export to React + Tailwind or HTML + CSS.\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd width=\"50%\">\n\n### 🖥️ Runs Everywhere\n\nWeb app + native desktop on macOS, Windows, and Linux via Electron. Auto-updates from GitHub Releases. `.op` file association — double-click to open.\n\n\u003C\u002Ftd>\n\u003Ctd width=\"50%\">\n\n### ⌨️ CLI — `op`\n\nControl the design tool from your terminal. `op design`, `op insert` — batch design DSL, node manipulation. Pipe in from files or stdin. Works with desktop app or web server.\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd width=\"50%\">\n\n### 🎯 Multi-Platform Code Export\n\nExport to React + Tailwind, HTML + CSS, Vue, Svelte, Flutter, SwiftUI, Jetpack Compose, React Native — all from one `.op` file. Design variables become CSS custom properties.\n\n\u003C\u002Ftd>\n\u003Ctd width=\"50%\">\n\n### 🧩 Embeddable SDK\n\n`pen-engine` (headless) + `pen-react` (React UI SDK) — embed the design engine in your own app. DesignProvider, DesignCanvas, hooks, panels, and toolbar components out of the box.\n\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd width=\"50%\">\n\n### 🛡️ Design System Kit\n\nManage reusable UIKits with style switching and component composition. Import\u002Fexport kits from `.pen` files. Built-in registry with MCP tools for external access.\n\n\u003C\u002Ftd>\n\u003Ctd width=\"50%\">\n\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftable>\n\n## Install\n\n**macOS (Homebrew):**\n\n```bash\nbrew tap zseven-w\u002Fopenpencil\nbrew install --cask openpencil\n```\n\n**Windows (Scoop):**\n\n```powershell\nscoop bucket add openpencil https:\u002F\u002Fgithub.com\u002Fzseven-w\u002Fscoop-openpencil\nscoop install openpencil\n```\n\n**Linux \u002F Windows direct download:** [GitHub Releases](https:\u002F\u002Fgithub.com\u002FZSeven-W\u002Fopenpencil\u002Freleases) — `.exe` (Windows), `.AppImage` \u002F `.deb` (Linux)\n\n**CLI (`op`):**\n\n```bash\nnpm install -g @zseven-w\u002Fopenpencil\n```\n\n## Quick Start (Development)\n\n```bash\n# Install dependencies\nbun install\n\n# Start dev server at http:\u002F\u002Flocalhost:3000\nbun --bun run dev\n```\n\nOr run as a desktop app:\n\n```bash\nbun run electron:dev\n```\n\n> **Prerequisites:** [Bun](https:\u002F\u002Fbun.sh\u002F) >= 1.0 and [Node.js](https:\u002F\u002Fnodejs.org\u002F) >= 18. Optional: [Zig](https:\u002F\u002Fziglang.org\u002F) >= 0.14 for building `agent-native` from source (a prebuilt binary will be downloaded automatically if Zig is not installed).\n\n### Docker\n\nMultiple image variants are available — pick the one that fits your needs:\n\n| Image                        | Size    | Includes             |\n| ---------------------------- | ------- | -------------------- |\n| `openpencil:latest`          | ~226 MB | Web app only         |\n| `openpencil-claude:latest`   | —       | + Claude Code CLI    |\n| `openpencil-codex:latest`    | —       | + Codex CLI          |\n| `openpencil-opencode:latest` | —       | + OpenCode CLI       |\n| `openpencil-copilot:latest`  | —       | + GitHub Copilot CLI |\n| `openpencil-gemini:latest`   | —       | + Gemini CLI         |\n| `openpencil-full:latest`     | ~1 GB   | All CLI tools        |\n\n**Run (web only):**\n\n```bash\ndocker run -d -p 3000:3000 ghcr.io\u002Fzseven-w\u002Fopenpencil:latest\n```\n\n**Run with AI CLI (e.g. Claude Code):**\n\nThe AI chat relies on Claude CLI OAuth login. Use a Docker volume to persist the login session:\n\n```bash\n# Step 1 — Login (one-time)\ndocker volume create openpencil-claude-auth\ndocker run -it --rm \\\n  -v openpencil-claude-auth:\u002Froot\u002F.claude \\\n  ghcr.io\u002Fzseven-w\u002Fopenpencil-claude:latest claude login\n\n# Step 2 — Start\ndocker run -d -p 3000:3000 \\\n  -v openpencil-claude-auth:\u002Froot\u002F.claude \\\n  ghcr.io\u002Fzseven-w\u002Fopenpencil-claude:latest\n```\n\n**Build locally:**\n\n```bash\n# Base (web only)\ndocker build --target base -t openpencil .\n\n# With a specific CLI\ndocker build --target with-claude -t openpencil-claude .\n\n# Full (all CLIs)\ndocker build --target full -t openpencil-full .\n```\n\n## AI-Native Design\n\n**Prompt to UI**\n\n- **Text-to-design** — describe a page, get it generated on canvas in real-time with SSE streaming animation\n- **Orchestrator** — decomposes complex pages into spatial sub-tasks for parallel generation\n- **Agent Teams** — concurrent team members with delegate tool, per-member canvas indicators, and fallback strategies\n- **Design modification** — select elements, then describe changes in natural language\n- **Vision input** — attach screenshots or mockups for reference-based design\n- **Style Guides** — apply visual styles (glassmorphism, brutalist, retro, etc.) via tag-based fuzzy matching\n- **Anti-slop** — cross-generation diversity tracking to avoid repetitive AI output\n\n**Multi-Agent Support**\n\n| Agent                       | Setup                                                                                             |\n| --------------------------- | ------------------------------------------------------------------------------------------------- |\n| **Built-in (9+ providers)** | Select from provider presets with region switcher — Anthropic, OpenAI, Google, DeepSeek, and more |\n| **Claude Code**             | No config — uses Claude Agent SDK with local OAuth                                                |\n| **Codex CLI**               | Connect in Agent Settings (`Cmd+,`)                                                               |\n| **OpenCode**                | Connect in Agent Settings (`Cmd+,`)                                                               |\n| **GitHub Copilot**          | `copilot login` then connect in Agent Settings (`Cmd+,`)                                          |\n| **Gemini CLI**              | Connect in Agent Settings (`Cmd+,`)                                                               |\n\n**Model Capability Profiles** — automatically adapts prompts, thinking mode, and timeouts per model tier. Full-tier models (Claude) get complete prompts; standard-tier (GPT-4o, Gemini, DeepSeek) disable thinking; basic-tier (MiniMax, Qwen, Llama, Mistral) get simplified nested-JSON prompts for maximum reliability.\n\n**i18n** — Full interface localization in 15 languages: English, 简体中文, 繁體中文, 日本語, 한국어, Français, Español, Deutsch, Português, Русский, हिन्दी, Türkçe, ไทย, Tiếng Việt, Bahasa Indonesia.\n\n**MCP Server**\n\n- Built-in MCP server (`pen-mcp` package) — one-click install into Claude Code \u002F Codex \u002F Gemini \u002F OpenCode \u002F Kiro \u002F Copilot CLIs\n- Auto-detects Node.js — if not installed, falls back to HTTP transport and auto-starts the MCP HTTP server\n- Design automation from terminal: read, create, and modify `.op` files via any MCP-compatible agent\n- **Layered design workflow** — `design_skeleton` → `design_content` → `design_refine` for higher-fidelity multi-section designs\n- **Segmented prompt retrieval** — load only the design knowledge you need (schema, layout, roles, icons, planning, etc.)\n- **Style guide tools** — `get_style_guide_tags` and `get_style_guide` for applying visual styles via MCP\n- Multi-page support — create, rename, reorder, and duplicate pages via MCP tools\n\n**Code Generation**\n\n- React + Tailwind CSS, HTML + CSS, CSS Variables\n- Vue, Svelte, Flutter, SwiftUI, Jetpack Compose, React Native\n\n## CLI — `op`\n\nInstall globally and control the design tool from your terminal:\n\n```bash\nnpm install -g @zseven-w\u002Fopenpencil\n```\n\n```bash\nop start                     # Launch desktop app\nop design @landing.txt       # Batch design from file\nop insert '{\"type\":\"RECT\"}'  # Insert a node\nop import:figma design.fig   # Import Figma file\ncat design.dsl | op design - # Pipe from stdin\n```\n\nSupports three input methods: inline string, `@filepath` (read from file), or `-` (read from stdin). Works with desktop app or web dev server. See [CLI README](.\u002Fapps\u002Fcli\u002FREADME.md) for full command reference.\n\n**LLM Skill** — install the [OpenPencil Skill](https:\u002F\u002Fgithub.com\u002FZSeven-W\u002Fopenpencil-skill) plugin to teach AI agents (Claude Code, Cursor, Codex, Gemini CLI, etc.) how to design with `op`.\n\n## Features\n\n**Canvas & Drawing**\n\n- Infinite canvas with pan, zoom, smart alignment guides, and snapping\n- Rectangle, Ellipse, Line, Polygon, Pen (Bezier), Frame, Text\n- Boolean operations — union, subtract, intersect with contextual toolbar\n- Icon picker (Iconify) and image import (PNG\u002FJPEG\u002FSVG\u002FWebP\u002FGIF)\n- Auto-layout — vertical\u002Fhorizontal with gap, padding, justify, align\n- Multi-page documents with tab navigation\n\n**Design System**\n\n- Design variables — color, number, string tokens with `$variable` references\n- Multi-theme support — multiple axes, each with variants (Light\u002FDark, Compact\u002FComfortable)\n- Component system — reusable components with instances and overrides\n- CSS sync — auto-generated custom properties, `var(--name)` in code output\n- Reusable UIKits — import\u002Fexport component kits from `.pen` files\n\n**AI & Agents**\n\n- Prompt-to-canvas with streaming generation and orchestrator-driven spatial decomposition\n- Concurrent Agent Teams — multiple designers work on different sections in parallel with per-member canvas indicators\n- Layered workflow — `design_skeleton` → `design_content` → `design_refine` with focused prompts per phase\n- Style Guides — 50+ built-in styles (glassmorphism, brutalist, retro, etc.) with tag-based fuzzy matching, wired into planning and generation\n- Multi-model capability profiles — auto-adapts thinking mode, effort, and prompt shape per model tier\n- Built-in agent runtime (`agent-native`, Zig NAPI) + Anthropic, Claude Agent SDK, OpenCode, Codex, Copilot, Gemini providers\n- Anthropic-format passthrough for Chinese LLM providers — Kimi, Zhipu, GLM, DouBao, Ark, Bailian\u002FDashScope, ModelScope, Coding Plans\n\n**Git Integration**\n\n- Clone wizard with SSH \u002F HTTPS auth and SSH key management\n- Branch picker — create, switch, delete, merge, all from the git panel\n- Pull \u002F push cascades with auth retry and non-fast-forward handling\n- Folder-mode three-way merge with on-disk `MERGE_HEAD` state tracking\n- Conflict panel with per-node \u002F per-field three-way cards, inline JSON editor, bulk actions, and inline diff block\n- Remote settings and SSH keys UI; 15-locale i18n across the whole Git surface\n\n**Export**\n\n- Canvas export — PNG, JPEG, WEBP, PDF (`Cmd+Shift+P`)\n- Code export — React + Tailwind, HTML + CSS, Vue, Svelte, Flutter, SwiftUI, Jetpack Compose, React Native\n- Incremental MCP codegen pipeline — `codegen_plan`, `codegen_submit_chunk`, `codegen_assemble`, `codegen_clean`\n\n**Figma Import**\n\n- Import `.fig` files with layout, fills, strokes, effects, text, images, and vectors preserved\n\n**Desktop App**\n\n- Native macOS, Windows, and Linux via Electron\n- `.op` file association — double-click to open, single-instance lock\n- Auto-update from GitHub Releases\n- Native application menu with Save As, Open Recent, and an unsaved-changes dialog on close\n- Recent files persistence\n\n## Tech Stack\n\n|                 |                                                                                         |\n| --------------- | --------------------------------------------------------------------------------------- |\n| **Frontend**    | React 19 · TanStack Start · Tailwind CSS v4 · shadcn\u002Fui · i18next                       |\n| **Canvas**      | CanvasKit\u002FSkia (WASM, GPU-accelerated)                                                  |\n| **Engine**      | pen-engine (headless) · pen-react (React UI SDK)                                        |\n| **State**       | Zustand v5                                                                              |\n| **Server**      | Nitro                                                                                   |\n| **Desktop**     | Electron 35                                                                             |\n| **CLI**         | `op` — terminal control, batch design DSL                                               |\n| **AI**          | agent-native (Zig NAPI) · Anthropic SDK · Claude Agent SDK · OpenCode SDK · Copilot SDK |\n| **Runtime**     | Bun · Vite 7                                                                            |\n| **Lint**        | oxlint · oxfmt                                                                          |\n| **File format** | `.op` — JSON-based, human-readable, Git-friendly                                        |\n\n## Project Structure\n\n```text\nopenpencil\u002F\n├── apps\u002F\n│   ├── web\u002F                 TanStack Start web app\n│   │   ├── src\u002F\n│   │   │   ├── canvas\u002F      CanvasKit\u002FSkia engine — drawing, sync, layout\n│   │   │   ├── components\u002F  React UI — editor, panels, shared dialogs, icons\n│   │   │   ├── services\u002Fai\u002F AI chat, orchestrator, design generation, streaming\n│   │   │   ├── services\u002Fcodegen\u002F Code generation service wrappers\n│   │   │   ├── stores\u002F      Zustand — canvas, document, pages, history, AI\n│   │   │   ├── hooks\u002F       Keyboard shortcuts, file drop, Figma paste, MCP sync\n│   │   │   ├── i18n\u002F        Internationalization — 15 locales\n│   │   │   └── uikit\u002F       Reusable component kit system\n│   │   └── server\u002F\n│   │       ├── api\u002Fai\u002F      Nitro API — streaming chat, agent, generation, image search\n│   │       ├── api\u002Fmcp\u002F     MCP HTTP transport endpoints\n│   │       └── utils\u002F       Claude, OpenCode, Codex, Copilot, Gemini CLI wrappers\n│   ├── desktop\u002F             Electron desktop app\n│   │   ├── main.ts          Window, Nitro fork, native menu, auto-updater\n│   │   ├── ipc-handlers.ts  Native file dialogs, theme sync, prefs IPC\n│   │   └── preload.ts       IPC bridge\n│   └── cli\u002F                 CLI tool — `op` command\n│       ├── src\u002Fcommands\u002F    Design, document, export, import, node, page, variable commands\n│       ├── connection.ts    WebSocket connection to running app\n│       └── launcher.ts      Auto-detect and launch desktop app or web server\n├── packages\u002F\n│   ├── pen-types\u002F           Type definitions for PenDocument model\n│   ├── pen-core\u002F            Document tree ops, layout engine, variables\n│   ├── pen-engine\u002F          Headless design engine — document, selection, history, viewport\n│   ├── pen-react\u002F           React UI SDK — provider, canvas, hooks, panels, toolbar\n│   ├── pen-codegen\u002F         Code generators (React, HTML, Vue, Flutter, ...)\n│   ├── pen-figma\u002F           Figma .fig file parser and converter\n│   ├── pen-renderer\u002F        Standalone CanvasKit\u002FSkia renderer\n│   ├── pen-mcp\u002F             MCP server — tools, routes, document manager\n│   ├── pen-sdk\u002F             Umbrella SDK (re-exports all packages)\n│   ├── pen-ai-skills\u002F       AI prompt skill engine (phase-driven prompt loading)\n│   └── agent-native\u002F        Native AI agent runtime (Zig NAPI, multi-provider, teams)\n└── .githooks\u002F               Pre-commit version sync from branch name\n```\n\n## Keyboard Shortcuts\n\n| Key         | Action            |     | Key           | Action                    |\n| ----------- | ----------------- | --- | ------------- | ------------------------- |\n| `V`         | Select            |     | `Cmd+S`       | Save                      |\n| `R`         | Rectangle         |     | `Cmd+Z`       | Undo                      |\n| `O`         | Ellipse           |     | `Cmd+Shift+Z` | Redo                      |\n| `L`         | Line              |     | `Cmd+C\u002FX\u002FV\u002FD` | Copy\u002FCut\u002FPaste\u002FDuplicate  |\n| `T`         | Text              |     | `Cmd+G`       | Group                     |\n| `F`         | Frame             |     | `Cmd+Shift+G` | Ungroup                   |\n| `P`         | Pen tool          |     | `Cmd+Shift+P` | Export (PNG\u002FJPG\u002FWEBP\u002FPDF) |\n| `H`         | Hand (pan)        |     | `Cmd+Shift+C` | Code panel                |\n| `Del`       | Delete            |     | `Cmd+Shift+V` | Variables panel           |\n| `[ \u002F ]`     | Reorder           |     | `Cmd+J`       | AI chat                   |\n| Arrows      | Nudge 1px         |     | `Cmd+,`       | Agent settings            |\n| `Cmd+Alt+U` | Boolean union     |     | `Cmd+Alt+S`   | Boolean subtract          |\n| `Cmd+Alt+I` | Boolean intersect |     | `Cmd+Shift+S` | Save As                   |\n\n## Scripts\n\n```bash\nbun --bun run dev          # Dev server (port 3000)\nbun --bun run build        # Production build\nbun --bun run test         # Run tests (Vitest)\nnpx tsc --noEmit           # Type check\nbun run lint               # Lint (oxlint)\nbun run format             # Format (oxfmt)\nbun run bump \u003Cversion>     # Sync version across all package.json\nbun run electron:dev       # Electron dev\nbun run electron:build     # Electron package\nbun run cli:dev            # Run CLI from source\nbun run cli:compile        # Compile CLI to dist\nbun run mcp:dev            # Run MCP server from source\n```\n\n## Contributing\n\nContributions are welcome! See [CLAUDE.md](.\u002FCLAUDE.md) for architecture details and code style.\n\n1. Fork and clone\n2. Set up version sync: `git config core.hooksPath .githooks`\n3. Create a branch: `git checkout -b feat\u002Fmy-feature`\n4. Run checks: `npx tsc --noEmit && bun --bun run test`\n5. Commit with [Conventional Commits](https:\u002F\u002Fwww.conventionalcommits.org\u002F): `feat(canvas): add rotation snapping`\n6. Open a PR against `main`\n\n## Roadmap\n\n- [x] Design variables & tokens with CSS sync\n- [x] Component system (instances & overrides)\n- [x] AI design generation with orchestrator\n- [x] MCP server integration with layered design workflow\n- [x] Multi-page support\n- [x] Figma `.fig` import\n- [x] Boolean operations (union, subtract, intersect)\n- [x] Multi-model capability profiles\n- [x] Monorepo restructure with reusable packages\n- [x] CLI tool (`op`) for terminal control\n- [x] Built-in AI agent SDK with multi-provider support\n- [x] i18n — 15 languages\n- [x] Headless design engine (`pen-engine`) + React UI SDK (`pen-react`)\n- [x] Style Guides with tag-based matching and MCP tools\n- [x] Concurrent Agent Teams with delegate tool and canvas indicators\n- [x] Native agent runtime (`agent-native` — Zig NAPI)\n- [x] Git integration — clone, branch, push\u002Fpull, folder-mode three-way merge\n- [x] Canvas raster export (PNG \u002F JPEG \u002F WEBP \u002F PDF)\n- [ ] Collaborative editing\n- [ ] Plugin system\n\n## Contributors\n\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002FZSeven-W\u002Fopenpencil\u002Fgraphs\u002Fcontributors\">\n  \u003Cimg src=\"https:\u002F\u002Fcontrib.rocks\u002Fimage?repo=ZSeven-W\u002Fopenpencil\" alt=\"Contributors\" \u002F>\n\u003C\u002Fa>\n\n## Sponsors\n\nOpenPencil is free and open-source. Development is funded by people who find it useful — thank you for keeping the canvas open.\n\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fmrqyun\" title=\"MrQyun\">\n  \u003Cimg src=\"https:\u002F\u002Fwsrv.nl\u002F?url=github.com\u002Fmrqyun.png&w=128&h=128&mask=circle&maxage=7d\" width=\"64\" height=\"64\" alt=\"MrQyun\" \u002F>\n\u003C\u002Fa>\n\nThanks to **[MrQyun](https:\u002F\u002Fgithub.com\u002Fmrqyun)** — want your name here too? **[Become a sponsor →](https:\u002F\u002Fgithub.com\u002Fsponsors\u002FZSeven-W)**\n\n## Community\n\n\u003Ca href=\"https:\u002F\u002Fdiscord.gg\u002Fh9Fmyy6pVh\">\n  \u003Cimg src=\".\u002Fapps\u002Fweb\u002Fpublic\u002Flogo-discord.svg\" alt=\"Discord\" width=\"16\" \u002F>\n  \u003Cstrong> Join our Discord\u003C\u002Fstrong>\n\u003C\u002Fa>\n— Ask questions, share designs, suggest features.\n\n## Star History\n\n\u003Ca href=\"https:\u002F\u002Fstar-history.com\u002F#ZSeven-W\u002Fopenpencil&Date\">\n \u003Cpicture>\n   \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"https:\u002F\u002Fapi.star-history.com\u002Fsvg?repos=ZSeven-W\u002Fopenpencil&type=Date&theme=dark\" \u002F>\n   \u003Csource media=\"(prefers-color-scheme: light)\" srcset=\"https:\u002F\u002Fapi.star-history.com\u002Fsvg?repos=ZSeven-W\u002Fopenpencil&type=Date\" \u002F>\n   \u003Cimg alt=\"Star History Chart\" src=\"https:\u002F\u002Fapi.star-history.com\u002Fsvg?repos=ZSeven-W\u002Fopenpencil&type=Date\" width=\"100%\" \u002F>\n \u003C\u002Fpicture>\n\u003C\u002Fa>\n\n## Assessments\n\n[![MseeP.ai Security Assessment Badge](https:\u002F\u002Fmseep.net\u002Fpr\u002Fzseven-w-openpencil-badge.png)](https:\u002F\u002Fmseep.ai\u002Fapp\u002Fzseven-w-openpencil)\n\n## License\n\n[MIT](.\u002FLICENSE) — Copyright (c) 2026 ZSeven-W\n","OpenPencil 是全球首个开源的AI原生矢量设计工具，支持并发代理团队和设计即代码。其核心功能包括通过自然语言描述生成UI、多模型智能适应以及内置MCP服务器。用户可以直接在实时画布上将提示转化为界面，并且多个AI代理可以同时处理不同部分的设计任务，实现高效的并行工作流程。此外，它还具备自动适应各AI模型能力的特点，使得设计过程更加灵活智能。OpenPencil 适用于需要快速原型设计、UI开发或希望通过代码方式创建和修改设计的场景，特别适合前端开发者和设计师使用。",2,"2026-06-11 03:51:03","high_star"]