Skip to content
项目

关于

Minimal Web Analytics

数据与分析

这些数字如何统计

可以做什么

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

实测星标增长

24小时
0
7天
0
15天
0
1个月
0

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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

探索相关项目

加载中…