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…

Что это такое?Open-source визуальная CMS с self-hosted размещением — конкурент Webflow, Framer и WordPress: редактор, движок контента, медиа, авторизация, формы, плагины и публикация — всё в одном сервере на Bun, который отдаёт чистые статические страницы.
Чем это отличается от обычного Webflow или WordPress?Вы размещаете один MIT-сервер у себя вместо аренды целого набора сервисов, а страницы публикуются как обычный семантический HTML и компактный CSS — без рантайма редактора, без React, без служебных атрибутов конструктора — так что ничто не привязывает ваш сайт к платформе.
Как его запустить?Быстрее всего — one-click шаблон Railway: около двух минут, терминал не нужен. Или разверните единственный Docker-образ где угодно; для локальной разработки нужен только Bun, и при первом заходе вас проведут через создание сайта и аккаунта владельца.
Нужно ли ставить отдельную базу данных рядом с ним?Нет — по умолчанию используется SQLite, и для большинства сайтов этого достаточно. Postgres пригодится, когда авторов несколько или нужны управляемые бэкапы.
Есть ли подводные камни, о которых стоит знать заранее?Проект намеренно молодой — версия 0.0.x, так что изменения неизбежны. Но обновление — это как минимум просто повторный деплой: база данных и загруженные файлы остаются на подключённом хранилище, а контейнер просто заменяется.
Могут ли несколько человек работать над сайтом с разными правами?Да. Роли собираются из 38 прав доступа, есть двухфакторная аутентификация через TOTP, блокировка аккаунта после повторных неудачных попыток входа и подтверждение перед опасными действиями. Неопубликованные черновики никогда не попадают к посетителям.
Что такое Core Framework?Движок дизайн-токенов, встроенный в редактор и перенесённый из инструмента команды времён WordPress. Один фирменный цвет создаёт полную выверенную шкалу оттенков, плавающие шкалы типографики и отступов держат все брейкпоинты согласованными, а сгенерированные utility-классы укладываются в один небольшой framework.css — меняете токен, и обновляются все страницы.
Как работает встроенный AI-агент?Вы описываете, что хотите, и он создаёт на холсте настоящие редактируемые узлы — семантический HTML для структуры, CSS для стилей. Scope Site с 35 инструментами строит страницы, scope Content с 15 инструментами правит записи, а модель вы подключаете свою: Claude, OpenAI, OpenRouter или локальный Ollama.
Можно ли импортировать существующий сайт?Да. Вставьте сырой HTML, чтобы получить редактируемые узлы, или используйте Super Import для целого статического сайта — HTML, CSS, картинки и шрифты превращаются в страницы, правила стилей, дизайн-токены и медиа. Каждый конфликт показывается до того, как что-то будет записано, а весь импорт отменяется одним действием undo.
Насколько плагины изолированы?Плагин — это zip-пакет, серверный код которого выполняется в отдельной для каждого плагина песочнице QuickJS-WASM: без доступа к файловой системе, без переменных окружения, без сети, если владелец сайта явно её не разрешил. Расширениям редактора нужно явное разрешение editor.code, а через SDK можно добавлять маршруты, админ-страницы, модули холста и адаптеры хранилища.
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