šŸ“¦ Asset Pipeline

šŸ“¦ Asset Pipeline

Rotkeeper’s asset pipeline governs how static files are copied, versioned, and injected into the tomb environment. It also defines how asset-meta tags are tracked and maintained throughout the build cycle.


šŸ“ Asset Sources

Assets are typically sourced from:

home/assets/
home/themes/
home/icons/

These folders are expected to exist prior to running rc-assets.sh and are recursively scanned.


šŸ”ƒ Copy Mechanisms

The primary tool for copying assets is rc-assets.sh (formerly ASSETELLA). It handles:

You can run it standalone or via the main CLI:

./rotkeeper assets

Or directly:

./scripts/rc-assets.sh

šŸ“‘ asset-meta Headers

Every tracked script, template, or asset should include an asset-meta: header — either as shell comment, HTML comment, or YAML frontmatter. These tags are required for changelog visibility and audit inclusion:

# --- asset-meta ---
# file: scripts/rc-render.sh
# version: 0.1.2
# tomb-version: 0.1.7.5
# tracked: true
# injected: 2025-05-12
# --- end-meta ---

These tags allow rc-scan.sh and rc-bless.sh to:


šŸ“‚ Folders Typically Managed

Folder Description
scripts/ Core and auxiliary rc-* scripts
templates/ HTML and partials for rendering
assets/ Static files like CSS, JS, fonts
themes/ Theme folders (e.g.Ā HiQ)
icons/ SVG or emoji sets (e.g.Ā OpenMoji)

āš ļø Notes on Pipeline Behavior


🧪 Example Flow

./rotkeeper init         # creates structure
./rotkeeper assets       # injects static files
./rotkeeper render       # builds output
./rotkeeper pack         # archives everything in manifest.txt

Continue to Template Library Back to Configuration Reference

Author:

Project: Rotkeeper

Version: 0.2.3-pre

License: