GEngine is an InkJS-based interactive story demo (static HTML/JS) with Playwright smoke tests.
docs/— project docs, workflow notes, PRDsweb/— InkJS demo (/demo) and stories (/stories)tests/— Playwright smoke tests
- Node.js + npm
The demo is a static site under web/ that fetches web/stories/demo.ink at runtime.
npm install
npm run serve-demoThen open:
http://127.0.0.1:8080/demo/
Notes:
- Serve from repo root or
web/so/stories/demo.inkis reachable.
More details: docs/InkJS_README.md.
When a commit lands on main, GitHub Pages publishes the static demo from web/demo at:
Notes:
- Assets (stories) are fetched relative to the repo path, so the demo works from both local
http://127.0.0.1:8080/demo/and Pages.
Playwright tests run against the hosted demo.
npm test
If Playwright browsers are not installed yet:
npx playwright install
docs/InkJS_README.mddocs/prd/GDD_M1_dynamic_interactive_story_engine.mddocs/dev/Workflow.md