Skip to content

Shared Template Store

Leonard Ramminger edited this page Aug 22, 2026 · 1 revision

Shared Template Store

Central storage for installed templates alongside the workspace.

Path

Environment Root
XDG_DATA_HOME set $XDG_DATA_HOME/tempify
Otherwise ~/.local/share/tempify

Layout

<shared-root>/
  templates/
    basic_cpp/
      template.lua
      files/
      ...
  index/
    templates.json
    reqpack-available.json    # optional, ReqPack
    reqpack-installed.json    # optional, ReqPack
  trust/
    hooks.json                # hook trust

refresh

tempify refresh
tempify refresh --json

Scans templates/ and rewrites index/templates.json. Also used by ReqPack Plugin.

list

tempify list merges:

  1. Workspace templates (templates/ in the project)
  2. Shared-store templates
  3. Optional ReqPack catalog cache

Installation

Templates can be copied manually to templates/<id>/ or installed via ReqPack.

Workspace vs. shared

Workspace Shared store
Location ./templates/ (searched upward) $XDG_DATA_HOME/tempify/templates/
Typical use Project-specific, Git System-wide, package manager
Config .tempify/config.json Global config

See also

ReqPack Plugin · Template Registry

Clone this wiki locally