Say Goodbye to Google Analytics: Meet Glance, a Single-Binary, Svelte 5 + SQLite Self-Hosted Solution
Description and use
Glance is a self‑hosted web analytics solution that runs as a single Go binary with an SQLite backend, offering real‑time insights without cookies or complex infrastructure. It’s easy to deploy and gives full data ownership.
Problem
Developers and indie hackers need real‑time web analytics without heavy tracking scripts, cookie banners, or complex database clusters.
Outcome
Glance delivers privacy‑respecting, real‑time web analytics with zero maintenance, no cookie banners, and minimal server footprint, enabling developers to self‑host analytics on a single VPS.
Workflow
- 1. Pull the Glance Docker image or download the Go binary.
- 2. Run the container with a docker‑compose file, exposing port 8081 and mounting a data volume.
- 3. Access http://localhost:8081, create a website profile, and obtain the generated glance.js script tag.
- 4. Add the script tag to the
<head>of your site with the data-site attribute. - 5. Glance.js posts events to the backend, which queues them in memory and batches writes to SQLite.
- 6. View real‑time analytics in the Svelte 5 dashboard, including pageviews, bounce rates, and geo heatmaps.
Evidence
Glance is a privacy‑first, self‑hosted web analytics platform packaged into a single Go binary and SQLite database, complete with a stunning Svelte 5 dashboard.
It’s a zero‑maintenance, cookieless web analytics platform that runs entirely on your own infrastructure.
The lightweight tracking script (glance.js) fires a quick POST request to the Go backend… The HTTP request immediately returns a 202 Accepted status…
- Record date: 2026-09-15T06:45:27.262Z