01 / THE OPEN-SOURCE FRAMEWORK

One React site. From public pages to full applications.

One open-source React project can hold your public pages and your web app's screens, on one domain, or each can be a project of its own. Its pages show content you publish, records your team keeps current in Uniweb App, and each member's own data from the Application Engine. The code and its history stay yours, in Git.

npx uniweb@latest create my-project
An illustration of documentation, storefront, course, and marketing websites

THE PROJECT MODEL

Your components. Your content.

A Uniweb project has two parts: the site, which is what your website says, and the foundation, the React code that draws it. Change the words and the design stays; change the design and the words stay.

01

The site

Pages as Markdown, one file per section, and settings in YAML: plain text that your agent, your developers and Uniweb App all work on.

02

The foundation

The React code that draws the site. Each kind of section, such as a hero or a price table, is a section type, whose options become its controls in Uniweb App.

03

A web app's screens

Section types too, written in React: a member's courses, a lesson player. They read each member's data through the SDK's hooks, and nobody composes them in Uniweb App.

ONE SITE · THREE CONTENT SOURCES

Public pages and member experiences. Together.

A Uniweb site is a React SPA with built-in prerender. It can mix content published with the site, fresh records from Uniweb App's CMS, and authorized public data from its own Application Engine.

Live records need no application backend. Enable one when your site also needs member accounts, records that members create, payments, or functions that run on the server.

01 · PUBLISHED

Site content

Public pages, layout, and assets published with your React project.

No application backend
02 · LIVE CMS

Uniweb App records

Events, articles, and editorial information updated in Uniweb App and fetched live by the site.

No application backend
03 · APPLICATION DATA

Your site's backend

Members' profiles and the records they keep, with access checked by the engine and public queries you choose.

Application Engine enabled

ONE CONFIGURATION SETTING

Need accounts? Enable the backend.

Add this to your site's site.yml. The site's next publish starts its own Application Engine, with its own PostgreSQL database; its pages and live records stay as they are.

The site's owner chooses which records and fields public queries may show. Visitors see only those, and signed-in members manage their own records on the same site.

site.yml
services:
  backend: true

CONTENT AND DATA

Structure the domain, not the markup.

Describe what your site holds, such as articles, events or courses, as data schemas. One schema gives your components a typed shape, gives Uniweb App the form to edit each record, and tells a web app's engine what it keeps.

A course can hold its modules and lessons. What has an owner of its own, like a student's enrollment, becomes an entry of its own.

Explore data modeling
foundation/schemas/course.ymlSchema
name: course
sections:
  identity:
    brief: true
    fields:
      title: { type: string, required: true }
  modules:
    many: true
    fields:
      title: { type: string }
    sections:
      lessons:
        many: true
        fields:
          title: { type: string }
          body:  richtext
One file gives the editing form, the shape your components receive, and what the engine keeps.

WHEN AUTHORS NEED TO BUILD PAGES

Give authors the freedom to compose.

For content-driven websites, turn selected React components into a vocabulary of sections authors can arrange and edit themselves. Uniweb App provides visual composition, rich Markdown authoring, and live CMS records.

It's an independent choice, not a requirement for your application: a members' area can be entirely your own design.

THE BROWSER IS A COMPUTER

Keep computation close to the user.

Many application features don't need custom server code. Work with structured data in React and transform it directly in the browser.

For example, @uniweb/loom and @uniweb/press can generate Word documents from a researcher's authorized academic CV data.

Learn where code runs
Academic CV records Browser
Curriculum Vitae

PUBLICATIONS

.docx generated locally

LOCAL FIRST

Start local, by hand or with your agent.

Vite, React and the Uniweb CLI, with Tailwind set up in every new foundation. A web app's screens reach the engine through the SDK's React hooks, with no routes, tokens or fetch code, and run on your machine against the real engine: its free Developer Edition, in Docker.

By hand

Create a project and run it locally.

terminal
npx uniweb@latest create my-site
cd my-site
pnpm install
pnpm dev

With a coding agent

Paste the prompt and say what you want; the agent builds it and shows it to you.

prompt
Build a website or web app with Uniweb.
Start with `npx uniweb@latest start`

I want to build: [describe your website or web app]

Every project comes with AGENTS.md, a manual written for agents.

PUBLISHING

One command to go live. No pipeline to set up.

uniweb publish sends your site to Uniweb hosting and takes it live, with no build server or CI to configure. With the backend turned on in site.yml, the first publish also starts the site's own Application Engine.

Where it runsHow its pages arriveSuits
Uniweb hosting, with uniweb publishThe page a visitor arrives on is prerendered close to them, with live records, forms and statistics onA site that grows, and every web app
A static host, with uniweb deployEach page is prerendered when the site is built, and served as a fileA website with no live services
A web app's screensDrawn in the browser, with each member's own data from the engineMembers' areas and tools
You manage and pay for hosting in Uniweb App.

Start with the framework.
Add what you need.

Pages you publish, records your team keeps current, and a members' area with its own data: one site can hold them all.

Read the documentation