Odonno / Odonno/piccali-cli

`--format html --output` always emits a multi-file SPA; add a single-file/PDF-style self-contained `index.html` option

Open
#1 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.