Skip to content
Privacy focused website analytics.
Racket Vue JavaScript CSS Shell Dockerfile Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows ci: run a pg service and install deps before testing Nov 4, 2019
assets doc: update screenshot Oct 31, 2019
example doc: add example Oct 31, 2019
migrations feat(batcher): store country code with each page visit Dec 3, 2018
nemea migrator: fixup db ref Oct 31, 2019
scripts scripts: clean up clean script Oct 31, 2019
static feat(http): serve static files from /static Oct 28, 2018
.babelrc feat(ui): scaffold assets Oct 28, 2018
.dockerignore feat(build): add Dockerfile Nov 3, 2018
.env.default refactor(env): s/PORT/NEMEA_PORT Nov 4, 2018
.eslintrc.json feat(ui): scaffold assets Oct 28, 2018
.gitignore vcs: ignore .env Oct 29, 2019
.nvmrc feat(ui): scaffold assets Oct 28, 2018
COPYING chore(build): add license Oct 28, 2018
Procfile core: use koyo/server and koyo/testing Oct 29, 2019 doc: add geo instructions Oct 31, 2019
package.json assets: update npm deps Oct 30, 2019


Take control of your website analytics!



See the example directory for an example of how you might run nemea using docker and docker-compose.



nemea is a Racket application so you'll need to install that and you'll need Node.js version 10.6.0 to build the static assets.

You'll also need a running PostgreSQL instance.

First-time setup

Install all the prerequisites:

$ raco pkg install nemea/
$ npm install
$ cp .env.default .env

Set up the databases:

$ psql <<-SQL
create user nemea with password 'nemea' login;
create database nemea;
grant all privileges on database nemea to nemea;
create database nemea_tests;
grant all privileges on database nemea_tests to nemea;
$ echo "create extension if not exists hll;" | psql -Unemea -dnemea
$ echo "create extension if not exists hll;" | psql -Unemea -dnemea_tests

Download Maxmind's geolocation database:

$ curl -ls | tar -xz '*.mmdb' \
    && mv GeoLite2-Country_*/GeoLite2-Country.mmdb assets/data/GeoLite2-Country.mmdb \
    && rm -r GeoLite2-Country_*

Running the development server

$ raco chief start

Running the tests

$ raco test nemea/


nemea is licensed under the GPL. Please see COPYING for details.
You can’t perform that action at this time.