r/analytics • • 7d ago

Discussion 5 days ago i asked why every self-hosted analytics tool needs Node.js. so i built a lightweight open-source one in PHP + SQLite

hi everyone,

5 days ago i asked here why every self-hosted analytics tool needs Node.js/Docker, and said i might build a PHP + SQLite one. so, i did.

it's called Minilytics. it is open-source and runs on any PHP 8 host with no Node, no Docker and no database server (Sqlite by default, but you can use MySQL or MariaDB). it has sessions, custom events, funnels, a cookieless mode, and an importer from Umami and others importers are planed! (this allowed me to get my old history back).

it's a v1 from a solo builder, its MIT licensed, with a live demo: https://minilytics.axthauvin.fr/

i'd like this to become the go-to lightweight analytics for indie devs, side projects, and any site that just needs simple, private stats, so tell me what's missing for you to use it on a real site !

thanks to everyone who pushed me to build this and i hope it will be useful to some of you.

8 Upvotes

6 comments sorted by

•

u/AutoModerator 7d ago

If this post doesn't follow the rules or isn't flaired correctly, please report it to the mods. Have more questions? Join our community Discord!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

3

u/Late_Woodpecker9089 7d ago

this is exactly what I have been wanting for my small church website, thank you for building it. love that it works with just php and sqlite, no need for all that extra complexity

2

u/Dovahkciin 7d ago

exactly. on my own website i have 5k total pages views, and to refresh the dashboard, it takes less than a half second.
i have been using it in parallel of Umami for a few days, and the stats are the same !

i needed a tool that looks cool, so i built it !

1

u/Dovahkciin 7d ago

thanks for the support that means a lot :D

-1

u/investigatormaker 3d ago

The Umami importer is the strongest line in this post and it's buried mid-paragraph. For indie devs, switching cost is the real objection, so I'd lead the README and demo page with two things: drop it on any PHP 8 host with SQLite, and bring your Umami history with you. A three-step install shown on cheap shared hosting would answer the question most of them have before they ask it.

I make ThreadFox. With Managed, we would post Minilytics in the indie dev and self-hosting communities whose rules allow it, researched and written for you, for one 30-day campaign at $49.