Back to homeal3xg0ral3xg0r

Current projects

Lightweight, Serverless Analytics

A privacy-focused, zero-maintenance web analytics solution built on Cloudflare Workers and D1, tracking page views and visitor insights with no heavy scripts.

Beta
Lightweight, Serverless Analytics

A self-hosted, lightweight, and privacy-focused web analytics solution designed to capture essential visitor metrics without the bloat or tracking overhead of traditional platforms. Built fully on a serverless stack, it provides real-time insights with zero operational costs.

Features

  • Serverless Architecture: Deployed entirely on Cloudflare Workers for edge-native, ultra-low latency tracking worldwide.
  • Edge Storage: Utilizes Cloudflare D1 SQL database for fast, structured, and cost-effective data persistence.
  • Privacy by Design: Focuses on essential metrics (page views, referrers, user agents) without relying on intrusive tracking cookies.
  • Zero Footprint: Extremely small tracking script that doesn't slow down client-side page load speeds.
  • Developer-Friendly: Clean SQL schema and simple REST API integration for building custom dashboards or reporting tools.

Technical Stack

  • Infrastructure: Cloudflare Workers (Serverless)
  • Database: Cloudflare D1 (SQL)
  • Language: JavaScript (Node.js/Edge runtime)
  • Data Format: JSON / GeoJSON for regional mapping

Architecture & Data Flow

The tracking script sends light asynchronous beacons to the Cloudflare Worker endpoint whenever a page view event occurs. The Worker parses the request header data (such as anonymized IP location data and referrers), extracts geographic and browser context on the fly, and directly records the normalized dataset into a Cloudflare D1 instance. This eliminates the need for expensive polling architectures, running completely within the free limits of the edge network.