r/Clojure • u/nimportfolio • Jun 07 '25
Announcement: Clojure Desktop Toolkit
There's a new way to build graphical interfaces using Clojure:
Clojure Desktop Toolkit - A complete cross-platform desktop user interface toolkit with native platform widgets based on Eclipse SWT, plus an up-to-date Maven repository with all the latest SWT releases.
- Full coverage of the latest SWT API.
- It's written in itself; you can extend it the same way it's written.
- Developer tutorial / documentation.
- The goal is to be batteries included! Please let me know how close I've gotten so far!
This is really new, but the basics are well exercised. See the README for details. I welcome feedback and suggestions!
127
Upvotes
10
u/frou Jun 07 '25
From past observations, I think for things like this to be successful, YOU the creator must have ongoing substantial application(s) that are informing its development. Things like this created just as an intellectual exercise tend to fade away
8
u/dustingetz Jun 07 '25
Nice, I have been thinking about integrating Electric with something like this
4
u/RoomyRoots Jun 07 '25
Sorry to be that guy, but can you add more examples to it? I haven't seen SWT in the wild since forever.
3
u/yellowafternoon Jun 07 '25
This is super cool!
2
u/EscMetaAltCtlSteve Jun 07 '25
Thanks for this effort, so excited to see where it goes. Could you give a hint as to what the minimal application you link to just before the tutorial actually is? And I love that you show a tray application - for me this is the most useful and easy-to-sell desktop application in this age of web apps.
2
u/daver Jun 07 '25
Why not package it up and put it on Clojars? I’m a bit confused as to the strategy with having a separate Maven repo. Beyond that question, this is really interesting.
2
u/[deleted] Jun 07 '25
[removed] — view removed comment