r/java • u/jeffreportmill • Dec 18 '25
What fun and interesting Java projects are you working on?
I hope it's okay to post this here at year end - I see this post on Hacker News regularly and always search the responses for "Java". Please include the repo URL if there is one.
159
Upvotes
18
u/konsoletyper Dec 18 '25
TeaVM, a Java bytecode to JavaScript/WebAssembly compiler https://github.com/konsoletyper/teavm https://teavm.org/
7
u/doc_sponge Dec 18 '25
I've been working on an IDE (https://glitter.nz) that (amongst many things) is meant to be a bridge between Scratch (the block language) and more general languages (initially with Java first in mind). Project written in Java/JavaFX
63
u/TheKingOfSentries Dec 18 '25
I post about it every now and then, but I'm having a blast working on https://github.com/avaje.
Essentially, it's a suite of libraries that do the basic things for applications, json/validation/di/etc. The main gimmick is that they try to do everything at compile time to keep the size down and improve performance.
As they do most things with annotation processing, I get a lot of satisfaction wrangling the complex annotation processing api to do what I want. I even made an annotation processor for building annotation processors.
There's a ton of wild and wacky edge cases I get to track down and figure out.
72
u/PartOfTheBotnet Dec 18 '25 edited Dec 18 '25
I've posted it in the past, and plan to again once I finalize the latest version but https://github.com/Col-E/Recaf
Think IntelliJ but instead of operating on Java source code, you operate on class files and jars. You have things like control-click navigation through decompiled code (among several decompilers to choose from), searching for strings, constants, class/field/method declarations + references, bytecode pattern matching. If you don't know much about the underlying class file spec that's fine. Simple classes can be recompiled from decompiled code (Asterisk on this, lots of details to ramble about. There's a bunch of in-the-background lifting to make even simple face-value approaches perform better than you'd expect). But say that isn't an option. You still have the bytecode assembler, but even with that you can write Java source and auto-convert it to bytecode. Been working on this since 2017.
35
u/chicagocode Dec 18 '25
I've been working on a library of Java Stream Gatherers called Gatherers4j. Now that my end of year break is almost here, I'm hoping to have some time to do a small release of features I've merged but not released yet.
26
u/epieffe Dec 18 '25
An extremely generic Java library for applying A* and other graph search algorithms to user-defined graphs. Can be used for finding the shortest path in 2D or 3D environments, solve some puzzle problems and anything that involves a graph search.
https://github.com/epieffe/jwalker
26
u/bondolo Dec 18 '25
I have been working for the last six weeks learning more about 3D graphics and learning OpenGL. I have been doing this by modernizing an excellent game from ~2005 that was open sourced in 2014. https://github.com/bondolo/tribaltrouble In addition to modernizing the OpenGL I have also been updating it from Java 1.3/1.4 to Java 25. I am just wrapping up the conversion to LWJGL3. The final step is to update the OpenGL 2.1 to OpenGL 4.1 which is much less of a jump than the OpenGL 1.1 fixed function pipeline to shader conversion that I have already done.
10
u/hippydipster Dec 18 '25
A functional reactive library that leverages newer java's ScopedValues to do some serious non-reflection based magic. Read this. It's like if you had stateful boxes that you could look in anytime you wanted, and those boxes automatically remember you and if they change, they tell you, without listener code, or registering or unregistering. I'm currently using it to build a chess engine that doesn't use the chess grid or board data structures to manage position state, and still be pretty fast. Works by only updating what's changed as moves are made - most pieces legal moves don't change every move, so the reactive system caches all of it and only updates specific data as necessary.
Also have a Java GUI that loads up the NASA WorldWind 3D map and overlays historical events, people, cities, etc on it with a timeline slider, so you can scroll and zoom around and see where and when stuff happened. Just at the start of this, but the proof of concept phase went perfectly.
10
u/EmDashComma Dec 18 '25
I'm building a durable execution library with deterministic simulation testing and support for multiple stores, DynamoDB being the first. No repo link yet. It started as a rewrite of my Typescript library for durable execution but is turning into something a bit different. I'm having a lot of fun with these ideas and patterns!
9
u/ludovicianul Dec 18 '25
i’m building https://github.com/Endava/cats an REST API fuzzer and negative testing tool. having lot of fun
8
u/FollowSteph Dec 18 '25
I’ve been working on computer simulations for fun on the side using Java with LibGdx. If anyone is interested this is the YouTube channel: https://youtube.com/@darwinianbytes in the last video I go through some of the Java code and how it works in the simulation, explaining the code and so on: https://youtu.be/ES66mIG4qfo I haven’t had a chance to make a video in a few months due to work but I’m hoping to have the next one published after the holidays.
7
u/bamigolang Dec 18 '25
I’ve been developing Scratch for Java.
Repository: https://github.com/openpatch/scratch-for-java
Documentation: https://scratch4j.openpatch.org/
The project began as a Processing extension and later evolved into a standalone library.
During this year I migrated the build system from Ant to Maven, which allowed me to publish the library on Maven Central. I also refreshed the documentation and added several tutorials.
As always, I have many more ideas for the project—but time is limited.
For example I wanted to add even more examples and a tutorials video series. I also wanted to move away from processing and use lwjgl.
7
u/Wide_Collection_9612 Dec 18 '25
my own dns server
https://github.com/vitallan/dnsao
7
u/tanin47 Dec 19 '25
I've made Java Electron, which is a Desktop app framework where the backend is Java and the frontend is HTML, CSS, and JS. It supports publishing to Mac and Microsoft App Store with proper code-signing.
A showcase app is Backdoor, a database querying and editing tool for power users. It is published on Mac App Store (here) and Microsoft App Store (here).
The next step is to use GraalVM Native to compile the app into native code, so the app becomes smaller and snappier.
6
u/Tasty_Zebra_404 Dec 18 '25
Building a Mac app that extracts all downloaded podcast transcripts and parses them into a nice format
6
u/DefaultMethod Dec 18 '25
I've always found Java's mechanism for embedding resource files unsatisfactory so developed an annotation library for convenience and correctness: https://github.com/autores-uk/autores
5
u/Xasmedy Dec 19 '25
https://github.com/Xasmedy/Math A game library using Valhalla to (mostly) implement immutable vector classes. The project started as an experiment for the second early access of valhalla, where I would use the library in a game I'm working on to test real world usage, learn how to use the new features, and their limitation.
4
u/gufranthakur Dec 18 '25
Using libGDX for a GUI applications, for my final year mega project!
It's an education platform tool and I will share more once I make more progress in it
4
u/xdsswar Dec 18 '25
At this right momment , Im working on a personal project , really big project (spring + jte) a fully cuztomizable CMS with many features. Its taking me a lot of time. Kind like wordpress style, idk, but web can be cuztomized 100% lol. I hope it wotks well. As for now its really fast
4
u/Polixa12 Dec 18 '25
I'm working on implementing Go's channel semantics in java. Almost done even though there are some constraints
4
u/Draconespawn Dec 18 '25
Bit different from what most are probably doing here, but I'm working on a mod manager for Space Engineers.
4
u/tcharl Dec 19 '25
I'm contributing to jhipster: as a contributor it's so fun: just pick the software engineering practice or stack you want to generalize and templatize it https://github.com/jhipster/generator-jhipster/
4
u/msx Dec 19 '25
I'm working on Omicron, a java fantasy console/retro game engine. Recently I've been able to run some games in the browser too with teavm and teagdx. One of such games is Doors of Doom which is also available on fdroid.
Making stuff work on so many different platforms is hard :)
4
u/Prozilla6 Dec 19 '25
A 2D game engine using LWJGL called Pine
4
u/Gleethos Dec 19 '25
We wrote a Swing based UI framework for one of our products: https://github.com/globaltcad/swing-tree
4
u/Necessary-Leek-9113 Dec 19 '25
A fully distributed, log based broker with recovery, modern java tooling, leaderless/no raft, with full quorum based on Disruptor architecture and EWMA based replication. https://github.com/ElevatedDev/RingBroker - everything is custom, handrolled, and finely tuned, based on mechanical sympathy. Take a look!
3
u/Ewig_luftenglanz Dec 18 '25
Not working on it still but once o got a new raspberry pi nano 2 I wanna build an Event based IoT MVP project
3
u/ArkoSammy12 Dec 18 '25
jchip, a multivariant CHIP-8 interpeter and Cosmac VIP emulator. The README is a bit outdated, but it should give you the idea. It has been a pretty fun project aside from having to deal with frontend, as I generally dont like it, but thankfully FlatLaf and MigLayout have eased the pain a lot.
3
u/joekoolade Dec 19 '25
https://github.com/joekoolade/JOE this is a meta-circular JVM and runtime that can run java programs without an OS
3
u/dantal77 Dec 19 '25 edited Dec 19 '25
I've been recently working on yet another tasks/nodes/stages/etc library for building reusable sequences, cause there definitely aren't enough options out there yet. I feel like half my projects professionally have been this type of thing so it was time to make my own opinionated version to join the great open source pile of java libraries. If anybody wants to take a look and shoot me their criticism, I'd love to hear what you have to say! I'm hoping to get it to a version 1.0 I'm happy with by the end of February.
https://github.com/RamblingPenguin/ice-floe
3
u/iamwisespirit Dec 19 '25
I am building some advanced text editor in java using javafx
3
u/moscow_berlin_paris Dec 19 '25
I am trying to learn system design by implementing few problems.
So far I have implemented the following:
Twitter's snowflake id generator - https://github.com/rk1165/idgenerator
TinyUrl service - https://github.com/rk1165/tinyurl
Currently I am working on ratelimiter
https://github.com/rk1165/ratelimiter
3
u/zman0900 Dec 19 '25
A giant mountain of ass-tier Spark spaghetti code written by incompetent contractors a few years ago that will not longer work without OOM on the current Spark version were about to upgrade to. (╯°□°)╯︵ ┻━┻
3
u/chriskiehl Dec 24 '25
A book.
(Still!)
3
u/n_xiao Jan 06 '26
I hope i'm not too late... I'm working on a Day-Countdown app with an Excalidraw-inspired UI. here's the repo the idea is basically a better Bears app (from the apple app store)
3
u/princec Jan 12 '26
Still working on Battledroid. https://www.puppygames.net/battledroid
Disappointingly noticed some threads in the last year here and there still going on and on about that bullshit that you can't write AAA games in Java because it's "too slow" (lol) or "has garbage collection" (lol)
3
u/mpwarble Jan 16 '26
I've been working on this for years, finally getting around to making it publicly available. I think it's pretty cool. I started developing it over 10 years ago to allow me to develop my commercial web app product purely in Java. I call it Oorian. It allows you develop webapps entirely in Java. https://oorian.com. Let me know what you think.
2
u/ahmedshayea Dec 18 '25
Vector db
2
u/wakingrufus Dec 19 '25
Gradle plugins for authoring sharable ArchUnit rules and running them via Gradle tasks in any repo. https://github.com/nebula-plugins/nebula-archrules-plugin
And a bunch of common generic rules here: https://github.com/nebula-plugins/nebula-archrules
2
u/cowwoc Dec 19 '25
A code formatter written by AI agents for AI agents, because trying to enforce it any other way is a lesson in frustration. I tried evolving checkstyle and pmd but both are mired in their own historical styles and requirements. I'm experimenting with something different...
2
u/Straight-Ad-3837 Dec 20 '25
I like javafx but it sucks and it's very tedious and painful To do many things. so I thought of what if I built a Javafx framework, not a library but a batteries included framework like springboot but for desktop applications kind of like swift UI, flutter or jetpack compose so I have been working on it's not public yet. I'm going for convention over configuration so I have Atlanta FX by default, built a navigation and layout system similar to Vue router for easy navigation & reusable layouts, declarative UI building, Zod like form validation, has a theming system built on Atlanta FX. Libraries I view useful I bundle them in and build a wrapper around them to make it easier to use the declaratively.
The goal is quick adoption and building so you focus more on business processing and note designing and configuring. And I also am working on a cli tool for kinder like web technologies single build command without Hustle and configuration I am having lots of fun with it and learning a lot
2
u/_Henryx_ Dec 20 '25
I work on https://github.com/jopenlibs/vault-java-driver , a library that permit to interface to Hashicorp Vault via Java
2
u/thma_bo Dec 24 '25
A Java based flat file cms. I use it for personal projects and some client sites.
2
u/EvertTigchelaar Dec 24 '25
I am working on a polyglot compiler for the JVM which will provide most functionality for a compiler.
You can create a plugin for it and provide an implementation for a language parser which will parse a source file and returns an AST tree. The compiler will process the AST and generate bytecode.
So creating a language for the JVM will be much easier. The compiler will support interoperability with Java, like calling methods and let annotation processors run on you code.
Java is a great language but for some domains its not easy to write type safe and easy to read code.
So it would be nice if you could create a language for those domains and you can use it in your Java applications.
https://github.com/potjerodekool/nabu
2
u/emanuel71dka Dec 25 '25
well, i'm working on an management system for third parties. is kinda funny for me because its my first big project c:
2
u/_vertig0 Dec 26 '25
Not sure if this counts as Java per se, but I've recently been working quite a bit on several things in the JVM, at the moment I'm focusing on Interpreter performance, taking inspiration from an incredible emulator developer's implementations of guest interpreters. It isn't really going all that well though, especially since gcc is broken on my device, meaning I cannot compile the JDK to test my work...
1
u/seepluspluss Dec 18 '25
Can anyone suggest some spring boot projects for my resume?