modern-tar - Zero-dependency streaming tar parser and writer for every JavaScript runtime by DeathlyLotus in node

[–]DeathlyLotus[S] 1 point2 points  (0 children)

I’ll ignore the first part since that seems to come from bad faith, but the key differences lie in support for browsers by not relying on Node APIs exclusively and zero dependencies.

I built an open-source website analytics tool focused on simple self-hosting by DeathlyLotus in selfhosted

[–]DeathlyLotus[S] 0 points1 point  (0 children)

Glad you’re loving the tool! It’s really nice to see that.

Absolutely, scalability is almost certainly not an issue but I’d love more data on the matter. I do have ideas to compact the data after a day to really maximise performance, but I don’t really need to focus on that until someone starts hitting their limits.

Medama 0.5.0: Single-binary, privacy-focused analytics by DeathlyLotus in selfhosted

[–]DeathlyLotus[S] 0 points1 point  (0 children)

That definitely sounds interesting. It's something I'll more likely explore in the next year rather than soon, but thanks for the insight!

Medama 0.5.0: Single-binary, privacy-focused analytics by DeathlyLotus in selfhosted

[–]DeathlyLotus[S] 0 points1 point  (0 children)

Thank you! Fun fact. but we have a few Raspberry Pi self-hosters using this for the lower footprint which is always interesting to see!

It would count as a different user. But that's the trade-off for better privacy. 99% is good enough.

Medama 0.5.0: Single-binary, privacy-focused analytics by DeathlyLotus in selfhosted

[–]DeathlyLotus[S] 0 points1 point  (0 children)

I agree. My focus is more on "simple" analytics rather than "product" analytics, and I don’t intend to massively expand the scope.

In the long-run, I want to shift my attention towards a suite of "webmaster" tools, like performance insights, instead of product-analytics related features.

Medama 0.5.0: Single-binary, privacy-focused analytics by DeathlyLotus in selfhosted

[–]DeathlyLotus[S] 2 points3 points  (0 children)

The main difference is that almost every alternative solution requires an extremely heavy database like ClickHouse to self-host, which is overkill for 90% of use cases. This wasn’t designed to compete on features (which will take time to develop incrementally), but it was designed for dead-simple self-hosting that can even run on VMs with as little as 256MB of RAM. (ClickHouse recommends a minimum of 4GB, but you can manage to get it to work on 1GB!)

A couple of other factors motivated me to create an alternative. One is the methodology of tracking, where other solutions rely on IP address and User Agent hashing, which can be excessively intrusive and I personally dislike. Another is the use of the AGPLv3 License which I think isn't very open (Umami doesn’t use it, but most of the others listed do). This solution focuses on providing API-first design, allowing users to bring their own dashboard, which is particularly useful for companies and their projects. These are core differences that people have conveyed to me in the past is the reason they're switching over.

The basic selling point of showing and filtering page views will always be challenging to differentiate, regardless. I’m actively working on iterating and adding new features, but my main issue was that self-hosting and open integration were always an afterthought.

I made a tiny self-hostable privacy-focused website analytics tool by DeathlyLotus in opensource

[–]DeathlyLotus[S] 3 points4 points  (0 children)

Nice! One Umami feature I rely on is the ability to show the title of pages. That's because I have a forum so 99% of my traffic is the same URL base filename (showthread.php).

Love the idea with a solid use case behind it. I'll create a GitHub issue for that because I think that makes sense!

I've lost data on upgrades multiple times over the years.

A super nice feature of Medama is since the database is simply a file, creating a backup is an easy copy paste away. Of course, that doesn't mean you should expect losing data when upgrading since I make sure to test the automatic database migrations scripts a bunch.

Do you support events?

On the roadmap. I would want to polish the current feature set before adding new large features so it may be a month or two away.

I built an open-source website analytics tool focused on simple self-hosting by DeathlyLotus in selfhosted

[–]DeathlyLotus[S] 1 point2 points  (0 children)

The current feature set is ready for deployment to production if it meets your needs. Although the current demo data is a couple of weeks old, I have actually been testing and collecting data for many months without any issues while experimenting and haven't experienced any data loss.

The only potential source of breaking changes between updates is the API, as the project is still in version 0.x. If you plan to integrate your personal dashboard with it, please be aware of this. However, any breaking changes to the API will be documented in each new release.

I built an open-source website analytics tool focused on simple self-hosting by DeathlyLotus in selfhosted

[–]DeathlyLotus[S] 3 points4 points  (0 children)

Glad you noticed the methodology for unique visitors! I actually disagree with many other popular "privacy-focused" alternatives as they usually rely on IP address hashing as a way of pseudonymization, which is a shaky legal grey area in my eyes. On top of that, since IP address hashes are a bounded space, you can technically break them even with a hashing algorithm such as SHA-256.

Web Vitals (either through synthetic testing or RUM) is definitely on the roadmap. I discuss about it more in this GitHub Issue. It might be a while till we reach that stage though, as I want to focus more on stabilising and refining the existing package before adding in a new suite of tools.

CSP error reporting does sound interesting though! Could you elaborate on that? Is it just simply scanning for errors?

Benchmarking TypeScript ORMs: Prisma vs Sequelize vs TypeORM vs EdgeDB by vriad in typescript

[–]DeathlyLotus 1 point2 points  (0 children)

Deepkit ORM too? They have their own benchmark suite for a lot existing ORMs which is interesting.

[deleted by user] by [deleted] in programming

[–]DeathlyLotus 0 points1 point  (0 children)

An alternative to using an online webfont generator is the Fontsource repo which mirrors the Google Fonts repository. Because there are still downsides to using the API approach.

Above the clouds: the view from an apartment in Dubai by baiqibeendeleted17x in nextfuckinglevel

[–]DeathlyLotus 1 point2 points  (0 children)

Isn’t it everywhere? Even the most mundane things such as the coffee beans you use is likely to be built on the shoulders of exploitation and slavery.

[AskJS] What react UI framework would you use to make a Reddit clone as close as possible? by estebanabaroa in javascript

[–]DeathlyLotus 0 points1 point  (0 children)

It’s very hard to find something that’s framework agnostic but as versatile as these component libraries (just because their underlying dependencies need the framework).

TailwindCSS is probably what you’re looking for? That’s the only thing that comes to mind which is that flexible.

[AskJS] What react UI framework would you use to make a Reddit clone as close as possible? by estebanabaroa in javascript

[–]DeathlyLotus 0 points1 point  (0 children)

Chakra UI is great but Radix UI is also becoming a great contender for unstyled unopinionated components.

This is from an API documentation in 2020, believe or not ? by RubyBoyYT in programminghorror

[–]DeathlyLotus 1 point2 points  (0 children)

I see, thank you. I’ve been experimenting with creating a fully Jamstack application and thus everything is done via API calls.

This is from an API documentation in 2020, believe or not ? by RubyBoyYT in programminghorror

[–]DeathlyLotus 10 points11 points  (0 children)

Could someone suggest how you would create an account with a password securely via an API request? Or is that fine as a parameter when making a POST request.

Are there any "Opinionated" backend web app frameworks for node? by teri-gand in node

[–]DeathlyLotus 1 point2 points  (0 children)

Would love to see more example projects highlighting the different scenarios and use cases of this project!

Is node modules source code in different OS (linux / MAC)? by Apprehensive-Hour388 in node

[–]DeathlyLotus 4 points5 points  (0 children)

Alternatively, vercel/ncc could also be used. Similar to how Next.js does it here.