跳到正文

OpenPencil

Danila Poyarkov and OpenPencil contributors · 开源设计编辑器,支持 .fig 和 .pen 文件、组件、自动布局、导出、AI 设计工具及可编程工作流。

Cask设计自带更新 1万
主页
安装命令
brew install --cask openpencil
近 30 天安装
601
App榜第 446
近一年安装
3,208
365 天累计
最新版本
0.17.0
下载大小
20MB
gz
更新节奏
每天
近 30 天 7 个版本

介绍

OpenPencil 是一款设计编辑器,面向希望通过可视化画布和可编程工具处理 Figma .fig 与受支持的 Pencil .pen 文档的设计师、设计系统维护者和开发者。它提供图层、矢量编辑、组件/变体、变量绑定、排版、弹性/网格布局、参考线和多个文档标签页。CLI、兼容 Figma Plugin API 的脚本以及 MCP 工作流可用于检查文件、编辑设计、导出资源和提取设计令牌。

编辑、导入和导出

打开现有设计文件或创建文档、编辑可复用组件,并检查间距、布局和绘制属性。支持的导出格式包括栅格图像、SVG、PDF、可编辑 PowerPoint,以及 HTML/JSX 工作流;复杂的 PowerPoint 图层可能会以图像形式嵌入,而不会转换为可编辑形状。HTML/CSS/Tailwind 导入以及与 Figma 的往返转换存在兼容性限制。项目说明其仍在积极开发中,尚有一些不完善之处:请保留原始文件,并在转换后测试字体、颜色、效果、变量和组件链接。缺失或被替换的字体可能改变结果;应用和 CLI 会提供字体保真度信息和策略。

安装与硬件

当前目录版本为 0.16.0。官方 GitHub 记录的 Apple 芯片应用归档 OpenPencil_aarch64.app.tar.gz 为 16,417,594 字节,DMG 是另一个文件。0.16.0 明确要求 macOS 13 或更高版本。旧版 0.15.1 中的 10.13 声明不代表当前支持范围,也不意味着 Apple 芯片可运行该系统。未确认固定最低内存;大型文档及 AI 集成需要更多资源。

0.16 兼容性与隐私

应用与 openpencil-mcp 必须同步升级。共享房间采用新格式,新旧客户端不能混用,已保存的旧房间重新打开时转换。SDK、JSX、渐变、变量绑定、令牌及场景图 API 存在破坏性变化,自定义集成升级前应查阅迁移说明。官方构建每日发送不含标识符的匿名请求,含版本、系统、架构、桌面/网页及使用统计共享状态;可在隐私设置,或桌面环境 OPENPENCIL_TELEMETRY=0、DO_NOT_TRACK=1 关闭。更广泛的使用统计需要另行同意;本地存储不代表没有网络活动。

发布方还提供 Intel Mac、Windows 和 Linux 版本,以及无需安装桌面软件的浏览器编辑器。请使用与 CPU 相匹配的安装包。将解压后的 Mac 应用放入 Applications,并按照 macOS 常规的签名/安全提示操作。官方 Homebrew 命令为 brew install --cask openpencil;请勿将其与已停用的 tap 混淆,也不要假设 cask 会立即包含每个 GitHub 发布版本。本条目不会执行安装。

普通编辑不需要 Node/Bun/Rust/Xcode 桌面应用。这些是从源代码构建或使用可选工具时的要求。需要时请单独安装 CLI 或 MCP 软件包;桌面版 cask 不包含 CLI。桌面端代码代理集成需要各自的代理 CLI/身份验证;Pi 的配套运行环境也需单独安装。在线字体、外部媒体和特定文档资源可能需要网络连接。

许可证、费用和账户

OpenPencil 采用 MIT 许可证,版权归 Danila Poyarkov 和贡献者所有。普通编辑器使用无需订阅 OpenPencil,也不要求 OpenPencil 账户。可选 AI 功能使用您所选提供商的密钥/账户并按其规定计费;图像矢量化以及外部代理/服务各有其条款和费用。软件许可证不授予对导入设计、字体或图库图像的权利。分享或导出前请检查相关许可证。

AI、自动化和权限

为 Design、Review、Fast 和 Vision 角色配置模型;可使用直连端点或兼容端点。官方 AI 文档说明,密钥会直接与已配置的提供商通信,而不会经过 OpenPencil 模型后端。请求可能包含提示、选定的设计上下文和图像附件。发送私人设计前,请查看提供商的数据保留和费用政策。浏览器中的提供商兼容性取决于 CORS 和工具调用流式传输。

工具访问权限分别控制内置 AI 和本地 MCP 工具,并按只读/副作用操作分组。这些开关并非沙箱:启用的 eval/script 工具可能执行专用工具已禁用的操作。WebMCP 的 Off/Inspect/Edit、远程 MCP 权限以及代理的 shell/文件系统权限是彼此独立的控制项。请限制文件操作的 OPENPENCIL_MCP_ROOT,并在向远程服务器提供 bearer 凭据前确认其可信。桌面应用可能请求文件访问权限和系统凭据存储访问权限;0.15.1 会延迟提供商连接和凭据读取,直到使用已连接的功能时才进行。

存储、网络和隐私

已保存的聊天记录、附件预览、首选项和恢复快照均存储在本地。桌面端凭据使用系统凭据存储;文档所述的浏览器选项使用加密存储或仅限会话的凭据。这并不意味着已遭入侵的设备/浏览器仍然安全。配置的兼容 S3 的存储、AI 提供商、远程 MCP 端点、字体和协作功能可能会将数据发送到设备之外。本地文档并不自动意味着工作流仅限离线。

官方协作文档介绍了无需 OpenPencil 账户或中央文档中继的直接 WebRTC 同伴编辑。任何获得房间链接的人都可以加入并接收文档编辑、光标和选区,因此仅与预期的协作者分享链接。AI/提供商服务和存储具有各自独立的信任边界。本地诊断信息包含令牌/提供商/模型使用情况和故障记录,并提供保留、导出和清除控制;0.15.1 会添加对话/请求标识符,并从独立的聊天诊断流程中移除对话内容。分享诊断导出内容前请先检查。

在代理编辑或格式转换前做好备份,检查生成的代码和导出文档,并审查云存储权限。本地聊天记录/恢复功能不能替代单独备份;仅保留对话记录也不一定能让外部代理会话恢复。

来源:项目官网和下载、入门指南、AI 聊天/工具权限、协作、MIT 许可证、精确的 0.15.1 发布版本。

0.16 migration and security · Privacy

基本信息

系统要求
macOS 13 起
芯片
Apple 芯片 · Intel
自动更新
是
仓库
开源 · MIT · 0 天前更新★1万
开发者
Danila Poyarkov and OpenPencil contributors
Homebrew
可以安装,应用会自行更新
其他名称
openpencil
主页
openpencil.dev
软件包标识符
openpencil

核查日期

0.18.0-beta.1 更新内容

新版本 · 来自 GitHub Release

This is a pre-release that lists changes since 0.17.0: npm packages are published under the next tag, and installed apps on the stable release do not update to it. Linux package managers see 0.18.0-beta.1 as newer than 0.18.0, so .deb and .rpm users should remove the beta before installing the final 0.18.0.

Breaking changes

  • @open-pencil/scene-graph names a color profile ColorProfile, replacing DocumentColorSpace and the Vue SDK's PresentationColorSpace, and converts colors with convertColor(color, from, to, gamut) and colorToProfileCSS(color, from, to) from @open-pencil/scene-graph/color, which take both profiles; colorToDisplayCSS, resolveRGBAForPreview, resolveOkHCLForPreview, resolveNodeFillColor, resolveNodeStrokeColor, getDefaultRenderColorSpace, ColorPreviewOptions, and RenderColorSpace are removed. SkiaRenderer.resolveFillColor and resolveStrokeColor are removed too: a stored color draws as toExtendedSRGB(normalizeColor(color), graph.documentColorSpace) from @open-pencil/scene-graph/color (#2234).
  • The Vue SDK reads messages with useMessages(namespace) and locale state with useLocale(), both from @open-pencil/vue/i18n; useI18n(), the use*Messages() composables, and the per-catalog stores such as panelMessages are removed, and code outside components uses messageStores. A namespace is named by its catalog's path, so cloud, cloudPortal, designCheck, variables, and variableTypes are now cloud/editor, cloud/portal, design-check, variables/panel, and variables/types, and the picker, library, behaviour, and Cloud console messages moved out of panels and cloud/portal into namespaces of their own, such as panels/pickers and cloud/portal/tokens.
  • @open-pencil/cloud/contract no longer exports the room protocol: import COLLAB_ACTIONS, MAX_COLLAB_MESSAGE_BYTES, RELAY_SERVER_PEER, encodeSyncReply, and decodeRoomUpdate from @open-pencil/collab.
  • @open-pencil/cloud/server replaces shouldPreventIndexing and withIndexingPolicy with preventIndexing(policy), a Hono middleware.
  • @open-pencil/cloud/server serves the Cloud API from an oRPC contract: mount createCloudAPIRouter and createPublicCloudAPIRouter for the API, which no longer compose from the route factories for documents, versions, comments, sharing, collaboration tickets, reports, workspaces, community data, services and billing tokens; those give way to create…Procedures, served by the routers, and create…RateLimits, which only budget requests. CloudAPI, PublicCloudAPI, CloudAdminRoutes, and adminErrorStatus are gone, and staticEntitlementsSchema and setAccountEntitlementsSchema move to @open-pencil/cloud/contract.
  • @open-pencil/cloud/contract describes the services and billing APIs as servicesContract and billingContract in place of CloudServicesAPI, CloudServicesSchema, CloudBillingAPI, and CloudBillingSchema; @open-pencil/cloud/client drops CloudRequestOptions.onDiagnostic and CloudClientDiagnostic.
  • isLogicalTextAlignStart and isLogicalTextAlignEnd are removed from @open-pencil/scene-graph/text/direction.
  • findSharedStyle is removed from @open-pencil/scene-graph/shared-styles; use graph.getSharedStyleNode(id, type), which finds the style through an index instead of walking the document (#2362).
  • @open-pencil/core/layout no longer exports flowChildren: import it from @open-pencil/scene-graph/layout, where it takes the graph first, flowChildren(graph, frame), and leaves out booleans with no operands as Figma does (#2374).
  • createInternalRoutes from @open-pencil/cloud/server takes { serviceToken, usageToken } instead of the service token alone; pass { serviceToken } to keep the internal API as it was (#2383).
  • CLI tree, find, query, node, pages, and analyze commands run the same tools as MCP: --json prints the tool's result, a file is read on its first page and the app on its current page unless --page or --page-id names another, and tree --depth 1 prints the top level only. find, query, and analyze no longer search every page by default, and pages no longer counts nodes.
  • Exporting from the running app without --node or --page exports the active document's first page instead of the selection.

Added

  • Choose a document's color profile, sRGB or Display P3, in the Design panel's Document section with nothing selected: assign it to keep color values, or convert to keep colors, as in Figma (#2244).
  • fetchCommunityExample(serverURL, name) from @open-pencil/cloud/client fetches a document of a Cloud server's community gallery by its name, as the version named for a release when there is one, as fetchCommunityTour fetches the tour.
  • Cloud's community gallery serves its documents' files and images to any page at /api/community/:documentId/objects, and fetchCommunityTour and fetchCommunityExample from @open-pencil/cloud/client download through it, so they work from any origin, such as a local development server.
  • Cloud lets people connect apps to one workspace over OAuth 2.1, with apps that register themselves, an approval page, read or read-and-write access, and a Connected apps page to disconnect them; servers turn it on with the [oauth] table.
  • Cloud access tokens are read only or read and write; tokens made before keep full access.
  • Cloud's community pages show their files to search engines and link previews without running a script, each with the description its editors set, structured data, a sitemap, and preview images crawlers may fetch (#2314, #2335).
  • Documents shared by link and community gallery documents can be embedded in other sites with an iframe: Copy embed code in Share gives the frame, which shows the document read-only and never uses the visitor's account; a shared document keeps up with edits as they happen, and a community document shows its latest version or the one its address names. Hosted Cloud allows embeds from any site; self-hosted servers turn them on under [deployment.embedding], optionally limited to listed origins.
  • @open-pencil/collab opens collaboration rooms for any host: openCollabRoom keeps a room's document in step with an editor over a transport, and @open-pencil/cloud/client joins Cloud rooms with createCloudRelayJoin and cloudTicketRelayJoin.
  • npx -y @open-pencil/mcp starts the MCP server, and each stable release is listed in the official MCP Registry as dev.openpencil/mcp.
  • Easing and timing variables, as in Figma: open, edit and save them in .fig files and through the Figma plugin API, edit timings in milliseconds and easings in an editor with Figma's curve and spring presets, draggable handles and spring physics. Timings export as CSS times and design token duration; curves as CSS timing functions, Tailwind --ease-* tokens and design token cubicBezier. Springs have no CSS or design token form and are left out of both, and holds out of design tokens. Easing fields name a custom curve "Custom bezier" or "Custom spring", and the easing editor shows its numbers (#2326).
  • @open-pencil/cloud/contract exports the Cloud API as oRPC contracts (cloudAPIContract, publicCloudAPIContract, adminContract, internalContract), so a client or service can call Cloud with routes, answers, and error codes checked against the same Valibot schemas the server uses.
  • Component behaviours can ease into each state: a duration and an easing in the Behaviour section, each its own value or a timing or easing variable, played in preview in the modes each instance is in (and not while motion is turned off), and exported with Vue, React and Storybook components as CSS transitions that use the variables' tokens. Springs export as CSS linear() (#2329).
  • Cloud serves MCP at /mcp where connected apps are on, so ChatGPT, Claude, Grok, and other MCP clients can manage a workspace's documents and run OpenPencil's design tools on a document you have open, with their edits shown live as yours; apps can also connect with a client ID metadata document instead of registering.
  • On Cloud servers that allow it, a coding agent such as Claude Code can design in OpenPencil in your browser without an account: add the server's /mcp address to the agent, sign in from it, and choose Use without an account. Agents that can't sign in get a token from Settings → MCP → Agent in this browser.
  • @open-pencil/cloud/client exports createContractClient, so a service can call a Cloud API by its contract, such as internalContract, with answers checked against it and refusals read as the service chooses.
  • openpencil import --variables imports a page's CSS custom properties as variables and binds the layers that use them, with a mode per theme from --modes, which gives each mode's root attributes, such as a dark class.
  • openpencil import --components makes components, component sets, and text, boolean, and slot properties of the elements a page marks with data-op-* attributes.
  • Imported HTML shows elements in hover, active, and focus states marked with data-force-state, and the HTML engine matches :has().
  • Open, edit, and save Figma Slides decks (.deck), keeping their sections, slide sizes, notes, skipped slides, and transitions, with Figma's slide methods in the plugin API.
  • A page that frames the web app can open a document in it, hear when it is edited, and keep the file each time it is saved, after naming its origin with ?embedder=; Cloud embeds say when their document shows through the same messages, and @open-pencil/embed connects a page to either.
  • Edit Figma Slides decks: a filmstrip with sections, Slide and Grid views, slides you add with Shift+S, duplicate, skip, and drag into place or into new sections, speaker notes under the slide, one slide size for the deck, and PDF and PowerPoint export in the deck's order. New slides start a deck from Home.
  • Right-click a frame, section, component, or slide and choose Set as thumbnail to make it the file's thumbnail, as in Figma; Restore default thumbnail goes back to the cover page (#2366).
  • Cloud's community gallery and link previews show a sharp 1920 × 960 cover of each file: the frame set as its thumbnail, or the top of its page (#2380).
  • Present Figma Slides decks full screen, from the current slide or the start, with Figma's slide transitions and layer animations that play click by click, and controls on the slides that stay live. A presenter's window shows the speaker notes, the next slide, the build step, a clock, and a timer, and moves the deck.
  • Animate decks from an Animate tab: set a slide's transition with its style, direction, duration, easing, and timing, and make layers fade or slide in or out on a click or after the step before. Transition and animation durations and easings can follow timing and easing variables, kept in the .deck file.
  • Give agents tools to outline a deck and to create and move slides, set their notes, skipping, and transitions, and animate their layers. They are listed only while a deck is open, so agents working on designs and boards carry none of them, and list_documents reports each document's kind.
  • Open .jam and .deck files from ?file= web links, as .fig and .pen files open.
  • Scripts bind a text style's font, size, spacing, and paragraph fields to variables with TextStyle.setBoundVariable and read them from boundVariables, as in Figma; texts using the style follow the variables in their own modes (#2384).
  • HTML import binds padding, gaps, fixed sizes and radii written as calc() over custom properties, such as Tailwind's calc(var(--spacing) * 4), to formula variables that keep computing from the variables they name (#2394).
  • HTML import makes components a page marks with Reka UI element names, such as data-op-reka="Switch.Root" and Switch.Thumb, behave as those controls in preview and code export, with their values bound by data-op-behaviour (#2396).
  • The Typography section edits underline and strikethrough style, thickness, offset, colour, and ink skipping, plus vertical trim and links (⌘K while editing text). More features lists the font's own OpenType features, such as stylistic sets and number styles (#2398).
  • Small caps and forced small caps render from the font's own small capitals. You can set them in the Case menu for fonts that have them, and they carry through .fig files, the plugin API, and HTML/CSS (#2398).
  • Add "Lumen 2 launch" to the community gallery: an example deck that presents the tour’s music player, with a live shader cover, working controls on the slides, light and dark modes from one Theme, builds, transitions, and speaker notes.
  • HTML import makes an element marked data-op-instance (and data-op-variant for a set) an instance of that component, with its text as overrides, where it draws what the component draws (#2405).
  • Edit a shader's color stops, such as a mesh or linear gradient's palette, with the gradient editor instead of the preset's JSON.
  • The CLI draws documents with the fonts installed on its machine, as the desktop app does; OPENPENCIL_FONT_DIRS chooses the folders it reads.
  • HTML import makes the instances of a control a page marks inside a radio group or toggle group that group's items, and lays out a display: contents element's children as its parent's, as CSS does (#2435).
  • A minimap in the corner of the canvas shows the whole page: click it to jump, drag its rectangle to pan, scroll to zoom, and double-click to zoom to fit. Hide it from its right-click menu or View › Minimap (#2452).
  • HTML import holds tab panels written under Tabs.Root in its panels slot, and hides a layer the page marks data-op-hidden without leaving room for it, so a closed panel is there for preview to show (#2457).
  • Libraries on OpenPencil Cloud: a workspace's documents can be published as libraries, which anyone in the workspace can use from Manage libraries → Workspace and only the document's editors can publish, each version kept in the document's history (#2500).
  • Mesh gradient fills: colors at the points of a grid, edited in the fill picker's Mesh tab and by dragging points and handles on the canvas; pen.dev mesh gradients now import, and Figma shows a still of each mesh (#2492, #2502).
  • Settings › MCP sets the port the desktop app's MCP server listens on, and OPENPENCIL_MCP_PORT overrides it. A server on another port than 7600 keeps its own socket and discovery file, so it runs beside one on 7600, and the CLI and the stdio server reach it through OPENPENCIL_MCP_PORT (#2504).

Changed

  • The official Cloud editor no longer asks people to install the desktop beta, now that the stable release works with Cloud.
  • The web app at app.openpencil.dev says OpenPencil is moving to cloud.openpencil.dev, with the date the address starts redirecting there, and opens the same page there; files kept in that browser stay behind, so save them to Cloud or download them first.
  • Shaders in preview show their still frame instead of playing when the system asks for reduced motion.
  • The download page offers the nightly build in place of the beta, with links that stay current from night to night.
  • create_shape makes text that fits its content when given no size, and text that wraps when given only a width, instead of requiring a fixed box; other shapes given no width or height are refused with the one to add.
  • Settings → Cloud no longer offers the OpenPencil Cloud waitlist, now that Cloud is open; sign up at cloud.openpencil.dev instead.
  • A progress bar behaviour no longer needs a Track slot: as in Reka UI and Radix, its root can be the track (#2397).
  • A gradient stop's colour picker opens beside the fill picker with their bottom edges aligned, as in Figma.
  • On macOS the tab bar is the window's title bar, with the traffic lights in a tab row as tall as Figma desktop's, which gives the canvas about 26 pt more height. Banners now open below the tab bar (#2443).
  • On Windows the tab bar is the window's title bar too, ending in Windows-style minimize, maximize, and close buttons, with Windows 11's snap layouts on maximize. On Linux, Settings › General › Title bar can do the same, with GNOME-style buttons (#2468).

Fixed

  • A component library publishes when one of its components contains an instance of a variant.
  • Text whose font is missing and that draws in a substitute face no longer loses descenders and overflowing lines at reduced opacity, with a blend mode or a layer blur, or in PNG export bounds (#2117).
  • Soft light layers, fills, strokes and shadows blend as Figma draws them instead of too light on dark backdrops, and PDF export keeps them as soft light (#2134).
  • Existing artwork stays visible while an agent's edit loads fonts for the text it added or changed (#2208).
  • Saving an editable .fig layer no longer fails when drawing the file preview throws; the preview falls back to the 1×1 placeholder.
  • Display P3 documents draw, blend, and export in their color profile, as in Figma: blend modes work on the document's P3 components on any screen, PNG, JPG, and WebP exports keep the P3 profile, swatches and the color picker show the document's P3 colors, and a saved Display P3 .fig file reopens in Display P3 (#2234).
  • .fig export saves text that cannot be fully outlined, such as a character drawn by a fallback font, without its text layout, so Figma lays the text out itself instead of showing it blank.
  • The CLI reads standard input for a - argument wherever it stands, so openpencil tool call <tool> --args-file - and openpencil diff apply - <file> take piped JSON and patches instead of failing with missing arguments.
  • Variables deleted in Figma stay out of the variables panel, pickers, and the plugin API's local lists when a .fig file opens; layers bound to them still resolve them and mark them as deleted, and saving keeps them (#2261).
  • .fig files with variables of a type OpenPencil does not model, such as PAINT, open instead of failing, and saving writes those variables back unchanged (#2261).
  • Saving a .fig file keeps instances' slot content under the IDs Figma gave it, including content assigned to a slot the instance's variant does not show, and an edit inside slot content saves only the changed records instead of rewriting the file.
  • The Linux AppImage starts its MCP server, coding agents, and their installers with the host's libraries, so host programs they run no longer fail on the AppImage's bundled ones.
  • In a Display P3 document, colors that name their color space, such as color(display-p3 …) or oklch(), keep the color they name when given to the AI tools, design tokens, or design JSX, while sRGB syntaxes such as hex keep their values, as in Figma (#2272).
  • Display P3 documents export their colors as they are: CSS, HTML, and JSX write color(display-p3 …) and blend gradients in Display P3, SVG writes P3 colors or the nearest sRGB ones when exported as sRGB, exportAsync follows colorProfile, design tokens record their color space, and PPTX, draw.io, and PDF bring colors inside sRGB instead of reading P3 values as sRGB; color contrast lint measures them in the document's profile (#2273).
  • Material Symbols icons draw again when a document also names an icon outside the Material Symbols alphabet, such as arrow-left; that one name no longer makes Google refuse the whole font request.
  • SVG export now writes mask layers and imported clip paths as SVG <mask> definitions instead of drawing the mask shape visibly over unclipped content.
  • SVG export draws boolean operations as their combined shape, with their own paint, instead of painting their operands over a box.
  • Design JSX export keeps the alpha of translucent sticky note colors, connector strokes, and icon colors instead of writing them opaque.
  • Trackpad pinches on Linux zoom the canvas without resizing the side panels.
  • Ctrl+mouse-wheel zoom on Linux moves in small steps, as on Windows, instead of jumping several times per notch, in the desktop app and in browsers.
  • On desktop, a page whose site refuses the app's request, as bot protection does, is loaded in the app's built-in browser instead, which many such sites let through.
  • Preview and exported code lay out as the canvas does: auto layout layers overflow instead of shrinking, a space-between layout ignores its gap, strokes left out of layout take no room, and automatic line heights match (#2333).
  • Imported HTML keeps text as text under resets such as * { border: 0 solid }, underlines a link's flex items, moves layers by translate: calc(), and draws a focus ring around a box without a border as its outside stroke.
  • Large Cloud documents no longer rewrite their whole saved room when someone leaves after a small change, and editors wait longer between attempts to rejoin a room that keeps failing (#2337).
  • Columns and rows of a grid show their size in the Design panel, in fields wide enough to edit.
  • Lists in any font and truncated right-to-left text keep their bullets, numbers, and ellipses when copied to Figma.
  • Automatic text direction follows the first character with a strong direction, as the Unicode bidi algorithm does, so numbers, number signs, and marks before it no longer make text right to left.
  • draw.io, HTML, and Tailwind JSX exports draw boolean operations as their combined shape.
  • Large Cloud documents keep their live room working, instead of having it reset every time an editor rejoins or closed as overloaded while it grows (#2354, #2369).
  • A shape's corner radius handles show as soon as it is drawn or resized at any zoom, not only at 100%.
  • Right-to-left text aligned left or right stands at that side, as in Figma, on the canvas and in SVG and HTML exports; HTML import keeps a page's right-to-left direction and reads text-align: start and end in it.
  • Fixed-width text placed directly on the canvas keeps its width and alignment in HTML export.
  • Copy as text copies the text of the selected text layer instead of layer names.
  • Preview lays out more designs as the canvas does: a top-level frame that hugs its content keeps its width, an empty hugging frame keeps its size, wrapped lines pack or spread as aligned, negative gaps overlap, outside and centred strokes take no room, and text keeps its min and max widths, line limit with ellipsis, and cap-height trim; exported code follows the same layout rules (#2360).
  • Figma shader fills no longer draw as a dark veil, and their shader survives a .fig save and the Figma clipboard (#2361).
  • Texts follow the variables their text style binds, in every mode and at an instance's scale; while the style is attached, a text's own binding of a field the style sets waits, as in Figma, and binding one on the whole text keeps the style (#2362).
  • Auto layout rows aligned by baseline place text by its first baseline, as Figma does, instead of by its bottom edge; frames holding text align by that text and wrapped lines each by their own baseline (#2364).
  • A text range's own gradient, image, or stacked fills now draw on the canvas as in Figma, once and in place of the layer's fills, with gradients spanning the layer (#2371).
  • A .fig file with an empty boolean group no longer opens as a blank canvas (#2374).
  • Saving a .fig no longer fails when an edited or newly loaded layer binds a library variable the file does not hold (#2375).
  • SVG export keeps the opacity of gradient and image fills (#2377).
  • Preview keeps grid rows and columns that hug their cells at their size in a larger grid, as the canvas does, instead of stretching them (#2378).
  • Opening and saving .fig files keeps a text style's font style, font weight, paragraph spacing, and paragraph indent variable bindings (#2384).
  • Underlines, strikethroughs, and keycap frames now draw in all the paints of a text range with its own fills, a range whose fills were all removed draws nothing after a .fig round trip, and SVG export writes a range's gradient across its layer (#2385).
  • Opening a web page keeps text beside an absolutely positioned overlay, such as a card's stretched link, on the line it took instead of wrapping it over the text below, and shows a video's poster (#2387).
  • A .fig file lists every local style it keeps, used by a layer or not, and leaves out the styles Figma deleted; a layer still on a deleted style opens detached with its values, as Figma shows it (#2388).
  • Self-hosted Cloud stops at startup with a logged error when PostgreSQL does not answer within 10 seconds, instead of hanging silently without serving /ready (#2389).
  • While editing text, a colour or number variable bound from the panel, and a text or colour style applied there, now change only the selected characters instead of the whole layer, and a text range's own fill keeps its colour variable through .fig files and the plugin API (#2390).
  • FigJam shapes without a line show their inner lines, such as a database's rim, as gaps in the fill, and folders and multiple documents draw as FigJam draws them (#2391).
  • A stroke of zero weight draws nothing and is left out of SVG exports, as in Figma, instead of a hairline (#2391).
  • HTML import clips a box that hides its overflow on one axis, keeps fully round corners at an editable radius of 9999, and no longer makes empty frames for generated content that draws nothing (#2392).
  • .fig files whose color styles reference another style, or themselves, no longer fail to open pages or take the other style's color (#1966).
  • HTML import draws a text field's value, or its placeholder in the color the page's ::placeholder gives it, instead of an empty box (#2403).
  • FigJam documents draw their wavy bottom at a fixed height with rounded corners, as FigJam draws them, instead of a wave that grew with the page (#2408).
  • A .fig saved from a CLI script keeps the layers the script did not touch where they were: changing only plugin data, names, or locks no longer lays the document out again, and instance text that overrides its component's opens at its own measured size instead of the component text's (#1654, #2409).
  • Strokes with a pattern paint draw the pattern instead of a solid black line (#2413).
  • Inside and outside text strokes from .fig files stay on their side of the letters (#2414).
  • Text layers are named by their text and follow it until renamed, as in Figma, so layers the AI makes no longer all read "Text" (#2417).
  • A gradient with three or more stops shows each stop's full hex value in the fill picker.
  • SVG export draws gradient and image strokes, and text strokes, as the canvas does (#2423).
  • Opening a large page full of images no longer fails with "The operation was timed out" while the canvas is still drawing it (#2424).
  • Pattern fills opened from .fig files tile everything their source layer draws, children and strokes included, also when the source sits on Figma's internal canvas or the layer is exported alone (#2425).
  • Layers with a blend mode inside a pass-through group or frame with opacity now blend with what is under the group, as Figma does (#2426).
  • An instance created at another size than its component's scales the layers whose constraints scale, as resizing it afterwards does, instead of keeping them at the component's size.
  • Installed fonts that name themselves only in Unicode-platform name records, or leave their Windows English names blank, load by their names in the browser.
  • openpencil export -f jpg and -f webp against the running app write that format and honor --quality, instead of PNG data.
  • openpencil lint --fix updates instances of the components a fix changes.
  • Imported HTML lands on a page named after the file or web page in the CLI and MCP, as in the app.
  • Text set at a weight above 900, such as 950, loads and is named as Black instead of Regular.
  • The Code panel's Vue and React output draws icons from a set with the Iconify component instead of inlining their paths (#2438).
  • Undoing a variable binding change no longer brings back other bindings the layer lost since (#2439).
  • A text range bound to a library variable the .fig does not hold keeps its binding when the text is edited and saved (#2439).
  • The desktop font picker marks the italic faces of installed fonts such as Inter and Avenir Next as italic (#2442).
  • Documents with a library style or variable pasted more than once open again and save without the extra copies, and pasting a library style or variable the document already has reuses it (#2441).
  • Recent files on Home and in Open Recent no longer list files that were deleted or moved, instead of showing the system error when one is opened (#2446).
  • A pen path drawn over a frame goes into that frame, as other drawn layers do, instead of onto the page (#2447).
  • Shift+A lays layers out in a column or a row by the gaps between them, as Figma does, so a column with one long text no longer becomes a row (#2447).
  • The padding fields have names screen readers can read, such as "Horizontal padding" and "Top padding" (#2447).
  • Renaming a page puts the cursor in its name field (#2447).
  • Google fonts in Latin, Cyrillic, Greek, Vietnamese, and Arabic text download as Google's whole language files instead of files cut to the text, so the type settings panel offers every OpenType feature Google serves for them, such as EB Garamond's fractions and tabular figures; CJK and characters no language file holds still load cut to the text (#2450).
  • An instance or frame stretched by auto layout now scales the vectors its constraints scale, as resizing it does, instead of drawing them at their old size (#2349).
  • HTML import aligns flex items at the start or the end, as the page does, instead of stretching them or packing them at the start (#2457).
  • HTML import keeps a flex item sized to its content, such as width: fit-content, at its own width instead of stretching it, and draws the text of a list that keeps its padding where the page does, with markers outside its lines in that padding (#2460).
  • Typing a vector's width or height in the properties panel now scales its path with its box, as dragging a handle does.
  • Cloud stops reconnecting an editor every few seconds to a shared document whose live room fails to open; the editor leaves the room and keeps saving the file (#2466).
  • Boards no longer offer View → Rulers or Rulers in the zoom menu, which did nothing there (#2474).
  • HTML import sets text in a web font the page splits into files by unicode-range, as Google Fonts and Fontsource serve subsets, in that font from whichever file holds each character, the same from one import to the next, rather than sometimes wider in a fallback font (#2480).
  • Collaborators editing one Cloud document no longer give component instances a second copy of the layers a component gains, which made saving fail with "Ambiguous instance geometry address" (#2451).
  • Saving a Cloud file that someone moved to Trash before its first save no longer fails over and over: its status says it is in Cloud Trash, and Try again saves it once restored.
  • Pen points land on the half-pixel grid while Snap to pixel grid is on, and Shift holds the direction from the last point to 15° steps, as in Figma (#2486).
  • Text and visibility bound to variables keep an instance's own mode when its main component is edited.
  • HTML import draws translucent text, borders, and focus rings at their CSS alpha, rather than text at that alpha squared, such as a 50% gray at 25% (#2493).
  • Tailwind export sets a font size, font family, or border, outline, stroke, or decoration width from a variable with the class Tailwind reads as that property, such as text-(length:--text-sm), rather than as a color or a font weight (#2495).
  • Token export writes a number an imported page's CSS keeps unitless, such as a line height of 1.5, without a unit, rather than in pixels (#2495).
  • Live controls in Preview and presentations draw their text in the same Inter as the canvas on desktop systems with Inter installed, so text no longer changes width when a slide finishes its transition (#2501).
  • HTML, Tailwind, and component export draw a stroke outside the edge or centered on it as box shadows, which take no room, rather than as a border that draws inside the box and moves its content (#2503).
  • Exported code makes a frame with an absolutely positioned layer that layer's containing block, keeps a layer that fills a centered column up to its maximum width centered, and keeps text that stretches across its column stretched (#2503).
  • Generated React and Vue accordions and preview use an item's header part, which design JSX writes as Accordion.Header or Collapsible.Header and HTML import reads from a marked header, as the heading its trigger is in, so the trigger fills the row as designed (#2503).
  • Generated progress bars and sliders place their indicator and thumb from the value alone, rather than also from where the design draws them (#2503).
  • HTML import makes an element holding only text that sets its own position, width, or alignment one text layer, rather than a frame around one, and leaves a property marked inside an instance to that instance's component (#2503).
  • The desktop app's editor connects to the MCP server the app started, not to another one that holds port 7600, and Settings names a port another program holds (#2504).
  • Tool cards show a command an agent runs as written, rather than title-casing it (#2504).
  • A library component kept from an earlier revision draws the current version of a component published beside it, instead of an outdated copy (#2505).

Performance

  • Contrast lint is many times faster on frames with thousands of text layers (#2206).
  • Exports of images with adjustments are many times faster (#2267).
  • Opening a page of a large .fig file builds its layers with less copying and comparing; a 25,000-layer Material 3 page loads with roughly 15–20% less CPU time (#2338).
  • The HTML import engine downloads a smaller WebAssembly module: 6.0 MB instead of 7.4 MB, 2.3 MB gzipped (#2402).
  • Changing a layer inside a frame redraws only the canvas around that layer instead of the whole frame, so editing text, recolouring, or moving a layer in a frame that fills the view no longer repaints the whole view (#2412).
  • PNG, JPG and WebP export is about two to three times faster with WebAssembly SIMD (#2421).
  • The desktop app is smaller to download: release builds strip symbols and optimize across crates again (#2431).
  • The desktop app lists installed fonts for the font picker in about a tenth of the time, about 0.1 s for 462 font files on macOS (#2442).
  • Asset thumbnails redraw only the layers an edit changed, once editing pauses, instead of every visible thumbnail on each change (#2449).
  • The layers panel no longer rebuilds every row while a large page loads, and builds the rows inside a layer only once it is expanded (#2472).

Security

  • Cloud pages also send Cross-Origin-Resource-Policy, Origin-Agent-Cluster, X-Download-Options, X-Permitted-Cross-Domain-Policies, and X-XSS-Protection: 0.
  • On desktop, an imported web page, HTML file, or pasted page loads its files only from public addresses, so it cannot make the app read from this computer or the local network; a page at localhost or a private IP address, such as a development server, still loads its own.
  • The desktop app runs its windows under a content security policy that allows scripts only from the app itself, so an inline script or event handler in imported or pasted markup cannot run.
  • On desktop, the app itself starts coding agents, the MCP server, and the harness, and asks you in a window of its own before an agent runs a tool other than OpenPencil's own, switches to a mode that never asks, or has an OpenPencil tool read or write a file it named; Claude Code chats start in Manual.
  • On desktop, the editor reaches only the files you open, save, or allow, and a recent file from before this release is picked again in the Open dialog.
  • The desktop app updates its TLS, certificate, URL, cookie, async runtime, and Zstandard libraries past their published vulnerabilities, and the HTML import engine its URL parser (#2431).
  • The desktop app treats IPv4-compatible IPv6 addresses such as ::5 as the IPv4 addresses they hold, so a request cannot reach a private address written that way (#2445).

如何在 Mac 上安装 OpenPencil

Homebrew 会把应用安装到“应用程序”文件夹。

不用 Homebrew 安装

按芯片下载 Homebrew 使用的文件: 安装细节

卸载 OpenPencil 与可选的数据清理

卸载命令
brew uninstall --cask openpencil

普通卸载会删除应用本身,设置和缓存会保留。

深度清理(可选)
卸载命令
brew uninstall --zap --cask openpencil

--zap 还会删除 Homebrew 定义里列出的设置、缓存等文件,其中可能有其他应用共用的数据,删除后无法恢复;它也不保证没有任何残留。请先备份需要保留的数据;如要保留设置和缓存,请不要加 --zap。

关于 OpenPencil 的常见问题

OpenPencil 安全吗?

OpenPencil 收录在 Homebrew 官方软件库中,没有被停用。自 2026 年 9 月起,Homebrew 会停用没有通过 macOS Gatekeeper 检查的应用。安装时,Homebrew 会用 SHA-256 校验值核对来自 github.com 的安装包。过去 30 天,它通过 Homebrew 安装了 601 次。

OpenPencil 是开源软件吗?

OpenPencil 的源代码公开在 GitHub 上(open-pencil/open-pencil),使用 MIT 许可证。

怎样在 Mac 上彻底卸载 OpenPencil?

运行 brew uninstall --cask openpencil。要连设置和缓存一起删除,运行 brew uninstall --zap --cask openpencil。--zap 还会删除 Homebrew 定义里列出的设置、缓存等文件,其中可能有其他应用共用的数据,删除后无法恢复;它也不保证没有任何残留。请先备份需要保留的数据;如要保留设置和缓存,请不要加 --zap。这会再删除 5 处文件和文件夹,包括 ~/Library/Application Support/net.dannote.open-pencil。

OpenPencil 支持 Apple 芯片(M1 及更新)的 Mac 吗?

支持。Homebrew 会为 Apple 芯片和 Intel 芯片的 Mac 分别下载不同的安装包。需要 macOS 13 或更高版本。

OpenPencil 的设置和数据保存在哪里?

设置保存在 ~/Library/Preferences/net.dannote.open-pencil.plist。数据保存在 ~/Library/Application Support/net.dannote.open-pencil。这些位置来自 Homebrew 的清理清单。

OpenPencil 的最新版本是多少?

最新版本是 0.17.0,Homebrew 收录于 2026年11月22日。OpenPencil 会自动更新;想用 Homebrew 更新时,运行 brew upgrade --cask --greedy openpencil。

相似应用

  • Canva适用于 Mac 的桌面设计工作空间,提供 Canva 工具,用于制作演示文稿、社交内容、文档、照片、视频及其他视觉项目。
  • VectorCraft使用 Rust 构建的开源矢量插画应用,提供钢笔工具、可编辑效果、图像描摹及 SVG/PDF 格式互通。
  • Blender LTSBlender 的长期支持版。Blender 是一款免费开源套件,用于 3D 建模、动画制作、渲染、合成、运动跟踪和视频编辑。
  • SF SymbolsApple 的符号浏览与设计工具,可搜索、预览并导出适用于 Apple 平台应用的可缩放界面符号。
查看更多