Skip to content

codeboltai/agent-sitegen

Repository files navigation

Agentic Sitegen

Monorepo for a reusable content-to-site generator CLI and separately authored templates.

Packages

packages/sitegen     # publishable CLI package
templates/basic      # basic example template package
examples/basic       # sample content

Templates keep generator metadata in sitegen.template.json. The template root is the folder containing that manifest: put package.json, src/, astro.config.mjs, and other copied files directly beside it. The CLI skips sitegen.template.json while copying, so the generated site receives the template's normal project files.

The CLI defaults to project-local paths and does not assume templates are bundled:

./template
./content/site.yaml
./site

Use flags when paths differ:

sitegen generate --template ./template --content ./content/site.yaml --output ./site
sitegen validate --template ./template --content ./content/site.yaml
sitegen templates inspect ./template --json
sitegen templates prompt ./template

Local monorepo smoke test:

npm install
npm run validate:example
npm run generate:example

About

this is agentic site generation cli that uses template and yaml to generate consistent websites

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors