pdfnative-cli command builder
Pick a command, fill the form, copy the resulting npx pdfnative-cli invocation. Covers the full CLI surface: render (with --outline / --font math / --inspect-layout), sign (RSA + ECDSA-SHA256, native constant-time crypto, --pure-crypto opt-out), inspect (with --annotations), verify, and the v1.2.0 page-tree / governance commands merge, split, extract, annotate, and govern. The builder runs entirely in your browser — nothing is uploaded.
PdfLayoutOptions. CLI flags override the layout file.
registerFontLoader() wrapper.
$PDFNATIVE_SIGN_KEY.
$PDFNATIVE_SIGN_CERT.
$PDFNATIVE_SIGN_CHAIN.
node:crypto.
Scope (v1.1.0): full CMS/PKCS#7 verification (RSA + ECDSA-SHA256), byte-range integrity (SHA-256), certificate chain, trust evaluation against --trust roots, RFC 3161 timestamp validation (PAdES-T), and OCSP/CRL revocation checking via --revocation / --revocation-policy. See the CLI guide.
Encrypted sources are rejected; signatures and /AcroForm are dropped (page edits invalidate /ByteRange); URI /Link annotations are preserved. Every path is validated against traversal.
<prefix>-<n>.pdf.
{ "annotations": [...] }): each entry a markup annotation plus a 1-based page.
Written with an incremental save, so existing signatures stay valid. Types: text, highlight, underline, strikeout, squiggly, square, circle, line, freetext. Overlay, not redaction.
rules prints the agent/human protocol; policy the machine-readable JSON; verify-issue gates a draft.
E_POLICY on a violation.
policy).
Agents act as draftsmen: a human must always review and submit. verify-issue is a pure, fully offline validator — no GitHub or network access.
Generated command
npx pdfnative-cli render
Paste this in any shell. Secrets are never sent — the entire builder runs client-side.
What this playground does not do
It does not execute the CLI in your browser — signing real PDFs requires real private keys, and we will not pretend to. For an in-browser demo of render output, see the homepage live demo. To exercise the full CLI on your machine: npx pdfnative-cli <your built command>.
Resources
- CLI guide — full command reference, security model, recipes
- pdfnative-cli on GitHub
- pdfnative-cli release notes
- MCP guide · MCP playground