this post was submitted on 22 Nov 2025
370 points (99.5% liked)

Selfhosted

53093 readers
705 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

Hi guys, I've been working on a self-hostable web analytics platform since the start of this year after being frustrated with Google Analytics and Plausible.

I've packed a bunch of cool web analytics features into Rybbit, but I've tried very hard to keep the interface simple to use,

https://github.com/rybbit-io/rybbit

Check it out!

top 50 comments
sorted by: hot top controversial new old
[–] Goldflag@lemmy.world 59 points 22 hours ago (3 children)
[–] MakingWork@lemmy.ca 17 points 21 hours ago

I have no idea how to use this, but this is amazing!

[–] bear@lemmy.blahaj.zone 7 points 17 hours ago

What should we try with the live demo? Neat stuff, it's this a long-term project?

[–] helix@feddit.org 4 points 12 hours ago

You're awesome. Thanks!

[–] lung@lemmy.world 19 points 22 hours ago (2 children)

Wow holy crap, great work - the world badly needs this. Im assuming the mechanism is the same, you inject a js script into your site. I'm also very interested in pure server side solutions for analytics, but they can't hit all the features you did in a generic way afaik

[–] Goldflag@lemmy.world 23 points 22 hours ago (1 children)

Yea, we use a client-side script like almost everyone else. The major difference is that we don't use cookies so you can avoid a lot of the cookie banner/GDPR nonsense.

Rybbit definitely isn't the first open source cookieless web analytics platform (Plausible and Umami are the two other big ones), but it's probably the most "all-in-one" of all these alternatives.

[–] criss_cross@lemmy.world 3 points 13 hours ago

Do you use fingerprinting instead? Or what’s the mechanism you use?

[–] x00z@lemmy.world 4 points 12 hours ago* (last edited 12 hours ago)

GoAccess uses your server side access log.

[–] mesamunefire@piefed.social 18 points 22 hours ago (1 children)

I would love for this to work on yunohost.

[–] otter@lemmy.ca 15 points 21 hours ago* (last edited 21 hours ago) (1 children)

You mentioned being frustrated at Plausible. What did you not like about it?

I haven't tried Plausible, but it seemed popular

[–] Goldflag@lemmy.world 14 points 20 hours ago

it didn't have enough features, especially since the community version is heavily nerfed (it's missing even funnels)

[–] osprior@lemmy.world 12 points 20 hours ago (1 children)

Question is the self-hosted version less featured than the paid hosted version?

This looks amazing btw.

[–] Goldflag@lemmy.world 15 points 19 hours ago (2 children)

Only very slightly so. One of the reasons I created Rybbit is because platforms like plausible and fathom have much inferior self-hosted versions (very limited featureset and basically never updated). We have a comparison here

[–] spacelord@sh.itjust.works 17 points 14 hours ago* (last edited 14 hours ago) (2 children)

@Goldflag

I appreciate the intent behind Rybbit, but I have to respectfully disagree with the "only very slightly so" characterization. Looking at your official comparison table, the self-hosted version is missing:

  • Pages View
  • Web Vitals
  • Email reports
  • Google Search Console integration
  • VPN/Crawler/ASN tracking
  • Google/GitHub OAuth
  • Email support

That's 7 significant features—which seems more than "very slightly" different.

More importantly, this raises AGPL compliance questions. Under AGPLv3 Section 13, if users interact with modified AGPL software over a network (your cloud version), you're required to make the complete corresponding source code available to those users. If these cloud-only features are integrated into the same AGPL-licensed codebase, withholding them from the public repo while running them as a network service appears to conflict with the license terms.

There are really only two compliant scenarios here:

  1. These features exist in the public repo but are just marketed as "cloud-only" (in which case the comparison table's misleading)
  2. These features are truly separate proprietary code that interfaces with Rybbit without being part of the AGPL-licensed work (which would require careful architectural separation)

If it's neither—if these are AGPL-covered features running in your cloud service but withheld from the repo—that's exactly the "loophole" the AGPL was designed to close. The irony is that you criticized Plausible and Fathom for having "much inferior self-hosted versions," yet this appears to be a similar approach.

Could you clarify the licensing status of these cloud-only features? Are they in the public repo but disabled by default, or are they proprietary additions that don't derive from the AGPL codebase?

[–] ripcord@lemmy.world 3 points 12 hours ago

Thank you for your service.

[–] Goldflag@lemmy.world 1 points 11 hours ago (1 children)

Everything is in the repo and cloud features are just toggled off in the self-hosted build.

[–] spacelord@sh.itjust.works 1 points 11 hours ago

@Goldflag,

Thanks for clarifying! Good to hear everything's in the repo and that it's truly AGPL compliant.

Since as self-hosters we already carry the burden of maintenance, updates, security, and infrastructure costs that cloud users don't, would you consider documenting how to enable the cloud features in self-hosted setups?

I see the docs cover basic environment variables, but not for Pages View, Web Vitals, or VPN/ASN tracking. Even if some features need extra config (SMTP, OAuth creds), having that documented would help those of us willing to do the work.

That would truly differentiate Rybbit from Plausible/Fathom—not just code parity, but empowering self-hosters with full feature access.

[–] osprior@lemmy.world 4 points 19 hours ago

That's excellent and very clear, thank you for the explanation.

[–] jarhead@pie.jarofmilk.cloud 9 points 21 hours ago (1 children)
[–] Goldflag@lemmy.world 6 points 21 hours ago
[–] cupcakezealot@piefed.blahaj.zone 8 points 14 hours ago (1 children)

hmm interesting im using matomo but im not liking how its increasingly becoming bloated and subscription based

[–] helix@feddit.org 8 points 12 hours ago

You can try https://goaccess.io/ or https://plausible.io/ aswell. Ribbit is very cool though!

[–] baatliwala@lemmy.world 5 points 20 hours ago

This looks... Great? Nice work

[–] parmesancrabs@sh.itjust.works 5 points 14 hours ago

Aways a fan of alternate options, this looks quite tidy! I had a few thoughts / queries. Not at my system right now but I will test it out later.

I noticed in the screenshots you have a "users" page - but with a cookieless tracking system I would have assumed it wouldn't be reliable to identify a long term user past individual sessions? Are you doing some hefty finger printing?

Looking at your features table has a few statements that might need adjusting. Such as GA4's segmentation sequencing / filtering can be quite complex, I'd argue its not limited and potentially more advanced than Rybbit (not tested yet). It also has a user exploration feature.

Do you have any plans for a drag and drop style report creation, so that I could create reports with any dimensions / metrics and filter accordingly? I think that would bring a lot of flexibility to the platform for an individuals bespoke needs.

[–] starkzarn@infosec.pub 4 points 19 hours ago (1 children)

Glad to see you post this here. I've been experimenting with selfhosted analytics for a while now and have attempted your project here a couple times. The thing that kills me is the Clickhouse requirement. It makes it impossible to host on a lightweight VPS. Like why should my analytics platform require so much more compute than my simple static site? Am I missing something?

[–] Goldflag@lemmy.world 9 points 19 hours ago (1 children)

Clickhouse definitely takes a lot of resources! There's unfortunately no way around that, though in my experience it runs fine on the cheapest Hetzner instances which are like $3-4 a month for 2GB of RAM. How lightweight is your VPS?

And yea, you don't need clickhouse for a simple static site. I chose clickhouse because it Postgres or MySQL does not scale well since the main site I personally use Rybbit for sends around 20 million events a month.

It pains me to plug my competitors, but check out Umami or Goatcounter if you want a platform that uses postgres.

[–] starkzarn@infosec.pub 1 points 10 hours ago

Hey thanks so much for the engagement. I was trying to run it on a VPS that cost $35/year. 2GiB of RAM wasn't quite enough to make it work for me, granted that was with the webserver and ancillary supporting services.

I'll find an opportunity to test it out though, as rybbit looks great. I appreciate the mention on the other FOSS products, that's a good look for you. I have plenty of experience with umami already. Cheers!

[–] lIlIlIlIlIlIl@lemmy.world 4 points 21 hours ago (1 children)

How would this compare to something like PostHog?

[–] Goldflag@lemmy.world 7 points 21 hours ago

Posthog makes it almost impossible to actually self-host since they try to push you onto the cloud as much as possible. They say that the self-hosted version only works well up until 100k events ... which is insane since their cloud free tier is 1 million events. It's actually the reason why I built Rybbit. I tried to self-host posthog on my server but it ran it up to 100% CPU on 8 cores and didn't even work.

Ok posthog rant done.

The other main difference is that Posthog has like 10+ different products all in one. Their web analytics is good, but it's just kind of bland (imo) because it's not their main focus.

[–] houjou@jlai.lu 4 points 16 hours ago

it looks beautiful!! do you plan on making the wcv available for the self hosted version in the future?

[–] quick_snail@feddit.nl 2 points 4 hours ago (2 children)

What's the advantages over awstats?

[–] Goldflag@lemmy.world 2 points 3 hours ago

from what i know, awstats gets analytics from server-side logs while Rybbit uses a client side script. So not really and apples to apples comparison

[–] danhab99@programming.dev 2 points 4 hours ago (1 children)

The same advantages as all free and open source solution, it's free and open source. That means how much it's going to cost to your business is directly under your control. You can make a decision on how you acquire hardware based on your business's needs. If you want to add or change features you can decide how to do that based on the deals you have with your programmers (like pick the developer you have with the best skills and the lowest cost), and then you get to control how much it costs you and how reliable the result is going to be.

If you feel like the support you get from customer service from Amazon or Google or Microsoft is reliable enough and you don't need more reliability then go ahead and stick with paid products. But if you already have a team of really expensive and talented engineers you might as well let them solve problems with free and open source equipment.

[–] Goldflag@lemmy.world 3 points 3 hours ago (1 children)
[–] quick_snail@feddit.nl 1 points 2 hours ago

Yes. It predates aws lol

[–] NarrativeBear@lemmy.world 1 points 8 hours ago (1 children)

How can I run this on unraid, and can I point it at multiple domains and sub-domains?

[–] MangoPenguin@lemmy.blahaj.zone 2 points 5 hours ago

Its a docker compose deployment so should just work on any system with docker installed. Copy the docker compose file and env file if it has one, and run 'docker compose up -d' in that directory.

It can collect analytics from multiple places.

[–] rekabis@lemmy.ca 1 points 1 minute ago

OpenBSD does not have a docker engine. Can this be installed without docker?

load more comments
view more: next ›