IAPL rename, scripted: preferred names in src, bin, scripts, services, tests; bin files and skill folders moved

Replaced by an explicit list of forms only (ten exported names, runtime env names, project file
names and marks, commands, skill names, the log prefix, the brand in prose). Package name, import
paths, routes, CSS tokens, data attributes, custom keys, context flags, the cookie and kv keys are
not touched. package.json keeps the five old bin names beside the five new ones.
The old names stop working in this commit and come back as aliases in the next; docs follow.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-11-25 17:24:21 +01:00
co-authored by Claude Fable 5.2
parent 414a4702df
commit 0a4f001797
262 changed files with 955 additions and 950 deletions
+3 -3
View File
@@ -1,11 +1,11 @@
# ipal cookie crawler
The browser half of ipal-kit's cookie scanner: one shared service that crawls a site twice (no
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
ipal-kit repository (also shipped in `node_modules/@intecion/ipal-kit/docs/`).
IAPL repository (also shipped in `node_modules/@intecion/ipal-kit/docs/`).
- `node server.mjs` — the service (`IPAL_CRAWLER_SITES="acme.pl=TOKEN"`).
- `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.
+1 -1
View File
@@ -2,7 +2,7 @@
"name": "@intecion/ipal-cookie-crawler",
"version": "1.0.0",
"private": true,
"description": "Headless-browser cookie crawler for ipal-kit sites (Cookie review → Crawl site). Runs as one shared service, never inside a site.",
"description": "Headless-browser cookie crawler for IAPL sites (Cookie review → Crawl site). Runs as one shared service, never inside a site.",
"license": "MIT",
"type": "module",
"scripts": {
+3 -3
View File
@@ -6,7 +6,7 @@
// The crawl runs in the background; the result is POSTed to callbackUrl with the
// same bearer token.
//
// Env: IPAL_CRAWLER_SITES="acme.pl=TOKEN,shop.example.com=TOKEN2" (required), PORT (3000),
// Env: IAPL_CRAWLER_SITES="acme.pl=TOKEN,shop.example.com=TOKEN2" (required), PORT (3000),
// CRAWLER_CONCURRENCY (1), CRAWLER_QUEUE_MAX (20), CRAWLER_JOB_TIMEOUT_MS (600000),
// CRAWLER_WAIT_MS (3000), CRAWLER_ALLOW_HTTP (unset; "1" only for local tests).
import { createServer } from 'node:http'
@@ -139,9 +139,9 @@ export function createCrawlerServer({
// Run directly: `node server.mjs`
if (import.meta.url === pathToFileURL(process.argv[1] ?? '').href) {
const sites = parseSites(process.env.IPAL_CRAWLER_SITES)
const sites = parseSites(process.env.IAPL_CRAWLER_SITES)
if (!sites.length) {
console.error('[crawler] IPAL_CRAWLER_SITES is empty — set "host=token" pairs (token ≥ 16 chars).')
console.error('[crawler] IAPL_CRAWLER_SITES is empty — set "host=token" pairs (token ≥ 16 chars).')
process.exit(1)
}
const { chromium } = await import('playwright')