An open-source, Framer-familiar visual web design editor. Framer's editor is the reference: the same information architecture, panel placement, terminology, shortcuts, interactions and dark visual language, rebuilt from scratch.
Status: early development. The core editor is being built in public. Nothing here is production-ready yet.
npm install
npm run dev- Editor: http://127.0.0.1:5173
- API: http://127.0.0.1:8787
Projects are stored as plain JSON under .webfm-data/ by default. Set
WEBFM_DATA_DIR to use another directory.
- The Framer 3.0-shaped editor: top bar, Pages/Layers/Assets, Agent/Style, canvas, breakpoint bar, floating toolbar, extracted Inter UI font and chrome SVGs.
- Pages with Frame, Stack, Text and Image; add/switch/rename/search, page settings for name/path/background/CMS collection, duplicate and delete from the page menu; select, move, resize, text editing, layers with rename/hide/lock/drag, align/distribute, undo/redo and nudges.
- A Style panel for breakpoint position/size (including an aspect-ratio lock), layout, typography (including paragraph spacing), fill, border, radius, shadow, rotation, blend modes, blur, backdrop blur, opacity, overflow, cursor and user select, with responsive overrides.
- Components: create from a layer, instances, master editing, variants, property controls with instance overrides, replace with another component, and default variants.
- Assets: one-level folders with create, rename, delete, filtering and per-asset folder assignment; image upload and insertion remain in the panel.
- Code components: Assets -> Code with a live code-file editor, server-side TSX compilation with Framer-style property controls, and a self-contained published runtime.
- CMS: collections with typed fields, items and reference fields, a CMS workspace (Alt+2), text and image bindings on dynamic pages, plain-text and image editing on the dynamic page, and per-item routes when publishing.
- Custom fonts: upload WOFF2/WOFF/TTF/OTF files in Assets, register families with weight and style, and use them from the Typography and text-style pickers. Published sites get @font-face and the font files.
- Settings: site title, description, canonical URL, favicon, social image, custom head/body code and robots.txt; published pages emit the title, description, favicon and Open Graph tags, and robots.txt is written when set.
- Custom breakpoints (add/remove) and Appear/Hover/Tap/Press/Drag/Scroll/Loop effects with Fade/Slide/Scale, duration, delay, Ease In Out and custom cubic-bezier easing.
- Preview with inspect/highlights and a pluggable static publish pipeline with assets and zip download.
Not built yet: auth/cloud deployment, hosting, multiplayer, comments and import.
| Path | Purpose |
|---|---|
packages/model |
Versioned project document, operations, history. No DOM. |
packages/render |
Shared React/DOM renderer used by the editor and the publisher. |
packages/publish |
PublishAdapter interface, static-site exporter, zip output. |
apps/server |
Local/cloud-ready HTTP API, filesystem project store, assets. |
apps/editor |
The editor UI (Vite + React + TypeScript). |
docs/ |
Architecture, decisions, state, Framer reference notes. |
| Command | Meaning |
|---|---|
npm run dev |
Start API and editor together. |
npm run check |
Typecheck, unit tests, production builds. |
npm test |
Unit tests (Vitest). |
npm run build |
Build server and editor. |
Publishing is an adapter boundary, not a hosting product. The repository ships a
static exporter that writes self-contained HTML/CSS/JS and assets, plus a zip
artifact. Other targets implement PublishAdapter. See
docs/PUBLISHING.md.
UI reference screenshots, extracted icons and computed-style notes live under
.reference/ and are not committed. Their provenance and redistribution caveat
are recorded in docs/FRAMER-ASSETS.md. WebFM does not
contain Framer source code.
AGPL-3.0. See LICENSE.