OpenAltFinder
open-pencil

open-pencil

AI-native design editor with real-time collaboration, component system, and Figma-compatible file format.

Open source alternative to:

Screenshot 2026-10-26 at 18-26-27 Demo — OpenPencil.png
Screenshot 2026-10-26 at 18-26-14 Demo — OpenPencil.png
Screenshot 2026-10-26 at 18-26-44 Demo — OpenPencil.png
1 / 3

OpenPencil is an open-source design editor that reads and writes native .fig files alongside its own .pen format. It ships as a roughly 15 MB Tauri desktop app for macOS, Windows, and Linux, as a browser PWA, and as a CLI, so the same document can move between a local app and the web.

The editor covers components and variants, flex and CSS Grid auto layout via Yoga WASM, variables, styles, design tokens, image vectorization, and design-to-code export to JSX/Tailwind, Storybook stories, PNG, JPG, WEBP, SVG, PDF, and PPTX. Real-time collaboration is peer-to-peer over WebRTC, with no server or account, and includes cursors, presence, follow mode, and voice calls. AI features let you describe a design in chat and have the assistant create or modify nodes through more than 100 tools, using OpenRouter, Anthropic, OpenAI, Google AI, DeepSeek, Z.ai, MiniMax, or compatible endpoints.

Compared with Figma's seat-based, cloud-first subscriptions, OpenPencil is MIT-licensed, works offline in the desktop app, and opens existing .fig files, so you can bring designs over and copy-paste nodes between the two. It is also programmable: the headless CLI supports XPath queries, linting, format conversion, and the Figma Plugin API via eval, plus an MCP server and agent integrations for Claude Code, Codex, and Gemini CLI. The project describes itself as usable today but still under active development, with rough edges as features evolve.

Frequently Asked Questions

Which platforms does OpenPencil run on?

There is a desktop app for macOS 13 or later, Windows 10 or later, and Linux with WebKitGTK 2.40 or newer. A browser app runs in Chrome or Edge 111 or later, Firefox 128 or later, and Safari 16.4 or later, and can be installed as a PWA. The CLI is distributed as the npm package @open-pencil/cli.

Can OpenPencil open my existing Figma files?

Yes. OpenPencil reads and writes native .fig files, opens .pen documents, and supports copying and pasting nodes between OpenPencil and Figma. The CLI can also convert between .fig and .pen, import HTML and CSS as editable layers, and export designs to PNG, JPG, WEBP, SVG, PDF, PPTX, JSX, Tailwind, or Storybook stories.

Does OpenPencil work offline, and how does collaboration work?

The desktop app runs offline against local files. Collaboration is peer-to-peer over WebRTC with no server or account required, and adds cursors, presence, follow mode, and voice calls. The web app needs a supported browser but does not require a hosted OpenPencil backend.

Which AI providers can OpenPencil use?

You can connect OpenRouter, Anthropic, OpenAI, Google AI, DeepSeek, Z.ai, MiniMax, or another OpenAI-compatible endpoint by supplying your own API key. The assistant has more than 100 tools for creating and modifying nodes, so it can build layouts and edit existing designs from a chat prompt.

Does OpenPencil have a CLI or API for automation?

Yes. The @open-pencil/cli package can inspect node trees, query documents with XPath, lint naming, layout and accessibility, analyze colors, typography and spacing, run the Figma Plugin API through eval, and export or convert files. There is also an MCP server and agent integrations for Claude Code, Codex, and Gemini CLI, plus a headless Vue SDK for embedding the editor in other apps.

OpenAltFinder Score
67/100
Project Health (50%)
75/100
License (20%)
100/100
Self-hostable (20%)
0/100
Recency (10%)
100/100
How scoring works
Project Details
Platforms
Desktop, Web, CLI
License
MIT
Self hostable
No
Repository details
Version
v0.16.0
Created
2/27/2026
Stars
10,002
Forks
1,091
Open issues
150
Last commit
11/22/2026

Updated 11/22/2026, 1:00:51 AM

View Repository
Repository activity
Sponsor open-pencil

Get the latest open source alternatives delivered weekly.
Discover tools that give you freedom from proprietary software.

Similar open source alternatives