HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
shafy
fugu
Ruby2021–2024
shafy / fugu

fugu

Free, privacy-friendly, simple, open-source and self-hostable product analytics.

2Distinct people
17Mentions
1Explicit recommenders
214GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Free, privacy-friendly, simple, open-source and self-hostable product analytics.

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

Setting up solid required legal docs as you did is a good first step. In general, don't save data about your users. If you need to, minimize the amount. Don't use non-essential…

shafyy used a recommendation phrase. 2 indexed comments match. This is a phrase match, not a verdict.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 5:04:57 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by month17 dated mentions

Observed mentions: 2021-12-23 17:02:00 UTC to 2024-07-09 07:16:58 UTC.

012342021-12-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsDec 20212022-01-01 00:00:00 UTC to 2022-02-01 00:00:00 UTC (exclusive): 4 mentions; 2 submissions, 2 comments2022-02-01 00:00:00 UTC to 2022-03-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2022-03-01 00:00:00 UTC to 2022-04-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2022-04-01 00:00:00 UTC to 2022-05-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2022-05-01 00:00:00 UTC to 2022-06-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2022-06-01 00:00:00 UTC to 2022-07-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2022-07-01 00:00:00 UTC to 2022-08-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-08-01 00:00:00 UTC to 2022-09-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-09-01 00:00:00 UTC to 2022-10-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-10-01 00:00:00 UTC to 2022-11-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2022-11-01 00:00:00 UTC to 2022-12-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-12-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-01-01 00:00:00 UTC to 2023-02-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-02-01 00:00:00 UTC to 2023-03-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-03-01 00:00:00 UTC to 2023-04-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsMar 20232023-04-01 00:00:00 UTC to 2023-05-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-05-01 00:00:00 UTC to 2023-06-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-06-01 00:00:00 UTC to 2023-07-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-07-01 00:00:00 UTC to 2023-08-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-08-01 00:00:00 UTC to 2023-09-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-09-01 00:00:00 UTC to 2023-10-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-10-01 00:00:00 UTC to 2023-11-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-11-01 00:00:00 UTC to 2023-12-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-12-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2024-01-01 00:00:00 UTC to 2024-02-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-02-01 00:00:00 UTC to 2024-03-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-03-01 00:00:00 UTC to 2024-04-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-04-01 00:00:00 UTC to 2024-05-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-05-01 00:00:00 UTC to 2024-06-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2024-06-01 00:00:00 UTC to 2024-07-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-07-01 00:00:00 UTC to 2024-08-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsJul 2024

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Dec 20212021-12-01 00:00:00 UTC2022-01-01 00:00:00 UTC101
Jan 20222022-01-01 00:00:00 UTC2022-02-01 00:00:00 UTC422
Feb 20222022-02-01 00:00:00 UTC2022-03-01 00:00:00 UTC202
Mar 20222022-03-01 00:00:00 UTC2022-04-01 00:00:00 UTC202
Apr 20222022-04-01 00:00:00 UTC2022-05-01 00:00:00 UTC101
May 20222022-05-01 00:00:00 UTC2022-06-01 00:00:00 UTC101
Jun 20222022-06-01 00:00:00 UTC2022-07-01 00:00:00 UTC101
Jul 20222022-07-01 00:00:00 UTC2022-08-01 00:00:00 UTC000
Aug 20222022-08-01 00:00:00 UTC2022-09-01 00:00:00 UTC000
Sep 20222022-09-01 00:00:00 UTC2022-10-01 00:00:00 UTC000
Oct 20222022-10-01 00:00:00 UTC2022-11-01 00:00:00 UTC202
Nov 20222022-11-01 00:00:00 UTC2022-12-01 00:00:00 UTC000
Dec 20222022-12-01 00:00:00 UTC2023-01-01 00:00:00 UTC000
Jan 20232023-01-01 00:00:00 UTC2023-02-01 00:00:00 UTC000
Feb 20232023-02-01 00:00:00 UTC2023-03-01 00:00:00 UTC000
Mar 20232023-03-01 00:00:00 UTC2023-04-01 00:00:00 UTC000
Apr 20232023-04-01 00:00:00 UTC2023-05-01 00:00:00 UTC000
May 20232023-05-01 00:00:00 UTC2023-06-01 00:00:00 UTC000
Jun 20232023-06-01 00:00:00 UTC2023-07-01 00:00:00 UTC000
Jul 20232023-07-01 00:00:00 UTC2023-08-01 00:00:00 UTC000
Aug 20232023-08-01 00:00:00 UTC2023-09-01 00:00:00 UTC000
Sep 20232023-09-01 00:00:00 UTC2023-10-01 00:00:00 UTC000
Oct 20232023-10-01 00:00:00 UTC2023-11-01 00:00:00 UTC000
Nov 20232023-11-01 00:00:00 UTC2023-12-01 00:00:00 UTC000
Dec 20232023-12-01 00:00:00 UTC2024-01-01 00:00:00 UTC101
Jan 20242024-01-01 00:00:00 UTC2024-02-01 00:00:00 UTC000
Feb 20242024-02-01 00:00:00 UTC2024-03-01 00:00:00 UTC000
Mar 20242024-03-01 00:00:00 UTC2024-04-01 00:00:00 UTC000
Apr 20242024-04-01 00:00:00 UTC2024-05-01 00:00:00 UTC000
May 20242024-05-01 00:00:00 UTC2024-06-01 00:00:00 UTC101
Jun 20242024-06-01 00:00:00 UTC2024-07-01 00:00:00 UTC000
Jul 20242024-07-01 00:00:00 UTC2024-08-01 00:00:00 UTC101

What Hacker News says

17 sources
I have two open-source projects where people can self-host for free, or use the cloud (SaaS) version. Although with Mapzy I stopped providing the cloud version for now. I have one codebase and then use an environment variable to activate features like Stripe that I need for the cloud version. Mapzy: A simple storefinder (https://github.com/mapzy/mapzy) Fugue: Privacy-friendly product analytics (https://github.com/shafy/fugu)
In Ask HN: Founders who offer free/OS and paid SaaS, how do you manage your code?
If you track Personally Identifable Information, such as IP addresses or emails, yes. If you track completely anonymously, then no. Of course, this limits what kind of anylses you can do (e.g. cohort-based analyses will be impossible). But I would also wager that you don't really need that, especially if you're a small startup. You can have a look at my open-source, self-hostable Mixpanel alternative if you are interested: https://github.com/shafy/fugu
In Ask HN: GDPR in 2022 – What do I need to know as a solo founder?
shafyy·Oct 13, 2022Recommendation phrase
Setting up solid required legal docs as you did is a good first step. In general, don't save data about your users. If you need to, minimize the amount. Don't use non-essential cookie, this allows comes with the benefit of not needing to show an annoying a cookie banner. As an alternative to Google Analytics, I recommend Plausible. If you need more event-based tracking (like Mixpanel), have a look at my app Fugu (https://github.com/shafy/fugu). It doesn't track unique users and is therefore compliant with GDPR. It's hosted in Germany, and you can self host it for free if you want (it's open-source). This is not very clear yet, but it might well be possible that using US companies as hosting providers might also become illegal under GDPR, even you use their EU data center. This is because the US government can access all US companies custo
Read the rest
mer data, even if it's not hosted in the US. There are already precendences where this was ruled by a court. So, to be safe, I would also pick a EU provider, such as Hetzner, Clever Cloud or Scalingo.
In Ask HN: GDPR in 2022 – What do I need to know as a solo founder?
For my two open-source projects, Fugu [0] (privacy-first product analytics) and Mapzy [1] (store finder), everyone can self-host for free without any feature restrictions (AGPLv3 license). We then offer a hosted version that people can use who don't care about self-hosting at a price that makes self-hosting not worth it for most users. Of course, there are other reasons to self-host outside of cost. 0: https://github.com/shafy/fugu 1: https://github.com/mapzy/mapzy
In Ask HN: How to Monetize Open-Source Software?
I contribute to Our World In Data [0] and some of the Rails repos. I also run my own open source projects [1][2]. I've just recently started doing it, and I only put in a few hours each week. Slow and steady wins the race. My motivation is three-fold: First, it's gratifying to give something back to software I love using for free. Second, I learn a lot. Third, if I ever want to work with one of the companies who are stewarding these repos, it gives me a leg up in the application process. 0: https://github.com/owid/owid-grapher 1: https://github.com/shafy/fugu 2: https://github.com/mapzy/mapzy
In Ask HN: Do you contribute to open source projects?
Awesome. Do you plan to support providing the hosted instance on other providers (specifically, non-US companies like Hetzner)? Alternatively, do you plan on offering a self-hosted version? I would be interested in the Clickhouse integration. Specifically, it would allow me to easily add Clickhouse to my Rails-based product analytics tool [0] while still using the Rails ORM (as far as I understand this should be possible?). 0: https://github.com/shafy/fugu
In Launch HN: Hydra (YC W22) – Query any database via Postgres
shafyy·Jan 26, 2022Submission

Ask HN: How to find a junior web dev role?

Hey hey, My girlfriend is an environmental scientist but is currently learning to code. She's done a bootcamp (Scrimba, JavaScript), and now is working on a side project of mine/ours (Ruby on Rails, JavaScript)[0]. I think it's a great way for her to learn, since it's a real project with real users and I can give her feedback in PR reviews, like it's done in the real world. Eventually, she wants to get a proper job as a junior dev, to get the experience of work in a bigger team and not just with me, and to see how she likes this profession. Do you have any tips on how to find a junior dev role without a traditional computer science background? Most job listings I see are for more experienced devs... Thanks! 0: https://github.com/shafy/fugu
1 points · Open discussion
Hello HN! Fugu is a product analytics software that focuses on privacy and simplicity. Oh, and it’s open source[0], too! At its core, Fugu allows you to track events along with properties by calling the Fugu API. You can then analyze your events by looking at different time ranges, time aggregations, property breakdowns and creating conversion funnels. Here’s an example request body that you might use: { "api_key": "very_secret", "name": "Fun event", "properties": { "color": "Blue", "type": "Oak" } } Fugu doesn’t track unique users, not even anonymously. I believe that you can get enough insights without doing that, and that the incremental insights you get by tracking unique users is not worth the privacy trade-off. You can read more about my thinking in this post linked in the footnotes [1]: I’ve used M
Read the rest
ixpanel, Amplitude and PostHog before, and while they are good tools, they lacked the privacy and simplicity I was looking for. I didn’t need (nor wanted) integrations with other tools, screen recordings, feature flags, retention analyses and so forth. That’s why I started to work on Fugu sometime last year and went in October. I’ve got a day job, and I only get to work on Fugu for a couple of hours each week. You can host the open-source version yourself for free, forever, without any feature restrictions. Additionally, I offer a managed cloud version and charge $9/month for it. You can try the cloud version for free - you don’t need to pay as long as you only track events in test mode (it’s meant for testing, and those events are deleted after 14 days). Fugu is a Ruby on Rails monolith. I use Postgres for the database and Stimulus for the little JavaScript I need. For the charts, I use the awesome Chart.js library. It's hosted with DigitalOcean in their Frankfurt, Germany data center. I'm looking forward to any questions or feedback you might have. 0: https://github.com/shafy/fugu 1: https://fugu.lol/why-fugu-doesnt-track-unique-users/
In Show HN: Fugu, open-source and privacy-friendly product analytics

Showing the 15 most recent of 17 sources. Enable JavaScript to search and browse every indexed mention.

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.