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
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.
Architecture
Four systems, one shared data model.
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 |
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.' },
}); 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.
Validation catches unknown components, invalid props, missing assets, orphan relations and insufficient theme contrast.
Errors block publishing. Warnings are reported without blocking the package.
The pipeline exports a public snapshot without local paths, copies only referenced media and generates sitemap, robots and structured data.
After the build, expected routes and media files are verified in the generated HTML.
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.
Gallery
Process material and interface details.
Releases and downloads
Demonstration packages produced by the seeding process itself.
Histórico
- 2.2.0-beta.1 Oct 28, 2026 Draft
Preview of per-project themes. No published files yet.
- 2.1.0 Sep 14, 2026 Published
Rewritten reference resolver, AVIF variants and integrity verification before publishing.
- 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.
- nucleo-2.1.0-windows.manifest.json.gzDownload
Build manifest for windows
Requirements: Runtime Núcleo 2.1 ou superior
- nucleo-2.1.0-macos.manifest.json.gzDownload
Build manifest for macos
Requirements: Runtime Núcleo 2.1 ou superior
- nucleo-2.1.0-linux.manifest.json.gzDownload
Build manifest for linux
Requirements: Runtime Núcleo 2.1 ou superior
- Download
Connections
Where Núcleo sits in the ecosystem.
Community
Contributors
- Ricardo Ramos Author and architect ↗
- Helena Prado Documentation and review