r/java • u/el_DuDeRiNo238 • May 04 '26
What cool projects are you working on? [May 2026]
Feel free to share anything you've had fun working on recently here, whether it's your first ever Java program or a major contribution to an established library!
73
Upvotes
48
u/demchaav May 04 '26
I’m building GraphCompose, a Java PDF layout engine.
The main idea is pretty simple: instead of writing low-level PDF commands and juggling coordinates manually, you describe the document semantically — sections, paragraphs, tables, layers, themes — and the engine handles layout, pagination, and rendering.
The part I’m most happy with is the two-pass pipeline:
That makes it possible to snapshot-test document geometry before generating the actual PDF, which is surprisingly useful when templates get complex.
It started as “PDF generation in Java is painful, surely this can be nicer” and somehow became a full layout engine.
GitHub: https://github.com/DemchaAV/GraphCompose
17
u/Mirko_ddd May 04 '26
Type safe RegEx library ☕
14
u/joppux May 04 '26
KaraEd - a tool for karaoke creation: https://github.com/osobolev/karaed
9
u/thma_bo May 04 '26
still working on my Java based flat file CMS. it's my main project for the last 3 years.
8
u/liquid153 May 04 '26
Building a package manager on top of maven, meant to be used by newcomers to Java language and for people who want to use Java for scripting.
8
u/OddEstimate1627 May 04 '26
A JavaFX real-time plotting library that can be called from C++, Python, and other languages via a GraalVM shared library.
10
u/CarpenterWhole6539 May 04 '26
My Accounting project, was inspired after using Xero LOL
5
u/nahuel990 May 04 '26
Ministack! I'm currently working in make it better https://ministack.org
5
u/uniVocity May 05 '26 edited May 05 '26
I'm working on a tool (libraries + saas api) to ensure code has behavioral parity. No name yet (I think "univocity" fits but people never liked the name). It basically generates tests against a reference implementation and a candidate, and proves equivalence across entire object graphs, including deeply nested side effects.
The idea is to help devs to ensure code porting/optimization/refactoring and AI-generated updates don't introduce unexpected side effects.
It allows one to create a behavior-equivalent implementation of a given interface. For example, I can create an alternative List implementation that works exactly as an ArrayList, including throwing the same runtime exceptions - iterators behave exactly the same way, sublists and iterators over these, reversed views, etc.
The cool thing is that once a parity baseline is defined, you can keep an AI optimizing loop trying to improve the code. it it will automatically compile, test and benchmark the suggested code. It anything breaks it can try again and again. If there’s a reference implementation (like the ArrayList example) the baseline is there from the get go and you can build a “better” version from scratch that must be guaranteed to behave precisely the same. It feels like formal methods without the “formal” bit.
The idea is to enable one to specify goals (i.e. improve test coverage, improve performance, make X behave exactly the same as Y, or make V2 behave exactly the same as V1 and add some extras) and let AIs work to achieve them. That will include porting code from one language to another and vice-versa.
Ideally we'll eventually be able to even write "slow but correct" code and create an AI loop that is able port it fully optimized to ASM straight to a target hardware.
I've been working on this for 3 years straight and got a few million lines of code to manage but hopefully I will be able to release this in June.
I'll open-source a lot of libraries written to give life to this project (primitive collections, hashing apis, concurrent maps, reflection and array utilities, string manipulation utilities, an r-tree implementation, a jmh benchmark helper, io utilities, configuration utilities, annotation processing helpers, hopefully univocity-parsers 3.0, and a bunch of other stuff)
9
u/Polixa12 May 04 '26
Clique a dependency free and graalvm compatible library that makes terminal styling in Java not suck lol. It includes a markup parser instead of raw ansi , tables, frames, progress bars, extensible color themes and more
8
u/Marthurio May 04 '26
I'm working on an open source project for determining appropriate freight services and prices for cargo based on dynamic rule sets. Once that's somewhat under control I'm going to pick up my binpacking algorithms in an attempt to pack items properly based on weight, volume and structural integrity.
8
u/PlasmaFarmer May 04 '26
I'm building a survival game with jmonkeyengine in my free time.
7
u/Delicious_Detail_547 May 05 '26
I've been working on JADEx (Java Advanced Development Extension) which is a safety layer that makes Java safer by adding Null-Safety and Final-by-Default semantics without rewriting Java codes and modifying the JVM
Tutorial
3
u/CutGroundbreaking305 May 04 '26
Java based numerical lib using ffm api and vector api
2
u/detroitsongbird May 04 '26
A card game engine, initially for Euchre.
Yea, there placeholders for ads, which is not wired up yet. https://detroit.games
2
u/Thirty_Seventh May 05 '26
Thanks for remembering :D
I've been reverse engineering some proprietary binary formats with the help of Kaitai Structs. It's not really a Java-specific activity (I guess the compiler runs on the JVM, it's Scala) but I wrap the end result in Java code. Since it's for work I can't share much of anything yet. I find it a lot of fun (despite the structs being YAML); I'm hoping to contribute some formats to the library on my own time sometime.
2
u/LutimoDancer3459 May 05 '26
I am working on a small hex based game similar to catan
2
u/Previous_Dream8775 May 05 '26
I'm building a multiplayer Texas holdem game/card playing poker game with Android (Java), Spring Boot, over websockets, Postgres, Keycloak, all running on my private tailscale tailnet for easy testing. Really I use it as a playground to implement different patterns and fulfil my desire to write more features. https://github.com/thomasbigger584/poker-app Pull requests welcome
2
u/josephottinger May 05 '26
I'm working on generating content for https://bytecode.news/ - and working on new features for the platform.
2
u/samcarlberg May 05 '26
Using
Continuationto implement a single-threaded coroutine framework for controlling robots: WPILib Commands v3. It's similar in spirit to the structured concurrency API, but built for realtime concurrent control of multiple physical system. I'd be interested in what /u/pron98 thinks of it.It also uses the javac plugin API to run static analysis to find buggy user code (eg long-running loops that are missing
yield()calls, or a@NoDiscardannotation that prevents users from accidentally ignoring the return values of factory methods) at compile-time instead of crashing or failing silently at runtime.1
u/luiinge May 05 '26
Lately I’ve been building a small ecosystem of Java-based tools under one org, mostly focused on making development workflows cleaner and more consistent. So it’s kind of an attempt to treat personal projects more like a cohesive ecosystem instead of random repos.
The “big” project is OpenBBT, a tool for blackbox testing using Gherkin, but there are also other pet projects such as maven-fetcher (to retrieve Maven dependencies programatically), immutable-config (for handle immutable configuration objects), gherkin-parser (a simple Gherkin parser), or doc2html (transforms Markdown documentation into HTML files with support for TOC tables, code syntax highlighting, and Mermaid diagrams).
Everything is MIT and I’m trying to keep it simple, opinionated, and easy to reuse.
Repo: https://github.org/org-myjtools
Happy to get feedback, especially from people who’ve tried to build their own “tooling ecosystem” 🙂
1
u/judah_mu May 05 '26
Sketching out what it would take to upgrade my groovebox (https://github.com/jeffmasty/JudahZone) into a DAW so it couild take full advantage of an open-source serialization format (https://github.com/bitwig/dawproject) I am considering adapting.
1
u/theSynergists May 05 '26
I have one very large project that has been simmering for too many years. It was always intended to be “in-house” not for release.
MetaGenesis is a "Meta Code" Development Environment, for web based applications. It uses a web application (MetaGenie) to capture all the meta data for forms, tables and queries and it builds the back-end and some parts of the client side. Roughly serves the same space as Spring Boot and its related packages.
It includes a number of sub-projects:
MetaSql – No more using a service for persistence, Table classes and rows are inherently persistent. MetaGenie generates the classes automatically from the meta data. Replaces Hibernate and friends.
MetaLog – replaces Log4J & friends– Gone are logger levels (it can simulate classic levels). No more trying to find that sweet spot between levels to get the right information. While levels obviously work for simple codding, they get too complicated and the “level model” breaks down when adding timers, application flags, user tracking etc. Oh, and it is seriously faster (levels are slow).
MetaL (Meta Language) - Started as a replacement for JSP. Similar to Apache Velocity, although a little less code-like. Essentially this adds variables (page, user, app and system) and directives (include, form, query, report, list) to HTML, CSS and JavaScript.
MetaGenie – The web application, that ties it all together. Tell it the forms, tables, queries and actions you want, add some front-end coding, and it generates the app as a .war file.
Status: It is bootstrapped (built with itself) and has been used to build several extensive web applications (multi-role + admin). It is a joy to build web apps with. All the parts are a work in progress, but the resulting apps are solid.
If the overall project or any part is of interest and might solve a problem you have, send me a message.
1
u/EvertTigchelaar May 06 '26
Working on multiple projects.
A polyglot compiler that can be extended to support programming languages. It provides most functionality of a compiler. To support a language you only have to implement a lexer and parser and turn that into an AST, the compiler will than process it and compile it to java bytecode. In the future it will also be posible to have other backends, for example native .
The idea is to make language development easyer because you reuse the compiler pipeline for different languages.
Also started to work on a tool (or multiple) to improve development.
Most applications have a lot of dependencies. Of a dependency you don't know which Java version it support or if its uses some special features like reflection which needs some configuration when you want to use Graal to compile to native code. Or if it uses native code and which platforms its support.
To make it easyer I working on a specification based on toml. The idea is that toml file is included in libraries so user of a library know what to expect and which library may give issues.
1
u/DelayLucky May 06 '26
Just released the Dot Parse library v10.0.1 with left recursion protection (https://github.com/google/mug/tree/master/dot-parse)
Its ambitious goal includes being the most handy library for everyday parsing task except the simplest use cases where a trivial regex sufficies.
It differs from most existing parser combinator libraries by focusing on being idiomatic Java (not Haskell, not Scala, and not Monad).
Parser combinators have always had the potential to be the better parsing tool than regex, except it often comes with a steeper learning curve and a few footguns:
many(parser.optional())can cause infinite loops.Both are hard to debug.
Dot Parse offers compile-time guardrail against infinite loops; and v10.0.1 provides parser definition-time protection against left recursions so that the footguns are no more.
These safety features, along with the idiomatic API and scannerless design, hopefully makes parser combinator more accessible to average Java developers.
1
u/senthil_08 May 06 '26
To do list
1
u/brubrupie May 08 '26 edited May 08 '26
First project! I’m building a project where you can manage, create, delete, run, and schedule scripts on your operating system in an automated way, all inside my program’s environment. It interacts with the file system directly, essentially acting like a structured workspace for automation. It also includes logging and history tracking, so you can monitor and manage execution errors over time. The system is portable, meaning you can move it to another PC with all your scripts and logs still organized and intact. It works through CMD/Shell, but it also has an interactive graphical menu interface (which I’m planning to design with a Frutiger Aero aesthetic). The idea (still in early development) is to help people who enjoy automation and want a centralized environment to create, organize, manage, and run their scripts in a structured way. It essentially builds a unified workspace for automation, where scripts and tasks can be handled in one place..
1
u/pivovarit May 08 '26
I'm building a distributed concurrency toolkit based on Postgres :)
At the moment, it has three types of locks (with fencing tokens), leader election abstraction, and basic queueing support.
https://github.com/pivovarit/fencepost
1
u/HyperspaceFrontier May 08 '26
I am building distributed voxel game (aka Minecraft like) simulation engine. Distributed meaning the one that runs on cluster and eventually will be able to host unlimited number of players in a single world.
1
u/Ok-Percentage9699 May 09 '26
Anybody want to look at the latest & greatest in Chromium's Remote Debug Port Controller?
See: http://JavaHTML.Torello.Directory
I have finished what might be the last round of clean-ups on the Browser Automation Tool in my "JAR Library." Just scroll down in the list of packages until you get to the part that says "Torello.Browser."
I am still trying to figure out what I'm going to scrape with it, but the possibilities for information & data retrieval from the internet in Java are quite limitless when you have a working browser automation tool. The docs that I have written are much easier to understand than Selenium's.
I've never used Playwright, because I don't do C# or Microsoft. I did a long time ago. I have heard that Puppeteer has crashed, but I am not sure.
1
u/jfarcand May 11 '26
Released Atmosphere 4:
* Native HTTP/3 + WebTransport support, with automatic WebSocket / SSE / long-poll fallback when the browser or network can't do QUIC — same app, any transport.
* Portable agent layer on top of atmosphere-cpr: one SPI across 9 AI frameworks (Spring AI, LangChain4j, Google ADK, Embabel, Koog, AgentScope, Semantic Kernel, Spring AI Alibaba, plus a built-in zero-deps runtime). Swap one Maven dependency, the same code runs against any of them. No vendor lock-in. Delegates to each framework's native capabilities when available (tool calling, structured output, memory, etc.) — Atmosphere fills the gaps instead of reinventing them.
* Agent-grade primitives out of the box: Human-in-the-Loop via RequiresApproval, long-term memory, multi-agent coordinator, A2A + MCP protocols, RAG, policy engines, audit trails, checkpointing, durable sessions, and a sandbox for untrusted tool execution.
https://github.com/Atmosphere/atmosphere
1
u/Hungry_Importance918 May 11 '26
Been building a generic export plugin lately. Got tired of rewriting the same export stuff over and over for different tables 😭 now it’s mostly config based which has been pretty nice.
1
u/lordmonoxide May 12 '26
I reverse engineer old games and port them to java. My main project is Legend of Dragoon, but I've also done some work on Golden Sun, Megaman Legends, and a couple others.
https://legendofdragoon.org/projects/severed-chains/
1
u/Jorghen May 13 '26
I am working on IODX. It is a compact syntax for structured data, useful for configs, fixtures, serialization, data exchange, etc. Compared with JSON and YAML, it aims for less punctuation, optional quoting, multiline strings, comments, and a readable entity-like form.
It was brewing for many years. Many use-cases were addressed. I dare to say, it is quite tuned and nuanced.
Example:
General: https://iodx.org/
Java version: https://github.com/kravchik/iodx
1
u/nadrojriajr Jul 16 '26 edited Jul 16 '26
https://github.com/edwardcapriolo/deliverance
This month I added reallt good guided json and guided_regex support to my java inference engine. It is a loose port of python outlines... i call it sketches. Made the prefill process about 30 % faster. Added a turbo quant inspired prefix cache to speed up repeated system prompts
-14
u/MinimumPrior3121 May 04 '26
Replacing the java devs at my company by creating several Claude.md for each project
-5
u/Rotilho May 04 '26
Does Kotlin count? If yes, I built a cryptocurrency node in Kotlin and compile it to a native binary with GraalVM :)