Skip to content
Projects

About

Minimal Web Analytics

Data

How these counts are measured

What you can do

  • Track pageviews
  • Multiple projects support
  • No cookies used
  • No personal data collected

Measured star growth

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
0

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

mouji

Minimal Web Analytics

Features

  • Track pageviews
  • Multiple projects support
  • No cookies used
  • No personal data collected
  • Single binary deployment
  • Low resource usage
  • Minimal dependency footprint

Philosophy

I built this application mainly for my own personal use. I also wanted to experiment to see if it's possible to build good software using modern technologies that consumes less resources and pull in as few dependencies as possible.

This is built using Golang and uses SQLite as database. The frontend is built using vanilla HTML, CSS and JS. So far, the only dependencies it uses are Lato (vendored), go-sqlite and crypto.

Installation

Build from source

$ go build

Local Development

Run the application using default configuration

$ make dev

Run the application by customizing PORT and DATA_FOLDER

$ PORT="4000" DATA_FOLDER="./data" make dev

Run the application in watch mode Install air

$ make watch

Run the application using Docker

$ docker build -t mouji . && docker run --rm -it -v $(pwd):/data mouji

Schema Migrations

  • Create new migration file under ./migrations
  • Use the format <version>_<title>.sql

Explore related projects

Loading…