Skip to content

Configuration Options

This page explains all available configuration options for tempo.yaml, which is generated when you run tempo init.

Each section below corresponds to a top-level key in the config file:

  • app → defines your Go module, package, and asset folders
  • processor → controls how tempo sync runs
  • templates → defines template extensions, guard markers, function providers, and user data

You can customize these values to fit your project's structure and development workflow.

📁 Project Structure

KeyDefaultDescription
tempo_root.tempo-filesRoot folder where tempo stores its templates and actions.

⚙️ Application Settings

KeyDefaultDescription
app.go_module(from go.mod)Name of the Go module being worked on.
app.go_packagecomponentsGo package name where components will be generated.
app.assets_dirassetsDirectory where asset files (CSS, JS) will be generated.
app.with_jsfalseWhether JavaScript is required for the component.
app.css_layercomponentsCSS layer name to associate with component styles.

⚡ Processor Settings

KeyDefaultDescription
processor.workers4Number of concurrent workers.
processor.summary_formatcompactFormat for CLI summary output: long, compact, json, or none.

🧩 Templates Settings

KeyDefaultDescription
templates.extensions.gotxt, .gotmpl, .tplFile extensions used for template files.
templates.guard_markertempoLabel used inside .templ guard comments for injection. See guard marker config
templates.user_datanilCustom variables passed into templates. See user data config
templates.function_providers[]External template function providers. See function providers config