3 Commits
Author SHA1 Message Date
s0lrayandPaperclip f1cf58f401 Fix wrangler.jsonc KV namespace ID to full value (THE-106)
The osint_framework_kv namespace ID was truncated to "cdb975e31e"
in the initial commit. Updated to the full 32-character ID confirmed
by the board from the Cloudflare dashboard.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-03-25 23:35:19 -04:00
s0lrayandPaperclip 9c5d4fa070 Add click tracking Worker and frontend sendBeacon integration (THE-106)
- src/worker.js: Cloudflare Worker entry point handling POST /api/track
  and GET /api/tool-stats, falling through to ASSETS for static files
- wrangler.jsonc: wire main entry point + CLICK_DATA KV binding
  (namespace: osint_framework_kv, id: cdb975e31e)
- public/js/arf.js: fire sendBeacon to /api/track on Open Tool click

Privacy: no IPs stored, no cookies, client-generated session_hash only.
Dedup: one counted click per session per tool (1-hour TTL).
Rate limit: 60 req/min per session_hash (2-min TTL key).

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-03-25 23:20:04 -04:00
cloudflare-workers-and-pages[bot]andGitHub 82938893ed Add Cloudflare Workers configuration 2026-03-23 22:07:02 +00:00