Thursday, October 12, 2023

Show HN: Obligator – An OpenID Connect server for self-hosters https://ift.tt/uQaSHjX

Show HN: Obligator – An OpenID Connect server for self-hosters https://ift.tt/pU6xAqM October 12, 2023 at 12:29AM

Wednesday, October 11, 2023

Show HN: A lightweight open-source web analytics for webdevs https://ift.tt/MGSjkxN

Show HN: A lightweight open-source web analytics for webdevs I wanted to share something I've been working on recently: Statum, a handy web analytics tool. https://ift.tt/8j3CsUm The journey began when I found myself frequently needing simple web analytics for my projects. I tried Google Analytics, especially GA4, and realized it was quite complex and, at times, not very accurate, especially when I wanted to view stats for the current day or recent hours. Then I tested a few fancy startup solution but ended up with way too expensive plans the expect me to subscribe (I'm not that rich to pay $99/month for every pet project web analytics). This drove me to think, "Why not create a tool that bridges the gap between these complex/expensive platforms and the real needs of developers like me?" So, I designed Statum to seamlessly parse both Nginx and Apache server logs. It filters all necessary data, including IP, http method, URL, and user agent. What's more, it can categorize these user-agents into mobile users, bots, and others. Besides that...to provide a holistic view, Statum augments local log file statistics with web-based JavaScript analytics, offering even deeper insights, especially into returning visitors. With Statum, you can quickly get a grip on: - The number of visitors and a breakdown between bots and real users. - Identify visitors as unique entities (tied to the browser). - Client-side parameters such as screen resolution, OS, language. - Unique user-agents and much more. I've aimed to make the setup process straightforward (it's just one js line to insert into your website template and update a few paths in .py file to parse logs from the right place). Currently, it does not have UI, I use just a text output from sqlite, the default query to get the number of visitors and return visitors is in gen_stats.sh so you can enhance it depending on what you want to analyze. I'd appreciate any feedback you have on the project. Please keep in mind that this is an initial version and it's not designed for high-traffic websites. https://ift.tt/8j3CsUm October 11, 2023 at 03:49AM

Show HN: We built a security compliance platform that uses AI https://ift.tt/pki93GY

Show HN: We built a security compliance platform that uses AI https://compliance.sh/ October 11, 2023 at 03:09AM

Show HN: I learned to code and built a crypto analytics platform all by myself https://ift.tt/pwybdZs

Show HN: I learned to code and built a crypto analytics platform all by myself Hey everyone! I am an enthusiast trader and a year ago I had this idea to create a free-to-use website that would feature all the most essential tools that traders would use on a daily basis. So I learned to code and build it—I did everything including design, texts, code, and SEO—which took me 12 months to launch and a year and a half to make it look like it currently does. I was into marketing and design before, but I didn't know barely anything about coding. The website is built using Next.js, Tailwind CSS, and Typescript with Framer Motion animations and lots of APIs. I’m actively working on the project and in the following months I will release a huge update that will feature a renewed interface and access to real time on chain data and analytics. Feel free to ask any questions and thanks a lot for reading this, it means a lot to me. Any feedback and your opinions would be highly appreciated. https://ift.tt/gdDAlUB October 11, 2023 at 01:53AM

Show HN: Standalone Jdk.compiler, Java Compiler Framework and Tree API https://ift.tt/IDc96h3

Show HN: Standalone Jdk.compiler, Java Compiler Framework and Tree API With this standalone compiler, you can rely on all Java 11 javac features to be available, even when using newer Java versions. Specifically, this allows you to: - compile code even if your Java environment isn't a full JDK (Java JRE, for example!) - target Java 1.7 for compilation without any warnings or restrictions. - use the Compiler Tree API without resorting to --add-opens trickery that may eventually fail in newer Java releases - build a modified compiler with additional features or custom tweaks I made this after finding that the otherwise superb "jsweet" Java-to-JavaScript transpiler failed to build and run with Java 16 or newer. Surprisingly, I couldn't find any prior work other than "proper" standalone compilers like Eclipse's ecj that would properly work with modern Java runtimes. I'm excited to see what can be done now that we have this scaffolding. https://ift.tt/FRUJwgG October 10, 2023 at 10:15PM

Tuesday, October 10, 2023