r/java • • Jan 07 '26

Weekly or monthly thread discussing cool projects people are working on

I always love to see what insane stuff others are cooking for fun as an inspiration for my own ideas. I am surprised to see this sub not having one already like golang, csharp, rust etc I request moderators to start this thread either weekly or monthly

52 Upvotes

47 comments sorted by

View all comments

8

u/unknowinm Jan 07 '26

I build with Java 25 an Infrastructure as Code (IaC) programming language as an alternative to terraform.

It is made up of:

  1. CLI (compiled with graalvm see it on https://github.com/kitecorp/kite-cli)
  2. SDK - to develop cloud providers through annotations. uses grpc/protobuffs to interoperate with any other language
  3. gradle plugin - to make provider development more pleasant
  4. the engine - does the actual work of 3-way-diff + calls the providers developed on points 2 and 3 + interacts with the database using hibernate
  5. actual aws/azure providers implemented in java to call the endpoints that do CRUD on cloud resources (servers, networks, databases)
  6. actual language with the grammar being developed in antlr4j
  7. intellij idea plugin to do syntax auto-completion, coloring and all the good stuff

Checkout the actual project: https://kitelang.cloud/ and the docs https://kitelang.cloud/docs/ where you can install and try my project out

2

u/_predator_ Jan 07 '26

Looks interesting.

I've heard folks put off by Terraform enjoy Pulumi a lot. I saw the comparison on your website but do wonder if Pulumi doesn't have an edge when it comes to adoption, since it's effectively just libraries. Engineers working with Typescript for example would presumably be more likely to adopt a library instead of a new set of tooling altogether. Have you done some validation with potential users yet?

Not trying to talk you down, just noting my initial impression.

3

u/unknowinm Jan 07 '26

Thank you for taking the time to check out my project!
I’m on the other side: I don’t like pulumi for iac and I think people use it because they need actual if statements and real loops (which terraform doesn’t provide because they went all in on declarative style) but I do have support for these and kept the clean syntax of the ‘resource’ abstraction and added a lot of cleanliness 🧼to the language.

I have about 30 users in a waitlist that joined through the site from 2 reddit posts and some comments. I think there is real potential here if I start to market it for real .
But first, I need to improve the docs and implement the multi-cloud/unified resource model feature (which is trivial now that I have aws/azure cloud providers).
Then I can finally show off.

I would really appreciate if you would join the waitlist as well or give a star 🌟 on GitHub!

Hope to see you around! 🍻

2

u/maxandersen Jan 07 '26

looks cool - if you made a fatjar available or published the .jars to maven central could make it run it with `jbang kite@kitecorp` and install with `jbang install app kite@citecorp`

2

u/unknowinm Jan 07 '26

The cli is distributed with the gradle distZip or how it’s called which is like a fatJar but with a start script that does all the work.
Maybe it works with jbang, I’m not sure. Right now the tool can be installed with brew/choco/snap and an installation script which just downloads the distZip (jar+all deps) and configures the PATH.
I will add support for jbang a bit later if I get some traction. I was not aware about jbang commands and how easy it is to install stuff

Feel free to give it a try!

2

u/maxandersen Jan 08 '26

I didn’t see any fatjar. Only a zip with a bunch of jars.

If you make an actual fatjar available or even better publish the cli to maven repo then I’m happy to provide jbang catalog PR.

1

u/unknowinm Jan 08 '26

Should be pretty easy. Will look at it later today. I used jrelease to do the publishing to different distribution methods and I see they have support for jbang

1

u/unknowinm Jan 08 '26 edited Jan 08 '26

Hello 👋 the repo that pushes to maven is unfortunately private to prevent potential credential leaks so even tho I would love to have a contributor, it is not possible at the moment.

We did push a fatjar to

will work tomorrow to make it available on jbang

1

u/maxandersen Jan 08 '26

cool - fyi, seems not all deps are there or somehting wrong in dependency of that pom:

jbang cloud.kitelang:kite-cli:0.3.4

[jbang] Resolving dependencies...

[jbang] cloud.kitelang:kite-cli:0.3.4

[jbang] [ERROR] Could not resolve dependencies: The following artifacts could not be resolved: cloud.kitelang:engine:jar:0.0.1 (absent): Could not find artifact cloud.kitelang:engine:jar:0.0.1 in central (https://repo1.maven.org/maven2/)

[jbang] Run with --verbose for more details. The --verbose must be placed before the jbang command. I.e. jbang --verbose run [...]

..

but this works:

jbang cloud.kitelang:kite-cli:0.3.4:fat@fatjar

:)

1

u/unknowinm Jan 08 '26

aah wow! already works with jbang? thought I had to do some more work! very cool.

makes sense as the engine is not publicly available as it does all the heavy lifting of the project and thought would be better to keep it private for now. But it should be included in the fatjar no?

I had no issues installing it but that's maybe because I already had kite-cli installed. I also don't like the ":fat" any idea if that can be changed? same for "@fatjar" ?

❯ jbang cloud.kitelang:kite-cli:0.3.4:fat@fatjar
[jbang] Resolving dependencies...
[jbang] Dependencies resolved

1

u/maxandersen Jan 08 '26

You can make a jbang-catalog repo and I can submit json file In there which hides those maven concepts/terms + add the needed flags for jvm

1

u/unknowinm Jan 09 '26

Good evening!

I opened this PR: https://github.com/jbangdev/jbang-catalog/pull/78

I'm waiting of it's approval anytime soon.

Weirdly I also get the dependencies unresolved issue now... I'll look into that

1

u/maxandersen Jan 09 '26

Thanks. The idea is though you put that in your own repo Ie. Kitelang/jbang-catalog. Then it becomes jbang kite@kitelang.

→ More replies

1

u/unknowinm Jan 09 '26

also, I understand now lol.. sorry for the confusion...I was thinking about something else. You now have the public repo, please take a look at it if you have 10 minutes as I have no idea how to set it up