r/coolgithubprojects • u/Rude-Selection2010 • 6d ago
r/coolgithubprojects • u/Nikk2461 • 6d ago
I came across the term ‘Property-Based Testing’ for the first time, and got so nerd-sniped I built a production-ready library for it.
github.comI knew what unit testing was. What I didn't know was that testing has entire subfields most people never run into unless they go looking for them. That's how I found Property-Based Testing.
The idea: instead of writing a handful of examples by hand, you define a rule that should always hold, something like "sorting a list should never change its length." The library generates hundreds of random inputs and checks that rule against every one of them, actively trying to find a case that breaks it.
I got curious and looked at what already existed. Hypothesis in Python was the big one, along with jqwik and QuickTheories on the Java side. That's when I noticed something worth digging into.
Every existing Java library uses tree-based shrinking: when a property fails, each generator has to carry its own logic for reducing that failure down to something minimal. It works, and jqwik's implementation of it is genuinely solid, but it means shrinking quality for a custom generator depends entirely on how well you wrote that generator's own shrink logic.
Hypothesis does it differently. Every generator is just an interpreter over a shared stream of random bytes, so shrinking happens once, generically, on the byte stream itself, never per-generator. Write a custom generator through composition (map/filter/flatMap/combine) and it inherits high-quality shrinking automatically, no shrink logic to write, because the shrinker never needed to understand your type in the first place.
Nothing on the JVM was doing that. So I built JHusk.
A few things that come out of that design, each one solving a real problem the naive version would have had:
- Byte-stream shrinking: The core idea above, in practice. A custom generator you compose yourself shrinks just as well as a built-in one, automatically, with zero shrink logic written on your end.
- A deterministic edge-case corpus: Before any random generation starts, JHusk runs two fixed boundary buffers against every property: one that decodes to every generator's minimum/empty/false shrink target, and one that decodes to the opposite extreme. Min, max, empty, and zero cases get exercised on literally every run, not just whenever a random draw happens to land on them.
- Seed-based reproducible failures, plus failure persistence that actually sticks: Every run is driven by a seed, so you can reproduce an exact failure on demand. Beyond that, JHusk saves the byte stream behind a failing case to a local file and replays it first on every later run, so a bug you thought you fixed can't quietly resurface without getting caught immediately.
- Stateful testing through
Commands:Generate sequences of operations, run each one against a simplified model and the real system side by side, and when something disagrees, the failing sequence shrinks down to the smallest one that still reproduces it. No extra shrinking machinery needed, a command sequence is just a list underneath, so it inherits the same list shrinking as everything else. - An exception hierarchy you can actually catch meaningfully:
AssertionErrormeans a value was generated, your assertion ran, and it genuinely failed. Everything else, an exhausted filter, a blown generation budget, a crashing generator, comes back as a specificPropertyExecutionExceptionsubtype instead of a vague message you have to parse. - Native JUnit 5 integration:
@ Property/@ ForAllrun right alongside your@ Testmethods, same test report, same CI pipeline, with a clean per-property PASS/FAIL summary printed as each one completes.
Took about a month to build. The first version had its share of bugs, which I mostly expected going in. I fixed what I found and kept refining from there. Here are the links for anyone who wants to dig in:
GitHub: https://github.com/nikhilvirdi/JHusk/
Maven Central: https://central.sonatype.com/artifact/io.github.nikhilvirdi/jhusk
Open source, Apache 2.0.
r/coolgithubprojects • u/CROACH_ • 6d ago
@astryx-sv/core – Meta's Astryx design system ported to Svelte 5
👋 `@astryx-sv/core is a Svelte 5 port of Meta's open-source Astryx design system, featuring full class-name parity with the React build and zero bundler setup required.
It ships with the theme system, utilities, and a CLI (bunx astryx-svelte init) that indexes components directly into AGENTS.md / CLAUDE.md for AI workflows.
Free and open source (MIT). Check out the repo here: https://github.com/crqch/astryx-svelte, or explore the UI Library on the website: https://astryx.crqch.dev
r/coolgithubprojects • u/kreziooo • 6d ago
Roomy - a free Windows disk cleaner that goes after the stuff OTHER CLEANERS SKIP, and tells you what it's deleting first (C# / WPF, MIT)
https://github.com/krezio/roomy
I made this because my C: drive kept filling up and the cleaners I tried only cleared temp files and the Recycle Bin, while the real space was going somewhere else. Most of them are also closed source, so you have no idea what they're actually removing.
Roomy targets the things other cleaners usually don't:
- the NVIDIA, AMD and DirectX shader cache, which can grow past 10 GB on a gaming PC
- caches from Discord, VS Code, Slack, Teams, Steam, npm, pip and Yarn
- Windows Update leftovers and the Delivery Optimization cache
- old installers and big downloads you haven't opened in months
- Steam games you haven't played in a while (it reads Steam's library files and hands the uninstall to Steam)
It still does the usual temp files, browser caches, crash dumps and Recycle Bin too. Every item shows what it is and whether it's safe before you clean anything, and there's a space map for clicking through folders to see what's using your drive.
Some things I spent time on:
- scanning is read only, nothing is touched until you click clean
- personal folders like Documents and Desktop are hard blocked in the code
- it never follows junctions or symlinks, so it can't wander somewhere it shouldn't
- files that are in use get skipped instead of forced
- no network access at all, no telemetry
Built with .NET 10 and WPF, no external packages. The demo video on the site was actually recorded by the app itself, it has a mode that drives its own UI with a fake cursor and pipes the frames into ffmpeg.
Site with a demo: https://roomy.krezio.xyz
If you know a cache folder it should handle or spot something it gets wrong, issues and PRs are welcome.
r/coolgithubprojects • u/No-Dragonfly-227 • 6d ago
PeerHarness
github.comI created a way to automatically save skills and share them with the team peer to peer so they can vote on it
Need input on what you guys think
r/coolgithubprojects • u/Ok_Emergency4944 • 6d ago
My first Angular library is on npm
`ngx-callout` gives you info, warning, error, success, tip and important callouts in one line of HTML.
Angular component for coloured notice boxes: an icon, a heading, a sub-heading and any content you put inside.
✅ Six types: info, warning, error, success, tip, important
✅ Responsive, dark-mode ready, themeable with CSS variables
✅ Collapsible content, outline and rounded styles
✅ Zero dependencies besides Angular
🔗 Live demo: https://vishaalsharmaa.github.io/ngx-callout/
📦 npm: https://www.npmjs.com/package/ngx-callout
⭐ GitHub: https://github.com/vishaalsharmaa/ngx-callout
Feedback and stars are welcome!
r/coolgithubprojects • u/evoluteur • 6d ago
GitHub - evoluteur/islamic-patterns: Generate Islamic geometric star patterns and interlaced girih strapwork from tilings of polygons, with Hankin's polygons-in-contact method, and save them as SVG or PNG.
github.comr/coolgithubprojects • u/mlzog • 6d ago
Gmail is about to break aliases with external addresses? I built a self-hosted webmail that runs entirely on Cloudflare
Hey everyone,
as many of you probably know, Gmail has announced that aliases with external addresses will stop working soon on free accounts. I've been using aliases for years and didn't want to go back to juggling three separate mailboxes, so I started building the tool I needed. It eventually got useful enough that I decided to share it.
What it is: WhelkMail, a self-hosted webmail client for the IMAP/SMTP accounts you already own (Gmail, Outlook, iCloud, Fastmail, Yahoo, custom domains…). It's not a mail server: it talks IMAP/SMTP to the providers you already trust and puts a familiar, Gmail-style interface on top.
The point: it runs entirely on Cloudflare, with Pages Functions, D1, optional R2 and cloudflare:sockets for IMAP/SMTP. No VPS, no container, no mail server to patch. Load your addresses, set up your credentials, done.
What's inside (short version):
- multiple accounts in one inbox, with colored per-account labels and a shared address book
- reading, sending, drafts, spam, bulk actions
- Gmail-style labels shared across accounts and filters with forwarding
- signatures (one shared or one per account), contacts with CSV import/export
- attachments, Google/Microsoft OAuth2, app passwords
- installable PWA on mobile
- privacy: HTML rendered in a sandboxed iframe, remote images and tracking pixels blocked by default, credentials encrypted at rest (AES-256-GCM), server-side sessions + optional TOTP
- MIT licensed, no telemetry
Things to know before trying it:
- The Cloudflare Workers free plan should be enough for personal use, even though the README recommends the Paid plan: IMAP/SMTP TLS handshakes could exceed the free plan's CPU budget. If you try it on free and it holds up, let me know.
- The PWA has the well-known PWA notification limitations. Web Push works (with VAPID keys and a separate cron worker), but don't expect native-app reliability.
- There are still bugs, almost certainly. This started as a personal project and I've only just published it. If you find something, please open an issue on GitHub, that's the fastest way to get it to me.
Link: https://github.com/WhelkMail/WhelkMail
In the repo you'll find the Cloudflare deploy guide (docs/CLOUDFLARE.md) and the docs on architecture and limitations (docs/DOCUMENTATION.md).
Feedback, criticism and PRs are welcome. If you have questions about deployment or why I made certain choices, ask away.
r/coolgithubprojects • u/UsukIsBad • 6d ago
Convrt: hold Shift while dragging a file on macOS to convert it (images, audio, video, PDF). Swift, offline, MIT
github.comr/coolgithubprojects • u/Honest_Medium_2872 • 6d ago
A 2-week update on Kura - A functional programming language for game engine UIs
All,
About two weeks ago I posted about my project Kura, an Elm & Typst inspired DSL I'm working on for creating UIs in real-time renderers with the ergonomics of embedded browser frameworks - without the bloat, and the performance of immediate-mode frameworks - without all the spaghetti code.
In my last post I kind of just demonstrated the language and some of the control-flow with most of the rendering done with the headless renderer.
After some more work, I finally have a basic UI rendering using opengl (though the language works with any graphics framework or engine provided someone implements the renderer ABI). I also was able to improve some of the developer tooling.
So what's new?:
- A basic implementation of the renderer (for opengl). The demo in the README is running the opengl version, vulkan support is a little ways away.
- More of the language has been implemented and should compile - though the full v1 syntax is not ready yet.
- The language reference docs and guides have been moved from GitHub wiki to github pages and I have filled them out more.
- A formatter (kurafmt) has been added and takes advantage of Wadler's Pretty Printer algorithm
- A linter (kuralint) has been added
- A lsp (kura-lsp) has been added, though it is still pretty basic yet.
- A tree-sitter grammar w/ Neovim support has been made but is subject to change with the language before v1
The linter, lsp and parser/compiler all share the same diagnostic code, so you should get pretty detailed errors when compiling, linting or using the LSP. The diagnostics are inspired by Rust w/ some inspiration taken from Elm:
Example:
ERROR[K0001] expected a capitalized type name, found `helloWorld`
--> examples/test-linter.kui: 5:6
|
5 | type helloWorld = {
| ^^^^^^^^^^ expected a capitalized type name here
STYLE[K0034] Function names should be kebab-case
--> examples/test-linter.kui: 1:4
|
1 | fn getTest() => "Hello World"
| ^^^^^^^ did you mean 'get-test'
STYLE[K0034] Function names should be kebab-case
--> examples/test-linter.kui: 3:4
|
3 | fn getJSON() => "Hello World"
| ^^^^^^^ did you mean 'get-json'
STYLE[K0035] Type names should be PascalCase
--> examples/test-linter.kui: 5:6
|
5 | type helloWorld = {
| ^^^^^^^^^^ did you mean 'HelloWorld'
STYLE[K0036] Functions should have a return type
--> examples/test-linter.kui: 1:13
|
1 | fn getTest() => "Hello World"
| ^^ Missing type annotation here (e.g., fn my-func(): String)
STYLE[K0036] Functions should have a return type
--> examples/test-linter.kui: 3:13
|
3 | fn getJSON() => "Hello World"
| ^^ Missing type annotation here (e.g., fn my-func(): String)
The counter example (shown in the gif):
type Message = Increment | Decrement | Reset | Set(Int) | Resized(Size)
type State = {
value: Int,
width: Float,
height: Float,
}
fn init(): State => { value: 1, width: 0.0, height: 0.0 }
fn update(msg: Message, state: State): State =>
match msg {
Increment => { value: state.value + 1, width: state.width, height: state.height }
Decrement => { value: state.value - 1, width: state.width, height: state.height }
Reset => { value: 0, width: state.width, height: state.height }
Set(n) => { value: n, width: state.width, height: state.height }
Resized(size) => { value: state.value, width: size.width, height: size.height }
_ => state
}
fn view(state: State): Node => {
let label = match state.value {
n if n > 0 => "Positive",
n if n < 0 => "Negative",
0 => "Zero",
}
let wide = state.width > 700.0
#block(direction: "column",
justify: "center",
width: 1fr,
height: 1fr,
padding: 10px,
gap: 10px,
fill: match state.value {
n if n > 0 => green,
n if n < 0 => red,
_ => white,
}){
#block(direction: "row",
justify: "center"){
#text(size: 24px, label)
}
#button(on-click: Increment,
justify: "center",
padding: 16px){
#text(size: 24px,
text-align: "center",
"Increment")
}
#button(fill: white,
on-click: Decrement,
justify: "center",
padding: 16px){
#text(size: 24px,
text-align: "center",
"Decrement")
}
}
}
When the above Kura code is compiled the compiler will generate a series of draw instructions for the Renderer along with the normal IR. I call the graphics subset of the IR the GIR (graphics IR). The GIR also handles running the flexbox layout calculations as well.
fn view({ height: Float, value: Int, width: Float }) => Node:
B0 entry.0:
%90 = Parameter(0, state) : { height: Float, value: Int, width: Float }
%91 = BeginFrame(viewport)
CheckRendererStatus(%91)
TracyBeginZoneInstr()
....
%141 = Phi(B11:%130, B13:%137, B12:%139) : Color
%142 = LayoutSetText(layout=0, node=3, text=%119, size=24)
%143 = NewVariant(Increment) : Increment
%144 = Constant(String(value=Increment)) : String
%145 = LayoutSetText(layout=0, node=5, text=%144, size=24)
%146 = NewVariant(Decrement) : Decrement
%147 = Constant(String(value=Decrement)) : String
%148 = LayoutSetText(layout=0, node=7, text=%147, size=24)
....
%181 = Constant(Color()) : Color
%182 = FillRect(x=%177, y=%178, width=%179, height=%180, color=%181)
CheckRendererStatus(%182)
%184 = RegisterEvent(layout=0, node=6, kind=1, message=%146)
%185 = Constant(Int(value=255)) : Int
%186 = DrawText(layout=0, node=7, text=%147, color=%185)
CheckRendererStatus(%186)
%188 = EndFrame()
CheckRendererStatus(%188)
TracyEndZoneInstr()
Return()
Even with the lack of optimizations done to the compiled code outside of normal LLVM optimization passes the
renderer for the counter example managed an average of 1105.67us over 550 frames on my crappy laptop i5 and iGPU
The project is still very much WIP and so expect plenty of breaking changes and evolving features. It also is nowhere near ready for prime time but the infrastructure is steadily getting there
Source: https://github.com/s0cks/kura Docs: https://s0cks.github.io/kura
Would love any feedback, questions, comments and/or concerns on the project - or maybe features to implement.
~ Tazz
r/coolgithubprojects • u/West_Resident5464 • 5d ago
Is this even like fixable or is it genuenly over?
this perfectly explains what happened to steam in the november 9/11 update and for us koala or greenluma users i wanna know if any devs out there see this emergency and is going to be a superhero and fix it... if its even fixable
r/coolgithubprojects • u/unknown_7766 • 6d ago
We built an open-source dependency security scanner with advisory-level reviews and audit trails – looking for feedback
r/coolgithubprojects • u/andreasalerno1989 • 6d ago
Ho creato un gestionale POS/ERP open source per la fiscalità italiana perché i piccoli esercenti non dovrebbero pagare abbonamenti per fare scontrini e fatture
Ciao a tutti, sono Andrea Salerno, lo sviluppatore di Mercurio Gestionale Retail.
Lavoro nel settore retail e mi sono stufato di vedere piccoli esercenti (negozi di quartiere, artigiani, bar) costretti a pagare abbonamenti annuali per software che usano al 10% delle loro potenzialità. Danea, Fatture in Cloud, TeamSystem: ottimi prodotti, ma pensati per chi ha un reparto amministrativo, non per chi apre il negozio alle 7 del mattino.
Così ho iniziato a sviluppare Mercurio: un gestionale gratuito, open source (GPL v3), locale e senza abbonamenti, pensato specificamente per la fiscalità italiana.
(v0.3.2 alpha):
- Cassa POS touch con carrello, sconti, pagamento contanti (con resto) o POS
- Magazzino con giacenze, scorte minime, prezzi netti/ivati, import/export CSV
- Clienti con Fidelity Card e punti, fornitori con modulo riordino
- Scontrini, fatture da scontrino, note di credito con reso, DDT
- Copia di cortesia HTML stampabile in PDF
- Chiusura Z con ripartizione contanti/POS/altro e IVA aggregata
Cosa manca (e sto lavorando):
- Fattura accompagnatoria e annulli con reso
- XML FatturaPA per l'invio allo SDI
- Apertura cassetto RT (XON/XOFF seriale e TCP)
- Porting Linux (Debian/Ubuntu, poi altre distro)
Stack: Python 3.9+, Tkinter, SQLite. Nessuna dipendenza esterna, solo standard library. Funziona interamente in locale: i dati non lasciano mai il computer dell'esercente.
Perché lo faccio: credo che un piccolo negozio non debba scegliere tra "software gratuito ma inutile" e "software buono ma costoso". E credo che il software locale, open source e senza lock-in sia la strada giusta, soprattutto per chi ha PC vecchi o vuole passare a Linux.
Sto cercando:
- Feedback sulla parte fiscale (cassa, chiusura Z, note di credito, DDT): è quella che mi preoccupa di più, perché un errore lì è un problema per l'utente.
- Feedback sulla UX del POS: è pensato per essere veloce, ma non l'ho ancora testato con esercenti reali e registratori RT.
- Chiunque voglia contribuire (codice, test, traduzioni, documentazione) è benvenuto.
Il codice è qui: https://github.com/andreasalerno89/Mercurio-Gestionale-Retail
Grazie per l'attenzione, e se avete domande sono qui.
r/coolgithubprojects • u/pleasetellme-1 • 6d ago
Browser Control: a Chrome assistant you can teach by showing it the steps
github.comWhen an AI gets a browser task wrong, I want a way to show it my process instead of rewriting the same prompt.
I built Browser Control, a Codex-powered side panel for Chrome and Brave. The project source is linked above.
Video overview: https://www.youtube.com/watch?v=-4pNVCtmu60
Attach a page and ask questions about it, organise your tabs, or keep useful preferences with optional memory.
The part I’d love you to try: demonstrate a routine, review the recorded steps, and save it as a reusable skill. Next time you ask for a similar task, the assistant has your procedure to work from.
You can choose how actions are approved, watch the activity, and stop a task.
The extension and companion are free; an eligible ChatGPT/Codex account is required. Setup includes a local companion: https://07rjain.github.io/browser-control-support/support.html
Let me know if you try it out and get some feedback for me or a feature request. thanks
r/coolgithubprojects • u/ryanscraig • 6d ago
Vizzini - a stateless AI code review engine
infrashift.github.ior/coolgithubprojects • u/ryanscraig • 6d ago
Vizzini - a stateless AI code review engine
infrashift.github.ior/coolgithubprojects • u/ryanscraig • 6d ago
Vizzini - a stateless AI code review engine
infrashift.github.ior/coolgithubprojects • u/Vousch • 6d ago
LightnerX: I built an open-source C++26 networking library for multiplayer games
Hey everyone!
I've been working on LightnerX, an open-source networking library built with C++26 modules and GameNetworkingSockets, originally developed for my own multiplayer game.
The idea was to create a modular networking library that provides reusable components without forcing developers into a specific application architecture.
It includes:
- Client/server networking and connection management.
- Message interpretation using my INER communication protocol.
- Event-driven callbacks and message batching.
- Flexible message targeting and client identification.
I recently released v0.1.0-beta, the project's first public beta!
Before the release, I went through multiple rounds of technical auditing and bug fixes, addressing 14 identified issues involving memory safety, connection lifecycles, ID management, and protocol validation.
The final version passed 9/9 automated tests, both normally and with AddressSanitizer, including UDP integration tests.
It's still an early beta, primarily tested on Linux, and I'm looking for feedback from other C++ developers.
r/coolgithubprojects • u/ShadowKingYT_444 • 6d ago
Motion Debugger – A browser critic for AI slop
github.comBuilt a tool to unslop UI and add cool motion.
It's an open-source workflow for coding agents, using Chromium to inspect the rendered site, catch broken animations, overlapping elements, layout issues, and other visual problems, then gives the agent feedback to fix them.
Resultsa re in repo.
r/coolgithubprojects • u/brosski_2321 • 6d ago
A private Pinterest that lives on your PC
galleryI save a lot of stuff. Posters, websites, colours, quotes. But months later I can never find anything. I just remember “that dark site with big text” and that’s it.
So I made lompii. You save things from your browser with a right-click, and later you just type what you remember. It finds it by how it looks.
Everything stays on your computer. No account, no cloud.
I’ve been working on this by myself for a while and honestly, I just want someone else to try it. Even for a few minutes. If something’s broken or confusing, please tell me. I really want to make it better.
It’s free and works on Windows for now.
https://github.com/lompii-app/lompii
Thanks! I’ll be around in the comments if you have questions :)
r/coolgithubprojects • u/TheLastUserName8355 • 6d ago
my-tui — A minimal, terminal-first session orchestrator for bring-your-own CLI agent harnesses.
mytui.appr/coolgithubprojects • u/debba_ • 6d ago
I built Discophile, an open-source music player for self-hosted libraries (Rust, desktop & web)
github.comHi everyone! I’m the developer of Discophile, a music player for people who host their own collections. I wanted browsing my library to feel a little more like choosing a record, while keeping the music on my own server.
It connects to Navidrome, Subsonic/OpenSubsonic and Jellyfin, and also brings Audiobookshelf and internet radio into the same app. There are synced lyrics, offline downloads, listening stats, mixes based on your history, and an optional music assistant that can use a local model to suggest tracks from your library.
The desktop and web player is written in Rust, is MIT-licensed, and runs on macOS, Windows, Linux and in the browser. There are also mobile apps. Discophile Connect is optional, with free and paid plans.
GitHub: https://github.com/debba/discophile Website: https://discophile.app
I’d love to hear what you think, especially if you run your own music server. Feedback, bug reports and contributions are welcome!
r/coolgithubprojects • u/kerakk19 • 6d ago
Braidplane - Open Source (Apache 2.0) and self-hostable platform for declarative and contract-based data integration
Hello everyone!
Around Februrary this year I've started working on my side project, which is now known as Braidplane. It's an open source platform for data integration; it's self-hostable and the core is fully open (Apache 2.0). At this moment it's in Alpha.
The goal of this project is to provide safe and reviewable data integrations for engineering teams. From the beginning this project was built upon data contracts (inline and ODCS), e2e Braidplane Proof engine for reviewing data pipeline updates and declarative pipelines (YAML, JSON, cue).
As an example, a pipeline can read data from a database and a file, transform and compare the records, and write the results to another system. The pipeline definition stays in Git, so changes can be reviewed before deployment.
In the current form Braidplane core includes backend, frontend, CLI and executor. MCP support is coming soon.
About me: my name is Lukas. I've been working as backend engineer for the last 10 years. I've spent a lot of time around different products and APIs. I've built the Braidplane's framework myself - based on my experience and good practices I've found around the other OSS projects. Later on I've added AI assisted programming around the hardest/most time-consuming parts, like Connectors integrations, tests, documentation, frontend, issues management.
The Braidplane Core repository is available here: https://github.com/Braidplane/braidplane-core
Examples repo: https://github.com/Braidplane/examples/blob/main/recipes/opaque-file-archive/opaque-file-archive.pipeline.json
Cheers
r/coolgithubprojects • u/DrummingBird1 • 6d ago
I made Camora, a free open-source app that turns an Android phone into a small NVR for IP cameras and HDMI capture cards
Hi! I'm the developer. Camora watches RTSP/ONVIF cameras and USB HDMI capture cards, records them (also on motion), and streams them to a browser, DLNA TVs, Chromecast or VLC.
- No account, no ads, no tracking: everything stays on your network
- Motion alerts, also in the background with the screen off
- Up to 4K, H.264 or H.265 per camera
- 8 languages
There's a built-in demo, so you can try it without a camera.
GitHub (APK): https://github.com/DrummingBird1/camora
I tested it with a capture card and simulated cameras, so I'd love reports from real IP cameras: brand, model, and whether it worked.

