Curvea

Introduction

The Curvea Stack

Curvea has three developer-facing layers.

Curvea Engine

The Engine parses CurveaScript, resolves templates and data, processes assets, renders routes, and writes the final static website to dist/.

It is responsible for areas such as:

  • .csc parsing
  • page/layout/component resolution
  • JSON and Markdown content
  • routing and pagination
  • SEO and sitemap output
  • CSS/JavaScript asset processing
  • document rendering

Curvea CLI

The @curvea/cli package exposes the curvea command for project creation, development, builds, previews, scaffolding, and optional feature setup.

Core commands are:

curvea new
curvea dev
curvea build
curvea serve
curvea make
curvea add

Generated projects keep the CLI as a local dev dependency and expose dev and build through npm scripts.

CurveaScript

CurveaScript is the template language used by the Engine. Its files use the .csc extension.

Every file declares one role:

@page
@layout Main(title)
@component Hero(title)
@document

CurveaScript stays close to HTML while adding build-time composition, data, conditions, loops, and small template expressions.