Skip to content
siteoriginPublic

About

No description, website, or topics provided.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

8,548 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SiteOrigin Builder icon

SiteOrigin Builder

Websites you own, built visually.
A free, open-source desktop editor, made first for business sites, blogs, portfolios and small publications, with room to grow into your own code, server endpoints, outside data and Git.
Every site is a plain SvelteKit project in a folder you control. No account, and no Builder code in the published site.

Licence: Apache-2.0 Status: working towards 1.0 Runs on macOS, Windows and Linux

Quick start · Features · Your site, your code · How it works

The SiteOrigin Builder editor with a pottery studio's home page on the canvas, its hero section selected in the Layers tree and open in the Inspector
Editing the home page of Ember & Clay, a made-up pottery studio. The canvas, the Layers tree and the Inspector share one selection.

You edit the site on the canvas, and you can ask the AI assistant when that's quicker, using a cloud model or one running on your own machine. Search previews, health checks and live sessions for walking a client through the site are built in. Builder comes from the makers of Page Builder by SiteOrigin, and it's made for sites that publish content, not for web apps, online stores or sites with user accounts.

Note

Builder is working towards 1.0. It already builds complete multi-page sites, but the project format can still change before then, so keep a project you care about in git. The screenshots are of the real app.

Quick start

Installers come with 1.0. For now, run Builder from source with Node 24.15 or later in the 24 line (22.22.2+ and 26+ also work; see the contributor guide):

git clone https://github.com/siteorigin/builder.git
cd builder
npm ci
npm run dev

Choose New project, pick the Business starter and start editing. Export gives you the finished site. The AI assistant is optional: add a key or point it at a local model in Settings → AI assistant. If something goes wrong, report a problem.

Features

Design on the canvas

Click an element to select it, and double-click text to change it right on the page. The Inspector shows the controls for whatever you picked, from text, links and images to layout, spacing, typography and appearance, and the toolbar switches the whole window between Edit, Preview and SEO.

  • Sections and layouts. Insert sections from a library with live thumbnails, drag them into order, or wrap elements in a stack, row or grid.
  • Reusable components. Save a section as a component, edit it everywhere at once, or make one copy unique.
  • Responsive overrides. One page and one set of styles, with overrides for phone, tablet and desktop only where you need them.
  • History and versions. Undo survives a restart, and you can save named versions, keep them as Git snapshots, and restore any of them.

One theme, Foundation, ships with Builder: 44 sections and blocks, from heroes, galleries and pricing tables to FAQs, contact forms and blog layouts. Colours, fonts, text styles, buttons and spacing live in Site styles as site-wide tokens. Change the brand colour once and every button and link that uses it follows, with contrast checked as you go.

Site styles open beside the canvas, showing the terracotta palette, its preview and the note that every colour pair in it is readable
Site styles. Every pair in the palette's preview is checked for contrast, and the hero follows the brand colour.

The AI assistant

The assistant makes its changes through the same validated edit operations as the visual editor, so they behave exactly like yours. Ask for something and it reads the page, makes its changes, checks them and reports back. Each request lands as one undo step, and Stop and undo takes back a request that's still running.

It works within strict limits:

  • Scope is explicit. A request scoped to the selected element can only change that element and what's inside it. One scoped to a page changes only that page, and can add links to it in the header or footer menu. Anything wider needs your approval, and the assistant asks for it.
  • Builder's tools only. It has no shell, filesystem or open network access. It acts through the editor's own tools, which can also read a sample from a data source you've connected.
  • No image pixels go to the model. Pictures you paste or drop into the chat are added to your Assets, and the model gets their name, alt text and description instead.
  • No custom Svelte components unless Developer mode is on. By default it works with theme components and site styles.

The AI tab partway through a request: an earlier request has finished with a summary, and the current one has added a winter studio sale section, already visible on the canvas, while it checks the page at phone width. Stop and undo sits in the run's status row and in the notice over the canvas
A request in progress. The new section is already on the page, and Stop and undo is one click away.

Switch the composer to Ask for answers that change nothing, or have the assistant open a page, fill a collection or save a version. Page text and structure go to the provider you choose: OpenAI, Anthropic, or a local model through an OpenAI-compatible server, with presets for llama.cpp, Ollama, LM Studio and MLX. Run the model server on your own computer and the assistant's requests stay on that machine.

Content: posts, collections and outside data

Builder includes an optional flat-file CMS. A site that doesn't need it stays simple.

  • Posts. Categories, tags, archives and an RSS feed, with drafts, a writer of their own and bulk publish, file and delete.
  • Collections. Structured content like classes, team members or projects, each with its own fields, edited in Content, with an optional page per entry.
  • Browsing for visitors. A collection's index can let visitors search, filter and sort it, with no server.
  • Loops and queries. Any section can repeat over a collection with filters, sorting and limits. It all resolves to plain Svelte at build time.
  • Outside sources. Pull content read-only from WordPress, a headless CMS like Contentful, Sanity or Strapi, a GraphQL endpoint or your own REST API. API tokens stay in your user folder, never in the project or the export. An exported project can also fetch fresh content with npm run sync, in CI for example, reading tokens from environment variables; open it in Builder again to rebuild the pages before you publish.

The Wheel basics class from the Classes collection open in Content, with its start date, sessions, level, price, places and photo fields
A class in the Classes collection. Its fields are the collection's own, and each class gets a page under /classes/.

Search and Project health

SEO in the toolbar takes over the canvas. It opens on an overview of every page, post and collection entry with a page of its own, and flags the ones that still need a search title, description or sharing image. Choose one and you get a realistic results page, with your own result marked among sample results, and it updates as you type.

  • Search results and link previews. Computer or phone, light or dark, plus each platform's share card, so you can see where a title gets cut short or an image is missing.
  • Structured data in plain words. What search engines are told about the page, with the raw JSON-LD tucked away.
  • Built into the export. robots.txt with a crawler policy and redirect rules for Cloudflare, Netlify or Vercel, plus sitemap.xml, canonical links and hreflang alternates once the site has its public address.
  • Ready for AI agents. llms.txt by default (unless Crawlers keeps AI search and assistants out), and optional Markdown copies of each page and WebMCP declarations for your forms and search.

The SEO view for the home page: Ember & Clay is marked Your page among sample search results, beside its Search and sharing settings, with a note that its 12-character search title is short
The SEO view. The home page's result is marked among sample results, and a note says its search title is short.

Project health keeps watch while you work: broken links and links to drafts, missing images and alt text, unreadable text colours and other accessibility checks, sample copy left over from the starter, and each page's first-visit weight, measured at export.

Project health with one problem, a published journal post linking to a draft that stops the website export, then a warning for a photo with no alternative text and a Search and AI readiness warning that the site does not say who publishes it
Project health. A published post links to a draft, which stops the website export until it's fixed.

Working together

Click Share, then Start live session, and copy the invite link. Guests type a name in a waiting room, and you let them in. It's built for walking a client or a colleague through the site while you talk, so there's no chat.

  • Three roles. Viewers watch the live site in any browser, with nothing to install and no account. Copy editors and collaborators join from their own copy of Builder: copy editors change the words and pictures, and collaborators can change layout and styles too.
  • Your machine stays in charge. It's the only place the project is written. Guests never see your files, settings, API keys or other projects, and you can let a trusted collaborator use AI, on your machine with your provider.
  • Notes and time limits. Guests can pin short notes that stay on your machine as a checklist. Sessions end after a time you pick, and you can lock one or remove anyone.
  • An open relay. The relay is an open-source Cloudflare Worker in this repository. It stores no project files and no accounts.

The Live session popover with its invite link, one guest waiting to join, a copy editor and a viewer in the session, and the switches for locking the session and allowing guest notes
A live session: one guest in the waiting room, a copy editor and a viewer already in.

Your site is a SvelteKit project

Visual edits are saved as JSON documents under siteorigin/, and a generator turns them into ordinary Svelte and CSS. The exported site has no Builder runtime in it.

ember-and-clay/
├── siteorigin.project.json   # marks a Builder project
├── siteorigin/               # pages, components, styles, collections (JSON)
├── src/routes/               # generated SvelteKit routes
├── src/lib/siteorigin/       # generated and custom components
├── static/                   # images, sitemap, robots.txt, llms.txt
└── .siteorigin/              # private editor state, never exported

Export offers two things, each as a folder or a ZIP file:

  • The website, ready to publish. Every published page prerendered and checked for editor-only markup, with photo location and camera data stripped. By default that's plain files for any static host; a site set to deploy as a Node.js server exports one instead, for API endpoints of its own, with its pages still prerendered.
  • The editable project. An exported folder or ZIP opens straight back up in Builder, for a backup or a handover, and it builds with plain npm ci && npm run build for anyone using standard developer tools. The private project brief and to-do list stay behind unless you ask to include them.

Turn on Developer mode in Settings and the Code workspace opens the project's code beside a live preview: your own Svelte components and their properties, helpers in src/lib/, and pages and API endpoints in src/routes/. Every component save is checked to compile for browser and server and to avoid raw HTML and eval, and the project's Svelte check and tests run from the same window. Developer mode is off by default, because most people building a site like this never need it.

The Code workspace with a Kiln countdown Svelte component open in the editor, reporting no problems, and its live preview counting down to the next kiln opening
The Code workspace. A Svelte 5 component of the site's own, checked as you type and previewed on its own.

Also included

Forms, images and fonts, languages, imports, site settings, client review and everyday tools
Area What you get
Forms Contact and signup forms with text, choice, date, time and hidden fields, sent to Formspree, Basin, Getform, Web3Forms or Netlify Forms, so you don't need a server, with Cloudflare Turnstile against spam where the service verifies it.
Images and fonts AVIF and WebP copies made on import, a list of where each image is used, replace everywhere, and your own fonts, with TTF and OTF converted to WOFF2.
Languages Pages linked to their translations, right-to-left text, and hreflang in the export.
Imports Posts and pages from a WordPress export, with Yoast, Rank Math and SEOPress search settings and the old addresses kept working, or posts from a folder of Markdown (Jekyll, Hugo, Eleventy and Astro front matter).
Site settings Business details for contact sections, the footer and structured data, site search, analytics (Fathom, Plausible, Umami, Cloudflare Web Analytics and Google Analytics) with an optional consent banner, and your own <head> code and CSS in Developer mode.
Client review Chosen pages captured at desktop and phone widths into one HTML file a client can open without Builder.
Everyday tools Find and replace across pages and posts, a command menu (Cmd/Ctrl+K) and right-click spelling suggestions.

How it works

Manual edits, assistant edits and collaborators' edits all go through one edit engine, which validates them and writes the project's JSON documents. A generator turns those documents into plain SvelteKit, and the project's own dev server shows it in the canvas.

flowchart LR
  Edits["You, the assistant<br/>and collaborators"] --> Engine["Edit engine<br/>validation, undo"]
  Engine --> Docs[("siteorigin/<br/>JSON")]
  Docs -->|generates| Src["src/<br/>SvelteKit"]
  Src --> Preview["Live preview"]
Loading
  • One edit pipeline. Every change is an EditOperation, checked against the same schemas and scope rules before anything is written.
  • Real preview. The project's own Vite and SvelteKit dev server runs in an isolated utility process on loopback, so the canvas shows the actual site.
  • Bundled runtime. The packaged app ships its own Node and npm and an offline copy of the starter's packages, so a new project needs no network on Windows and Linux. On macOS the first project downloads the build tools' native parts once.

Roadmap

The long-term goal is a free, private website builder whose assistant runs on your own computer out of the box. We're aiming to ship our own local model in early 2027: Qwen3.5-2B under Apache-2.0, fine-tuned for Builder on real editor operations from synthetic or explicitly contributed examples. Training uses only those examples, never your projects or chats. Cloud providers keep working through the same adapter, as optional extras.

Also planned: installers for macOS, Windows and Linux, signed and notarized on macOS (see the release checklist); SiteOrigin Hosting for one-click publishing, with export still the default; and more themes, installable as packs.

Development

The contributor guide has the full setup, the checks every change needs and the house rules. Some unit tests and the packaging commands also need Playwright's Chromium: npx playwright install chromium (on Linux add --with-deps).

npm run dev                  # the app with hot reload
npm run typecheck
npm test                     # unit and integration tests
npm run build
npm run test:e2e             # the built app, driven headless
npm run eval:agent           # agent benchmark (--live costs money)
npm run dist                 # installers: DMG, NSIS, AppImage

End-to-end scripts run the real app headless, so nothing pops up while they run. API keys you save live in api-keys.json in the app's data folder, readable only by your user account on macOS and Linux, beside the files the app's other sign-ins are kept in. Encrypting all of them with a key kept by the macOS Keychain, Windows data protection or your Linux desktop's keyring is off until you turn it on in App settings › General; the app never touches the OS keychain before that, nor in an automated launch. The README's screenshots come from tests/e2e/design/readme.mjs.

Licence

SiteOrigin Builder is released under the Apache License 2.0. The built-in theme is MIT-0, so the code it generates in your site is yours to do whatever you like with. Icons are from Lucide (ISC). The bundled fonts (DM Sans, Fraunces, Inter, Lora, Playfair Display, Plus Jakarta Sans and Space Grotesk) are under the SIL Open Font License 1.1. The starter sample images are original, and free to use, modify and redistribute in websites built with SiteOrigin Builder (see resources/starter-assets/NOTICE.md).

About

No description, website, or topics provided.

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages