Sign inSign up

varavel/veta

By varavel

•Updated about 2 months ago

Varavel's Static Site Generator

Image
2

1.2K

varavel/veta repository overview

⁠Veta

CI status ⁠ Release Version ⁠ License ⁠ ⁠

A Varavel project ⁠

Veta is a static site generator that combines JavaScript page generators, templates, arbitrary data sources, components, filters, Markdown rendering, themes, and embedded Tailwind CSS into a single binary and easy to use CLI.

⁠Installation

Select the method that best fits your workflow.

PlatformMethodCommand
Linux / macOSShellcurl -fsSL https://get.varavel.com/veta⁠ | sh
Linux / macOSHomebrewbrew install varavelio/tap/veta
WindowsPowerShellirm https://get.varavel.com/veta.ps1⁠ | iex
AnyNPM (local)npm install --save-dev @varavel/veta
AnyNPM (global)npm install --global @varavel/veta
AnyDockerdocker run --rm varavel/veta
AnyManualDownload binaries⁠

For version pinning, prereleases, npm usage, and manual installs, see the complete installation guide⁠.

⁠Usage

Create a starter project:

veta init my-site

Build a site from the current project:

veta build

Start the local development server with live reload:

veta dev

Build with an explicit config file:

veta build --config path/to/veta.yaml

⁠Project Structure

Veta projects can contain:

  • veta.yaml for tool configuration.
  • data/ for JSON, YAML, TOML, or JavaScript data files.
  • pages/ for flat JavaScript page generator files.
  • templates/ for Pongo2 page templates.
  • components/ for reusable component templates.
  • filters/ for JavaScript filters.
  • public/ for static assets copied to the output directory.

Tag summary

Content type

Image

Digest

sha256:7666cf02f…

Size

76.7 MB

Last updated

about 2 months ago

docker pull varavel/veta