Developers

This group is for developers and technical users. It shows how a Splitleaf site is made, and how to work on it with your own tools.

The Code editor in the Designer, with the Html tab of the home page and the Elements tree on the left.
The Code editor shows the HTML of the page. A change in the code shows on the canvas.

Why developers like Splitleaf

  • The site is a folder of plain files. Pages are HTML files. Styles are CSS files. Content is Markdown and JSON. You can open every file in any editor.
  • One file of the App's own. The site folder holds one Splitleaf file, splitleaf.config.json. The App keeps its own bookkeeping outside the site folder, in app data.
  • Clean output. A publish removes the Splitleaf markers. The live site is static HTML, CSS and images, with no framework. A small script ships only on pages with a filter form.
  • No lock-in. Every site is a Git repository on your GitHub account. You keep the source and the build, with or without the App.
  • Git that you know. main is the live site. Every publish is one commit and one release tag.
  • Edit with any tool. The App watches the site folder. A change from your IDE or from Claude Code shows in the App at once.
  • Work is never lost. The App compares with the disk before it saves. It keeps a copy before it removes or replaces a file.
  • Published schemas. The three JSON files the App writes name a JSON Schema. Your editor can check a hand edit as you type.

Articles

ArticleWhat it covers
Site structureThe files and folders of a site, splitleaf.config.json, and what lives in app data
Component filesThe component file format: <template data-opt-component> and data-opt-schema
Content filesCollections and items as JSON and Markdown, and content templates
Data attributesThe data-opt-* attributes the build reads, and what reaches the live site
Code editor and other toolsThe Code editor in the App, edits from an IDE or Claude Code, and AGENTS.md
Git and GitHubThe repository, branches, release tags, team sync and what Splitleaf commits
Hosting and build outputThe dist/ folder, Vercel, and Manual hosting from the dist branch
Never lose workRemoved, History and the rules every save obeys

Integrations

Splitleaf connects a site to Google Search Console, Plausible and IndexNow. The agent reads the data from these services. For the setup, see Integrations.

Related groups