← Back to index infraestrutura · ferramenta

Stable

Núcleo

A deterministic compiler for structured content. Validated models become static sites without binding content to a single renderer.

Latest release
2.1.0
Updated
Nov 05, 2026
Languages
EN · PT
Connections
3
Núcleo — presentation image
Núcleo · infraestrutura / ferramenta
01

Overview

A compiler between content and its presentation.

Núcleo is a deterministic compiler for structured content. It validates models, resolves references between projects and produces a static package any renderer can interpret.

The project started from an internal question: why do documentation, releases and presentation of a project live in separate systems with no relation to each other?

The answer was to treat each project as a modular document — sections, typed components and explicit references — instead of a hand-written page.

What Núcleo is not

  • It is not a traditional CMS with fixed fields.
  • It is not a drag-and-drop page builder.
  • It is not an article database.

A project is a structure, not a page. The page is a consequence.

Operating principles

  • Active
    Determinism

    The same content and tool versions produce the same package, ignoring build metadata.

  • Active
    Versioned components

    Every component declares a schema version and migration, so older projects remain valid.

  • Active
    Verified publishing

    Routes, media and local path leaks are checked before a publication is considered complete.

  • Planned
    Full visual editor

    Property editing through forms generated from the registry is still in development.

02

Architecture

Four systems, one shared data model.

Input Content Schema Component Registry Processing Validation Reference Resolution Asset Pipeline Publishing Public snapshot Static generation SEO and sitemap Output HTML Responsive media Downloads
Content goes through validation, resolution and verification before reaching the site.

Technical sheet

Platform
Primary language TypeScript
Public site Astro, static generation
CMS Svelte 5 + Vite
Local backend Node.js + Fastify
Data
Database SQLite + Drizzle ORM
Validation Zod, versioned schemas
Media
Processing Sharp, originals preserved
packages/component-registry/src/define.ts ts
export const callout = defineComponent({
  type: 'callout',
  schemaVersion: 1,
  renderMode: 'static',
  props: z.object({
    tone: z.enum(['note', 'warning', 'decision']).default('note'),
    text: z.string().min(1),
  }),
  defaults: { tone: 'note', text: 'Observação.' },
});
A component is a schema plus editor metadata: never executable code stored in content.
03

How it works

From validated document to static package.

Projects, sections, components, assets and releases are separate entities. A component stores its type, schema version and validated props.

Translations are partial overrides: the base content remains and only translated values change.

Núcleo — workbench interface
Compiler workbench: project, section and component selection in real time.
How are cross-project references resolved?

Relations are declared on one side with an explicit type. The resolver derives inverse relations so navigation is symmetric without duplicating data.

Does the CMS need to be running for the site?

No. The CMS and local backend only produce the package. The published site is static and independent from the database.

What happens when a component changes?

The schema version increases and a migration is registered. Old content is migrated while reading, preserving the original document.

04

Gallery

Process material and interface details.

05

Releases and downloads

Demonstration packages produced by the seeding process itself.

Histórico

  1. 2.2.0-beta.1 Oct 28, 2026 Draft

    Preview of per-project themes. No published files yet.

  2. 2.1.0 Sep 14, 2026 Published

    Rewritten reference resolver, AVIF variants and integrity verification before publishing.

  3. 2.0.3 Apr 02, 2026 Published

    Fixes for locale fallback and the search index.

Stable release downloads

The files in this demonstration are compressed build manifests.

2.1.0 Published on Sep 14, 2026
06

Connections

Where Núcleo sits in the ecosystem.

07

Community

Contributors

  • Ricardo Ramos Author and architect ↗
  • Helena Prado Documentation and review

Posts about this project