Cogita is a theme-driven static site framework built on Rspress. A site needs the Core package, the CLI, and one theme package to get started.
Initialize a site with the CLI:
The blog template uses the Lucid theme and a posts/ directory. The docs template uses the Docs theme and a content/ directory. The Knowledge template indexes both posts and documents for search, topics, and content relations. Enter the project and run pnpm run dev.
The theme demos can be built locally with pnpm run demo.
The consuming site installs the theme and its declared capabilities. Core loads the configuration, resolves the theme, and assembles Rspress while plugins provide build-time data and runtime modules.