Instatic README

The project's README from github.com/CoreBunch/Instatic. As one markdown file: README.md.

Instatic

Own your site. Love building it.

A self-hosted CMS where the visual editor, content engine, and publisher all live in one Bun server — and the pages it ships are clean enough to read in view-source.

CoreBunch/Instatic | Trendshift

Release GitHub stars License: MIT Runtime: Bun TypeScript

One-Click Deploy · Quick Start · Docs · Plugins · Roadmap


Watch the Instatic interface demo on YouTube

Watch the introductory video about Instatic on YouTube.


A modern website usually means assembling a stack: a headless CMS, a framework, a host, a form service, an analytics vendor, an image CDN — each with its own bill, dashboard, and 2 a.m. outage. Instatic is the opposite bet. One Bun server holds the whole thing — the canvas editor, the content engine, media, auth, forms, plugins, and the publisher — and you run it wherever you like, backed by SQLite or Postgres.

What comes out the other end is the part most builders quietly compromise on: plain semantic HTML and compact CSS, with none of the editor's machinery left behind in the page. No framework runtime, no builder attributes, no div soup. The site loads like a static file because, most of the time, it is one.

MIT. Self-hosted. Yours.


Deploy in one click

Railway is the fastest way to get Instatic live. Pick a template, hit the button, wait about two minutes. That's it. It generates the secret keys, attaches the storage volume, and sets up the health checks on its own. You never open a terminal.

Deploying Instatic to Railway — from template to a live CMS in under a minute

One minute to live. Unedited.


Provider Database Best for Deploy
Railway · Recommended SQLite A single site — blog, portfolio, small business Deploy →
Railway Postgres Multiple authors, managed backups, room to grow Deploy →
Render SQLite or Postgres Teams that prefer Render services, disks, and managed Postgres Guide →
Docker / VPS SQLite or Postgres Bring-your-own server, Caddy TLS, custom backup policy Guide →

SQLite is the right default for most sites. Reach for Postgres when you've got a team of authors or want managed database backups.

Updating is just a redeploy

When a new Instatic version is available, update by redeploying the latest image. Your database and uploads stay on the attached storage, so the app container can be replaced without rebuilding the site from scratch.

Prefer your own hardware? Instatic is a single Docker image:

INSTATIC_IMAGE=ghcr.io/corebunch/instatic:latest docker compose -f compose.prod.yml -f compose.sqlite.yml up -d

Full guides for VPS, Postgres, HTTPS with Caddy, Render, and backups are in docs/deployment.


One tool, the whole life of a site

Most tools do one job and hand you off for the rest. You design in one place, build in another, keep content somewhere else, then bolt analytics on from a fourth. Instatic does all of it. Here's what's actually in the box.

🎨 Design

Core Framework scales inside Instatic — a fluid spacing scale with mathematical ratios, edited live next to the canvas

The editor is a real canvas, not a form with a preview pane stapled to it. You put several breakpoint frames side by side and edit them together. Change the desktop and the mobile frame reacts in the same view. When you'd rather work on the real thing, flip to live mode and edit a single full-size page in place.

The part nobody else has: Core Framework is built in. It's the design-token engine thousands of WordPress pros already use every day, and here it's a core system, not a plugin you install and pray over.

Your whole design system lives as data. Change one token and every page that uses it updates.

🧱 Build

Editing a Visual Component — a typed text param with a default value, bound to a node in the component's own tree

🗂 Manage

The Media workspace — an OS-style file manager for every asset on the site

📊 Analyze

The Instatic dashboard — site stats, activity feed, and status widgets on a customizable grid

The analytics surface today is intentionally operational: dashboard status, audit history, and owned form data instead of third-party visitor tracking.

🔌 Extend

Every CMS has plugins. The difference here is where backend plugin code runs.

An Instatic plugin is a zip package with a manifest. Its server entrypoint runs in a per-plugin worker that hosts a QuickJS-WASM sandbox: no filesystem, no environment variables, no network at all unless the site owner grants it, one host at a time. Editor extensions and app-kind admin pages are different: they run in the admin window and require the explicit editor.code permission before install.

Through the SDK, a plugin can add:

Start with the plugin system docs and the template plugin.


Fast because there's almost nothing to load

A published Instatic page is mostly just a file sitting on disk. No framework to boot, no hydration step, no database round-trip on the common path. The browser pulls down semantic HTML and compact CSS bundles, and it's done. There's barely anything between the visitor and the content, so the pages feel instant.

That speed isn't a setting you tune. It falls out of how publishing works, in three layers you never have to think about:

What comes out the other end is plain HTML and compact CSS, all the way down. Nothing from the editor rides along: no React on your public pages, no editor runtime, no framework in the markup. And because it's just HTML and CSS, nothing holds your site hostage — you can read it, host it anywhere, or take it and leave. Full design: the publisher.


Quick start

You need Bun. Nothing else. The default dev setup runs on SQLite, so there are no extra services to stand up.

git clone https://github.com/corebunch/instatic.git
cd instatic
bun install
bun run dev

Open http://localhost:5173. The first visit walks you through creating your site and your owner account.

Want to see it the way it actually ships? bun run start builds the admin and serves it from the Bun server at http://localhost:3001/admin.

Backups, in one sentence: back up the database (a Postgres dump or the SQLite file) and the uploads folder, and you've backed up the whole site — details.


Who's behind this

We're the team behind Motion.page and Core Framework — tools that thousands of people use to build websites for a living, mostly in the WordPress world.

We spent years making other platforms more bearable. At some point the obvious question wouldn't go away: what if the thing underneath was just right to begin with? No legacy to work around, no markup we're not allowed to touch, no business model that depends on keeping your site where we can see it.

So we built Instatic. And we brought Core Framework along, wired in as a core system, so the color shades, type scales, spacing, and utility classes our users already rely on are part of the product — not an add-on you install and hope for the best.


Early, on purpose

Here's the honest part: this is version 0.0.x.

Everything above — the canvas, Core Framework, the universal content model, the sandboxed plugins, the AI agent, forms, loops, templates, media, MFA, the audit log, one-click deploy, the clean publisher — is the starting line, not the finish. What's coming:

APIs and workflows can still shift before 1.0. If that makes you nervous, wait for 1.0 — no hard feelings. If you'd rather help shape what site ownership looks like for the next twenty years, now's the good seat.


For developers

One Bun server. A React admin built with Vite. A publisher that emits pages you'd be happy to have written yourself.

Runtime Bun, for both server and tooling
Language TypeScript everywhere
Admin app React 19 (React Compiler on), Vite, Zustand + Mutative, CodeMirror, dnd-kit
Server Bun.serve with a hand-written router
Database SQLite or Postgres — one DbClient interface, picked by DATABASE_URL
Validation TypeBox at every untyped boundary; schemas are the source of truth
Plugins QuickJS-WASM backend sandbox, owner-granted permissions, explicit editor.code for admin-window code
AI Provider-agnostic drivers over raw HTTP/SSE, no vendor SDKs
Output Semantic HTML, compact CSS, baked static files plus auto-detected dynamic holes

The codebase is opinionated, and the opinions are enforced in code. Architectural rules live in src/__tests__/architecture/ as actual tests, so the structure that keeps the output clean can't quietly rot.

bun run build   # tsc -b && vite build
bun test
bun run lint

Dig in: docs index · architecture · editor · server · publisher · plugin system


Thanks

Instatic's interface uses Pixelarticons by Gerrit Halfmann. Thanks to Gerrit for a genuinely distinctive icon set, and for kindly letting us use it in an open-source project.

License

MIT. See LICENSE. No tiers, no open-core asterisks, no "contact sales."

Instatic (CoreBunch/Instatic)

Searching Database…

What is this?An open-source, self-hosted visual CMS positioned against Webflow, Framer and WordPress: editor, content engine, media, auth, forms, plugins and publisher all in one Bun server, publishing clean static pages.
How is it different from just using Webflow or WordPress?You self-host one MIT server instead of renting a stack of services, and pages publish as plain semantic HTML and compact CSS — no editor runtime, no React, no builder attributes — so nothing locks your site in.
How do I get it running?Fastest: the Railway one-click template — about two minutes, no terminal. Or deploy the single Docker image anywhere; for local dev you need Bun and nothing else, and the first visit walks you through creating your site and owner account.
Do I need to run a separate database alongside it?No — SQLite is the default and right for most sites. Postgres is there when you have a team of authors or want managed backups.
Any catch I should know before building on it?It is deliberately early — version 0.0.x — so expect change. Updating is at least just a redeploy: the database and uploads stay on attached storage while the container is replaced.
Can several people work on the site with different permissions?Yes. Roles are built from 38 capabilities, with TOTP two-factor, account lockout after repeated failures, and step-up prompts before dangerous actions. Unpublished drafts never leak to visitors.
What is Core Framework?The design-token engine built into the editor, brought over from the team's WordPress-era tool. One brand color generates a full tuned shade scale, fluid type and spacing scales keep every breakpoint consistent, and generated utility classes land in one small framework.css — change a token and every page updates.
How does the built-in AI agent work?You describe what you want and it builds real, editable nodes on the canvas — semantic HTML for structure, CSS for style. A 35-tool Site scope builds pages, a 15-tool Content scope edits entries, and you bring your own model: Claude, OpenAI, OpenRouter, or local Ollama.
Can I import an existing site?Yes. Paste raw HTML to get editable nodes, or use Super Import on a whole static site — HTML, CSS, images and fonts become pages, style rules, design tokens and media. Every conflict is shown before anything is written, and the whole import is a single undo.
How sandboxed are plugins?A plugin is a zip package whose server code runs in a per-plugin QuickJS-WASM sandbox: no filesystem, no environment variables, no network unless the site owner grants it. Editor extensions need the explicit editor.code permission, while the SDK can add routes, admin pages, canvas modules and storage adapters.
What are similar projects?Kooboo, strapi, Smartstore, emdash, grapesjs, NotionNext, crm, directus
Creator
CoreBunch
Size
190.5 MB
Stars
9K
Age
5mo
Commits · 90 Days