[01] OpenCookies

@opencookies/cli

Terminal UI for scans and config sync

Terminal entry point for OpenCookies. Wraps @opencookies/scanner for one-off scans, config init, and writing back vendor-category suggestions that the Vite plugin only prints.

Status: scaffold. The package and opencookies bin are reserved; the implementation is in flight. For build-time scanning today, use @opencookies/vite — same scanner, integrated with HMR and vite build.

Install#

bun add -D @opencookies/cli

Usage#

opencookies --help

Planned commands#

  • opencookies scan — run the scanner against a project, print findings.
  • opencookies init — scaffold a starter cookies.config.ts with the categories the scanner detected.
  • opencookies sync — apply the vendor-category suggestions the Vite plugin prints when autoSync: true, writing them to your config file.

Track progress in the repo issues.

See also#

License#

Apache-2.0