The open-source alternative to Google Analytics you can self-host
T

The open-source alternative to Google Analytics you can self-host

The open-source alternative to Google Analytics you can self-host

12,377 stars
N/A forks
N/A contributors

README

Project documentation from GitHub

An Open-Source, Self-Hosted Alternative to Google Analytics

If you've ever needed to add analytics to a side project, a client's website, or even a company internal tool, you've probably felt the pinch of using a service like Google Analytics. The privacy concerns, the data ownership questions, the sheer complexity for simple needs—it can feel like overkill. What if you could just run your own?

That's the idea behind Rybbit. It's an open-source analytics platform you can self-host, giving you full control over your data and a much simpler, developer-focused experience.

What It Does

In a nutshell, Rybbit is a web analytics tool. You add a small snippet of JavaScript to your site, and it starts tracking page views. The data is sent to your own self-hosted Rybbit server (not to a third-party corporation), and you get a clean, straightforward dashboard to see your traffic.

It focuses on the essentials: page views, unique visitors, referral sources, and basic geographic data. It's not trying to be a monstrous all-in-one marketing suite. It's a tool for developers who want to know how their site is being used, without the noise.

Why It's Cool

The appeal here is in the philosophy, not just a checklist of features.

Privacy and Data Ownership: This is the big one. When you self-host Rybbit, the analytics data never leaves your infrastructure. You're not handing visitor information over to an ad-tech giant. This is crucial for privacy-focused projects, internal tools, or companies in regulated industries.

It's Actually Simple: The dashboard is clean and easy to parse. You won't spend 20 minutes hunting for the "page views" metric. The setup is a well-documented, standard Docker Compose process. It respects your time.

Lightweight and Performant: The tracking script is tiny, and the backend is built with Go, which means it's fast and has a small resource footprint. You can run it on a modest VPS without breaking a sweat.

Open Source Means Trust and Flexibility: You can read the entire codebase on GitHub. There are no hidden trackers or opaque data processes. If you need to tweak something or add a specific metric for your use case, you can fork it and customize it.

How to Try It

The quickest way to get Rybbit running is with Docker. If you have Docker and Docker Compose installed, you're basically a few commands away.

  1. Clone the repository:

    git clone https://github.com/rybbit-io/rybbit.git
    cd rybbit
    
  2. Copy the example environment file and configure it (at minimum, set a SECRET_KEY):

    cp .env.example .env
    # Edit .env with your favorite text edit

Did you like this issue?

Join our weekly newsletter

Love discovering amazing projects?

Help us continue bringing you the best open-source discoveries every week.

Back to Projects
Last updated: Jan 18, 2026