About this project

InsightFlare is an open source web analytics system designed to be deployed entirely on Cloudflare. According to its README, it is privacy-friendly and GDPR-compliant, uses no cookies, and does not store raw IP information; geolocation resolution is handled by Cloudflare. It includes a smart tracking intensity mechanism that adjusts visitor identifier persistence based on regional privacy rules. The frontend SDK is about 3 KB after gzip compression and is delivered through Cloudflare's global CDN. It supports custom event tracking through data attributes and a JavaScript API, plus performance metric tracking. The dashboard is multilingual and visual, with an automatic place-name translation feature for more than 95% of worldwide place names. Documented capabilities include traffic dimension tracking, real-time visitor monitoring, page-level analytics, visitor performance, source quality comparison, UTM campaign tracking, custom events, session inspection, visitor profiles, return visits, geographic distribution, device and browser details, funnels, scheduled tasks, public sharing, API keys, email notifications, and bot protection with request observation. Deployment can be done with a Cloudflare Deploy to Cloudflare button. The README says Cloudflare automatically clones the repository and binds required resources. Two secrets are required: MAIN_SECRET, a random string longer than 16 characters used to derive visitor salts, session keys, and API key hash keys, and BOOTSTRAP_ADMIN_PASSWORD, the initial administrator password. After deployment, users sign in with the admin account, can change credentials, and can customize the domain. Free Cloudflare quotas are described as supporting up to 100,000 visits per day. Optional advanced configuration includes Analytics Engine datasets for request, traffic, and event analytics; R2 cold archive for data older than one year; and an automatic update system through a GitHub App that submits pull requests when upstream changes are available. The project also exposes Skills for AI agents so compatible agents can read its .well-known/skills.json file and access data after authorization. The documented tech stack uses TanStack Start, TanStack Router, Vite, React, Tailwind CSS, Radix UI, shadcn, Recharts, deck.gl, maplibre-gl, and Motion on the frontend, with Cloudflare Workers, Durable Objects, D1, R2, and KV on the backend, built with Cloudflare Vite Plugin, Wrangler, and TypeScript. Manual deployment and local development workflows, common npm commands, key configuration variables, and an MIT license are also described.