@raptorqr/cli
v0.1.1
Published
RaptorQR command line interface
Readme
@raptorqr/cli
Terminal sender and local web-app preview server for RaptorQR.
Usage
Display a local file as a looping terminal QR stream:
raptorqr document.pdfDisplay text from stdin:
echo "Hello, world!" | raptorqrServe the built web app locally:
raptorqr --serve --port 8080raptorqr document.pdf reads the local file, preserves filename and MIME metadata, and displays RaptorQ transport packets as QR codes in the terminal. It does not upload the file, create a URL, or write a new output file. Scan the stream with the RaptorQR receiver to reconstruct the file.
Press q or Ctrl-C to stop the terminal sender.
Build Output
The package builds to:
dist/raptorqr.jsThe build also copies required WASM sidecars into dist/:
raptorqr_fast_qr_wasm_bg.wasm
raptorqr_raptorq_wasm_bg.wasmRun the repository build before publishing:
pnpm build