MNEMAR

Get started with Mnemar. Self-host in three steps.

Mnemar runs anywhere Docker or Kubernetes does. The quick start below gets you from clone to live numbers. The full reference lives in the GitHub README.

Backend
Go + ClickHouse
Control plane
PostgreSQL
Deploy
Compose · Helm · TF
  1. Step 01

    Bring up the stack

    Clone the repo and start the full stack — ClickHouse, Postgres, the collector, and the dashboard server — with one command.

    git clone https://github.com/Aplexica/mnemar.git
    cd mnemar
    docker compose -f deploy/docker-compose.yml up -d
  2. Step 02

    Create your account & site

    Open the dashboard, create the first account, and add the site you want to measure. Mnemar gives you a site ID and a ready-to-paste tracker snippet.

    # Dashboard runs on :8081 by default
    open http://localhost:8081
  3. Step 03

    Add the tracker

    Drop one script tag into your site’s <head>. Point data-site at your site ID and data-endpoint at wherever you host the collector. That’s it — cookieless events start flowing.

    <script defer
      src="https://analytics.example.com/mnemar.js"
      data-site="yoursite.com"
      data-endpoint="https://analytics.example.com/collect"></script>

Go deeper.

Configuration, scaling with Kafka, retention policies, path normalization, and the public API are all documented in the repo.

Questions or ideas? Open an issue.

Mnemar is built in the open. File bugs, request features, or send a pull request — the whole project lives on GitHub.