Skip to content

tallymothCollect events. Query the numbers.

A small self-hosted service that stores events from your apps in SQLite and answers aggregate queries over HTTP, so Grafana can chart them. It never stores IP addresses or user agents.

tallymoth logo

Two requests ​

Send an event ​

sh
curl -X POST https://events.example.com/v1/events \
  -H 'Authorization: Bearer tm_w_…' \
  -H 'Content-Type: application/json' \
  -d '{"events":[{"name":"signup","props":{"plan":"free"}}]}'
json
{"accepted":1,"dropped":{},"rejected":[]}

Read it back ​

sh
curl -G localhost:8081/v1/query \
  -H 'Authorization: Bearer tm_r_…' \
  -d event=signup -d step=1d -d group_by=plan
json
{"rows":[{"t":1794614400000,"group":"free","value":42}],…}

Released under the MIT License.