Files
ipal-kit/services/cookie-crawler/README.md
T
Radosław SmolińskiandClaude Fable 5.2 425fac14fb IAPL rename: the old names keep working, and a second cookie name and counter key for new sites
- exports: ipalKit, IpalOptions, ipalEnvRules, IpalEnvFeatures, ipalT, ipalVar, IPAL_TOKENS,
  IPAL_BREAKPOINTS, IpalTokenName, IpalGlobalSlug are aliases of the iapl names
- env: IAPL_* is read first, IPAL_* as fallback (readEnv; EnvRule.aliases for assertEnv);
  the crawler service reads IPAL_CRAWLER_SITES too
- doctor: reads ipal-doctor.json when it is the only one, the old pointer block, ipal-audit-skip
  and old skill folders; new rule legacy-names (info) and storage-names (warning)
- iapl-skills: installs iapl-*, removes the 16 old folders by exact name, rewrites the old
  pointer block in place; a project's own ipal-* skill stays
- storageNames: 'ipal' (default) | 'iapl': the cookie the scanner declares and the 2FA counter's
  kv prefix; <PageStats visitorCookie>, IAPL_VISITOR_COOKIE, verifyLimit.keyPrefix
- test/legacyNames.test.ts: 24 tests for all of the above

Co-Authored-By: Claude Fable 5.2 <[email protected]>
2026-11-25 17:31:13 +01:00

594 B

IAPL cookie crawler

The browser half of IAPL's cookie scanner: one shared service that crawls a site twice (no consent / after "Accept all") and posts cookies, storage keys and third-party hosts back to the site. Sites never run a browser.

Setup, Coolify deploy, env and network notes: docs/cookie-scanner.md → "Browser crawl" in the IAPL repository (also shipped in node_modules/@intecion/ipal-kit/docs/).

  • node server.mjs — the service (IAPL_CRAWLER_SITES="acme.pl=TOKEN").
  • node cli.mjs https://acme.pl --pages 10 — the same crawl from a laptop or CI, JSON on stdout.