Repository navigation
Home
github-actions[bot] edited this page Nov 25, 2026
·
6 revisions
hooserguide turns a Gherkin scenario into a manual with annotated screenshots. Playwright carries out your steps and checks their assertions. When the run passes, open the HTML or PDF path printed by the CLI.
Open the live example handbook to see the reader, annotated captures, and downloads.
With Node.js 22 or newer:
git clone https://github.com/openhoo/hooserguide.git
cd hooserguide
npm ci
npx playwright install chromium
npm run demoThe demo runs a local task app and needs no account or API key. You can also read the example PDF, download the offline ZIP, or inspect the scenario that produced them.
- From your application project, run
npm install -D github:openhoo/hooserguide#0.11.0andnpx playwright install chromium. - Start your app. Run
npx hooserguide init docs/user-guide --base-url http://localhost:3000 --editorwith its actual URL. - Edit
docs/user-guide/features/get-started.feature. Describe one reader task, assert its outcome, and capture the result. Use the authoring walkthrough and step reference. - Run
npx hooserguide lint --config docs/user-guide/hooserguide.config.json, thennpx hooserguide run --config docs/user-guide/hooserguide.config.json. The second command performs the actions in the scenario; use a test account and data you can change. - Review the guide and its masked screenshots. Keep the screenshot directory beside the HTML and Markdown files, or bundle a portable ZIP.
| I want to… | Read |
|---|---|
| Find a selector, add annotations or mask private fields | Selectors and capture options |
| Make desktop, tablet and mobile guides | Responsive presentations |
| Adjust a PDF or reuse an existing run | Manual themes · Rebuild |
| Connect an agent or call the TypeScript API | Integrations |
| Generate in CI or publish a static handbook | GitLab component · Pages |
| Diagnose a failed run or missing export | Troubleshooting |
| Change hooserguide itself | Architecture · Review evidence · Contributing |
Start here
Write and review
- Authoring
- Configuration and step reference
- Advanced workflows
- Customization and delivery
- Responsive presentations
Integrate and publish
Develop hooserguide