open-pencil /open-pencil
AI-native design editor. Open-source Figma alternative.
★ 9,863⑂ 1,068👁 49⑃ 1,588● 474▤ 42
+14
日增长
9,863
stars
1,068
forks
49
watchers
1,588
prs
474
issues
42
releases
README
OpenPencil Open-source design editor. Opens .fig and .pen design files, includes built-in AI, and ships as a programmable toolkit with a headless Vue SDK for building custom editors. Status: Active development. Usable today, with some rough edges as features evolve. Try it online → · Download · Documentation · Roadmap · llms.txt !OpenPencil Installation macOS (Homebrew): sh brew install --cask openpencil Or download from the releases page, or use the web app — no install needed. Requires macOS 13 or later with current Safari updates, Windows 10 or later, or Linux with WebKitGTK 2.40+; the web app needs Chrome 111, Edge 111, Firefox 128, or Safari 16.4 or later. See system requirements. Official builds send one anonymous ping a day and share usage stats only if you agree. The privacy page lists every field, everything else the app sends, and how to turn it off. What it does - Opens .fig and .pen files — read and write native Figma files, open supported Pencil documents from the app or OS file browser, copy & paste nodes between apps - AI builds designs — describe what you want in chat, 100+ tools create and modify nodes. Bring your own key for the major providers or any compatible endpoint - Fully programmable — headless CLI, XPath queries, Figma Plugin API plus an openpencil API via eval, MCP server for AI agents, and desktop agent integrations for Claude Code, Codex, Antigravity CLI, Gemini CLI, Cursor, Grok Build, and Pi - Lint, convert, and extract tokens — inspect documents, lint naming/layout/accessibility, convert between supported formats, analyze colors/typography/spacing/clusters, and extract design tokens - Components and variants — create reusable components, group variants into component sets, insert local assets as instances, and switch variants from the inspector - Working controls — give a component a Reka UI behaviour (switch, slider, tabs, text field, …) and preview it live over the canvas, with real inputs, focus, and keyboard - Image vectorization — convert image layers into editable vector layers with Recraft or fal.ai - Design-to-code export — export selections as JSX/Tailwind, generate token outputs, and map designs into component-oriented code workflows - Vue SDK for custom editors — headless components and composables for embedding OpenPencil into other apps or building workflow-specific editing surfaces. Read the SDK docs → - Real-time collaboration — share a peer-to-peer room over WebRTC with no server or account, or edit Cloud documents together. Cursors, presence, follow mode, voice calls - Optional Cloud — keep documents on your team's own OpenPencil Cloud server, or on the hosted service once it opens, and share them by invitation - Auto layout & CSS Grid — flex and grid layout via Taffy WASM, with gap, padding, alignment, track sizing - ~15 MB desktop app — Tauri v2 for macOS, Windows, Linux. Also runs in the browser as a PWA CLI sh npm install -g @open-pencil/cli or: bun add -g @open-penci
Top issues
#770Stable node identity and deterministic serialization before any diffable document format7 comments · 2026-09-25#255Problem loading large Design System6 comments · 2026-05-10#976bug: WASM heap corruption after render/delete churn — all mutations and saves fail with Out of bounds/call_indirect until restart5 comments · 2026-10-08#975bug: document-mutation MCP tools sporadically wedge the WebView — rAF/microtask spin at 100% CPU, SIGTERM ignored, unsaved state lost5 comments · 2026-10-08#1138bug: "error decoding response body"3 comments · 2026-10-13#580Out of memory crash on open for .fig files with large canvas bounds3 comments · 2026-08-22#37Idea: Make Animations Code-based Like Graphic Elements3 comments · 2026-03-04#1560bug: panning doesn't work while comment tool is selected2 comments · 2026-10-27
Discussions
#2006Can we get an android port1 comments · 2026-11-11#1432Font picker: let a host pin families at the top, each with a short note0 comments · 2026-10-23#1431Save a .fig font style under the name the family's own fonts use?0 comments · 2026-10-23#1299PlantUML / Visual UML Editing Support3 comments · 2026-10-19#727Integrate with Storybook2 comments · 2026-09-18#718Sponsorship and model-provider ecosystem partnership inquiry from 88API0 comments · 2026-09-17#681Commenting / marking2 comments · 2026-09-11#666When's the next release? (v0.14.0 → master is 400+ commits ahead, including the font OOM fix)1 comments · 2026-09-08
Latest release
v0.16.0 v0.16.0 2026-10-14OpenPencil 0.16 adds comments, shared rooms with voice calls and agents you can follow, slots, component properties, and components that behave like real controls in Preview, plus shader fills, a Lint tab, variable modes on layers, a pencil tool, and Vue and React code in the Code tab. .fig files open and save much closer to Figma, saving only what an edit changed, and selection, pasting, auto layout, text, and trackpad navigation follow Figma. The desktop app needs macOS 13 or later, and openpencil-mcp must be updated together with the app. Breaking changes - The desktop app requires m