# Install playbook — wjs-looping-feedback Follow these steps in the **target website repo** (the user's current working directory). Ask the user only TWO things: the allowlist usernames and which auth to use (OAuth token or API key). ## 0. Preconditions - Confirm the cwd is a git repo with a GitHub remote: `gh repo view --json nameWithOwner -q .nameWithOwner`. Save this as ``. If `gh` is not authenticated, ask the user to run `gh auth login`. ## 1. Detect the site type Run the bundled detector against the repo root: `node /scripts/detect-site.mjs .` Map the result to a dashboard output path and a widget injection target: | type | config.json `out` | inject widget into | |---------|----------------------------------|------------------------------------------------------| | hugo | `static/_feedback/index.html` | `layouts/partials/feedback-widget.html` included before `` in `layouts/_default/baseof.html` (copy baseof from the theme into project `layouts/_default/` first if absent) | | nextjs | `public/_feedback/index.html` | a raw block / `