{"repo":"UdaraJay/Stats","free":true,"listed":false,"github":"https://github.com/UdaraJay/Stats","clone":"git clone https://github.com/UdaraJay/Stats.git","description":"Standalone analytics server and realtime dashboard designed for self-hosting.","language":"Rust","stars":323,"topics":["analytics","dashboard","realtime"],"license":"MIT","category":"dashboards-admin","readme_excerpt":"Stats Stats is a high-performance, standalone analytics provider designed for self-hosting, enabling the collection and viewing of event data from websites, apps, and more through a web API. It comes with a real-time dashboard and is ideal as a minimal and privacy-preserving analytics solution for small to medium traffic services. Current status: it works, but it's not finished. Key-features - Real-time analytics and dashboard - Lightweight and efficient, with minimal resource usage - Easy integration with websites, mobile apps, and other platforms Getting started To get started with Stats, you'll need to compile an executable for your server, run it, and host it. While this guide focuses on using Nginx as a reverse proxy, Stats is versatile enough to be deployed in various environments, including Docker containers, for enhanced portability and scalability. Run in development-mode Build production release This will create the executable file you need in the /target/release/ folder Embed events collector You use this to automatically collect pageviews or other events triggered by calling stats collect('event name', 'optinal url override') from javascript once the script below is initialized. When you add this script to a new domain, you must add them to the CORS DOMAINS list on the backend so the server can receive data from them. Setup Minimum set of folders & files required to run this application. Configuration These options must be defined in a .env file before starting th","default_branch":null,"files":null,"tree":[],"storefront":"/r/UdaraJay","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/UdaraJay/Stats/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}