`--format html --output` always emits a multi-file SPA; add a single-file/PDF-style self-contained `index.html` option
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
--format html emits a multi-file SPA. Opening index.html via file:// gives a blank page: the app fetches ./data.json at runtime, which browsers block for local files.
Please add an opt-in single-file mode (e.g. --self-contained) that inlines JS, CSS, fonts, data.json/metadata.json, and the logo, and omits <base href="/">, so a non-technical person can double-click one index.html and read docs fully offline.
Repro: piccali-cli --format html --output dist then open dist/index.html via file://produces blank page.
Version: 0.6.9 via npm.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the CLI path handling --format html --output, then inspect the generated index.html and its data.json, metadata.json, JavaScript, CSS, fonts, and logo references. Done means an opt-in self-contained index.html opens via file:// with all content available offline, while the existing multi-file output remains unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- cli, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100