{"full_name":"open-pencil/open-pencil","owner":"open-pencil","name":"open-pencil","shard":"1","url":"https://github.com/open-pencil/open-pencil","description":"AI-native design editor. Open-source Figma alternative.","homepage":"https://openpencil.dev","topics":["ai","collaboration","design-editor","figma-alternative","open-source","skia","tauri","vue","webgpu"],"tag_pages":["ai","collaboration","open-source","skia","tauri","vue","webgpu"],"language":"TypeScript","license":"MIT","avatar":"https://avatars.githubusercontent.com/u/264800975?v=4","created_at":"2026-02-27T12:48:35Z","pushed_at":"2026-11-15T19:29:05Z","metrics":{"stars":9863,"forks":1068,"watchers":49,"issues":474,"prs":1588,"releases":42,"issues_open":78,"issues_closed":396,"prs_open":53,"prs_closed":233,"prs_merged":1302,"discussions":22},"growth":{"day":{"stars":14,"forks":0,"base_day":"2026-11-15"}},"history":{"dates":["2026-11-10","2026-11-11","2026-11-12","2026-11-13","2026-11-14","2026-11-15","2026-11-16"],"stars":[9740,9783,9805,9808,9831,9849,9863],"forks":[1049,1060,1061,1061,1065,1068,1068],"watchers":[null,49,49,49,49,49,49],"issues_open":[null,88,90,83,87,88,78],"prs_open":[null,77,86,77,67,58,53]},"boards":{},"same_owner":[],"issues":[{"number":770,"title":"Stable node identity and deterministic serialization before any diffable document format","comments":7,"created_at":"2026-09-25T20:52:38Z"},{"number":255,"title":"Problem loading large Design System","comments":6,"created_at":"2026-05-10T16:06:32Z"},{"number":976,"title":"bug: WASM heap corruption after render/delete churn — all mutations and saves fail with Out of bounds/call_indirect until restart","comments":5,"created_at":"2026-10-08T08:51:30Z"},{"number":975,"title":"bug: document-mutation MCP tools sporadically wedge the WebView — rAF/microtask spin at 100% CPU, SIGTERM ignored, unsaved state lost","comments":5,"created_at":"2026-10-08T08:51:06Z"},{"number":1138,"title":"bug: \"error decoding response body\"","comments":3,"created_at":"2026-10-13T08:19:37Z"},{"number":580,"title":"Out of memory crash on open for .fig files with large canvas bounds","comments":3,"created_at":"2026-08-22T16:07:47Z"},{"number":37,"title":"Idea: Make Animations Code-based Like Graphic Elements","comments":3,"created_at":"2026-03-04T09:02:35Z"},{"number":1560,"title":"bug: panning doesn't work while comment tool is selected","comments":2,"created_at":"2026-10-27T10:42:10Z"}],"discussions":[{"number":2006,"title":"Can we get an android port","comments":1,"category":"Ideas","created_at":"2026-11-11T16:05:45Z"},{"number":1432,"title":"Font picker: let a host pin families at the top, each with a short note","comments":0,"category":"Ideas","created_at":"2026-10-23T20:41:22Z"},{"number":1431,"title":"Save a .fig font style under the name the family's own fonts use?","comments":0,"category":"Ideas","created_at":"2026-10-23T20:41:21Z"},{"number":1299,"title":"PlantUML / Visual UML Editing Support","comments":3,"category":"Ideas","created_at":"2026-10-19T16:22:59Z"},{"number":727,"title":"Integrate with Storybook","comments":2,"category":"Ideas","created_at":"2026-09-18T10:21:28Z"},{"number":718,"title":"Sponsorship and model-provider ecosystem partnership inquiry from 88API","comments":0,"category":"General","created_at":"2026-09-17T10:04:19Z"},{"number":681,"title":"Commenting / marking","comments":2,"category":"Ideas","created_at":"2026-09-11T10:05:43Z"},{"number":666,"title":"When's the next release? (v0.14.0 → master is 400+ commits ahead, including the font OOM fix)","comments":1,"category":"Q&A","created_at":"2026-09-08T19:27:50Z"}],"latest_release":{"name":"v0.16.0","tag":"v0.16.0","published_at":"2026-10-14T12:37:16Z","body":"OpenPencil 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.\r\n\r\n### Breaking changes\r\n\r\n- The desktop app requires macOS 13 or later; the web app supports Chrome 111, Edge 111, Firefox 128, and Safari 16.4 or later.\r\n- Shared rooms record the layer tree in a new format, so people on this version and on earlier versions can no longer join each other's rooms. A room this browser saved with an earlier version converts when you open it again.\r\n- Update `openpencil-mcp` together with the app: the app renders `render` JSX itself and no longer accepts the pre-rendered tree earlier versions send. AI and MCP tools reject arguments they do not declare: `defineTool` from `@open-pencil/core/tools` takes a `v.strictObject` input. `close_file` fails on unsaved changes unless `unsaved` is `\"save\"` or `\"discard\"`, and `diff_create` and `diff_show` patches list JSX attributes such as `-rounded={8}`, with `diff_show` taking `attributes` instead of a JSON `props` object, so patches in the old format no longer apply. `openpencil documents` is now a command group: list open documents with `openpencil documents list`.\r\n- `design_to_tokens` writes CSS custom properties named from each variable's code syntax or Tailwind namespace: its `tailwind` format is a Tailwind v4 `@theme`, the `json` format is removed, aliases stay `var()` references, and non-default modes go under their condition (`[data-theme=\"dark\"]` by default).\r\n- A paint's `gradientTransform` follows Figma's convention everywhere, so gradients made in OpenPencil before this release draw differently. Build gradients with `linearGradientTransform` and `ellipticalGradientTransform` from the new `@open-pencil/scene-graph/gradient`, where `isGradientFill` and `GradientFillType` moved from `@open-pencil/core/geometry`; `linearGradientEndpoints` is removed.\r\n- `.fig` files store colour-variable bindings in Figma's `colorVar`. A paint bound through the old `colorVariableBinding` field, which only OpenPencil wrote, reopens unbound. `VariableBinding`, `colorVariableBinding`, `encodeNodeChangeWithVariables`, `encodePaintWithVariableBinding`, and `encodeVarint` are removed from `@open-pencil/core` and `@open-pencil/core/kiwi`.\r\n- `computeImageHash` from `@open-pencil/core` and `@open-pencil/scene-graph` returns the hex SHA-1 of the bytes, the name Figma gives an image, instead of an OpenPencil-only hash of the same length. New images are stored under that name, so `.fig` files and the Figma clipboard carry it as it is; images in documents saved before keep their names.\r\n- In scripts, a text node's `fontSize`, `fontName`, `fontWeight`, `fills`, `letterSpacing`, `lineHeight`, `textDecoration`, `textCase`, `textStyleId`, and `fillStyleId` read `figma.mixed` while its characters differ, as in Figma, and setting one restyles every character. `fills` is typed `readonly Fill[] | symbol`, so scripts that index it narrow it first.\r\n- Design JSX moved from `@open-pencil/core` to the new `@open-pencil/design-jsx` package. Import elements, helpers, variables, `JSX_REFERENCE`, `buildComponent`, `sceneNodeToJSX`, and `selectionToJSX` from there; `@open-pencil/core` and `@open-pencil/core/design-jsx` keep only `renderJSX` and `renderTree`, `renderTreeNode` is removed in favor of `renderTree`, and the `@open-pencil/core/io/formats/jsx` subpath is gone.\r\n- JSX export writes only OpenPencil JSX: `JSXFormat` and `JSXExportOptions` are removed, and Tailwind JSX comes from `sceneNodesToTailwindJSX(graph, nodeIds)` in `@open-pencil/dom-css`","is_prerelease":false},"readme":true,"readme_zh":false,"news":[],"stale":false,"snapshot_at":"2026-11-16T09:23:14Z","history_start":"2026-09-06"}