r/JavaFX • • 27d ago

I made this! Multiuser JavaFx client for Whatsapp with gated agentic cli automation support

Post image
User 1 : P (Green - first user)
User 2 : S (Purple)
User 3 : F (Orange)

I have made (using claude) a multi user Whatsapp client (using Whatsmeow) in JavaFx.

Multi user

You can login up to 8 numbers, and each get's its own unique color. Two multi user screenshots shown above. The entire UI down to the level of notification is colored to make it easy to identify which user/profile.

User 2's notification

RAM Saving

Less than half the RAM of the regular Whatsapp for desktop

Gated Agentic CLI for automations

You can access your whatsapp by cli, and have claude-code do automations. However everything is permission bound, with approvals issued from the frontend ui to the cli at the process tree level. So for example you can approve the claude.exe process (a particular processid) and all it's children also get access for the given time limit and for the given scope. Approvals expire with time, or on breach of scope, or if the process ends. The approvals cannot be spoofed because named pipe (and not network tcp) is used to verify the caller process id.

Different user profiles' approval dialogues are different colored. The example shown below is not that nice, but basically you will be able to approve a claude code (or chatgpt codex) process or any process for that matter and it will be able to do things on your behalf.

It is a hobby project, it is not an official whatsapp app.

Source code and pre-release download : https://github.com/chatsgate/whatsappfx/

Comments, criticism, appreciation, suggestion, discussion --- all are welcome.

25 Upvotes

14 comments sorted by

2

u/Fuzzy-System8568 26d ago

I checked the commit history and this is a fully AI coded project yes?

Check rule 4. I believe you are breaking it.

2

u/Guilty_Village_958 26d ago

there is AI and human in the loop.

No AI generated slop, meaning if claude/grok/etc wrote it for you, then don't post it. You can use these tools as glorified search and information aggregation engines, but when there's no human in the loop the results are consistently garbage.

it is literally impossible to write such an app that you are seeing without human in loop.

Can you help me understand what in the code / history makes it look objectionable?

1

u/Fuzzy-System8568 26d ago

It was 4 commits in a single day. And your commits literally say they were co-authored by claude.

1

u/Guilty_Village_958 26d ago

To be honest i did not sleep that night when i released it, i worked like i think 40 hrs. Why if you ask ... because i did not want this to drag, I consider this hobby project.

I am sure nobody has made so many tools like me for such fine grained human-ai collaboration, the leasegate apps are evidence. They give extraordinary power to AI - for example all my passwords https://github.com/leasegate/bwgate/ but the user approves the calling process and there is no chance of the approval leaking to anybody else. I have a full ecosystem of ai tools build in javafx and teavm

0

u/[deleted] 26d ago

[deleted] — view deleted comment

4

u/Fuzzy-System8568 26d ago

No no...

4 commits in 1 day is the WHOLE PROJECT.

The first commit is 16000+ lines, and he just "admitted" he did all the work in one all nighter?

And in his previous reply talks about how he has a suite of AI tools he uses....

Cmon man....

1

u/Guilty_Village_958 25d ago

Whatsapp is block risk, if you go and see the previous reddit topic you will see people asked to release it i said no because whatsapp is a bit risky. Then i decided to release it, so a lot of offline stuff came out together. What is the issue here really? I have coded in java for two decades. I don't like python devs comming to me asking why I don't code in python. To make things better in java I have worked for 5-6 years just making tools. I wanted to share some dev tools, like annotation processors, some DSL etc. With lot of hope of sharing java and javafx i come here. Literally if you guys decide this subreddit is not open for me, I honestly don't know where to go. As such java ecosystem is a small world, smaller is the ecosystem of desktop app developers. Much smaller is people who use java for everytthing, I use java even as a replacement of C and rust using teavm. I use java even for js using teavm. I use java in pc,mobile,web everywhere. I am sorry if i broke some rule, and I open to corrections. Please do not feel me as an enemy, that defeats the purpose to even come here.

2

u/Fuzzy-System8568 25d ago

So why does it say claude coauthored the commit, if it was only you releasing already completed code?

I am sorry but I am very skeptical of your explanation

1

u/Guilty_Village_958 25d ago

I never said I did not use AI. And I will be very honest with you. I have some complex carpel tunnel with severe nerve and tendon pain. This is since past 2 years. I cannot work like before. I am dependent on speech to text, it took me almost 6 months to come back to be able to type ctrl+space which is most used shortcut in any IDE. Finally I have got life streamlined with AI workflows. AI is not evil. If you have doubt, I will send my doctor prespcriptions, DM me. Right now my situation is I am able to type, but I cannot use mouse for more than 1hr, after that I have painful 6 hrs to 1 full day. I am sick of crying to people who cannot help that my hands and fingers pain and doctors are kind of clueless other than being able to tell, it is work related, it is nerve related, it looks like carpel tunnel, but all symptoms they are not able to explain / co-relate. I am not in position or motivation to directly work with code like 2 years ago. I have budget of how much I can type per hour, after which my fingers pain.

Ask yourself why I need so much AI ... for smallest things like using bitwarden. Because I am moving tools to speech control .... go and see all my tools have f1,f2 ... shortcuts, so that i don't have to use mouse, and can just press a key. Everythng i made is optimized to minimize hand and finger pain, minimize mouse.

1

u/xdsswar 22d ago

Dude take it easy, really you need to stop. try to focus in other stuff and not in harrasing people for using AI, this is 2026 and every pro uses AI tools. Just think about this, while you complain about it and I write this , there is a noob somewhere who does not know anaything about coding/architecture , in front of a laptop, vibecoding and making more money that you and me for sure. AI is here and will be after us, so relax and enjoy it.

2

u/Fuzzy-System8568 22d ago

I dont need rhetoric about LLM use, thank you.

1

u/xdsswar 22d ago

thats why 13 years mean nothing if you dont know how to adapt

2

u/Fuzzy-System8568 22d ago

I beg your pardon?

7

u/No-Security-7518 27d ago

well done! If only Javafx was more mainstream instead of crappy Electron which hogs all the RAM. Thank you for this!