Skip to content

Public analytics as a Node.js microservice. No sysadmin experience required! ๐Ÿ“ˆ

License

Notifications You must be signed in to change notification settings

micro-analytics/micro-analytics-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

micro-analytics ๐Ÿ“ˆ

Public analytics as a Node.js microservice, no sysadmin experience required.

Build Status codecov node

A tiny analytics server, easy to run and hack around on. It does one thing, and it does it well: count the views of something and making the views publicly accessible via an API. It supports custom database adapters so you can use your storage engine of choice.

(there is currently no frontend to display pretty graphs, feel free to build one yourself!)

This is a lerna repo with several packages in the same repository. There is more info in on each package in their subfolder:

The main package used to run micro-analytics.

npm install -g micro-analytics-cli
micro-analytics --help

A package that contains several useful utilities and tests that will make it easier to create storage adapters.

The default storage adapter. It stores the data in a single file. This adapter is automatically installed by micro-analytics-cli.

A storage adapter that keeps everything in memory, when using this all data will be lost when the app restarts.

Community adapters

Demo

We have a demo instance on demo.micro-analytics.io automatically deploys the master branch from this repository. Feel free to use it to test your clients.

License

Copyright ยฉ๏ธ 2017 Maximilian Stoiber & Rolf Erik Lekang, licensed under the MIT License. See license.md for more information.