Host your own privacy-effective website analytics on AWS, serverlessly!
The current version of Ownstats is described (and further developed) in a series of blog posts at www.tobilg.com. This repository holds the code and IaC for the series, and is designed as a monorepo that will consist of different packages, which will be added with every new part of the blog series.
- backend: The backend infrastructure to enable to sending of web analytics data, transformation and enrichtment, as well as persisting the data in S3
- frontend: The frontend application, which is a React application that makes use of DuckDB WASM
- client: The JavaScript client library, which can be used to send analytics data to the backend
- A local installation of Node 18+
- An AWS account with the necessary permissions to create resources needed for the project, as well as locally configured AWS credentials for deploying to AWS
- A local installation of Serverless Framework v3 (not v4!)
- A local installation of npm
The documentation for the current version of Ownstats is available at docs.ownstats.com.