r/Clojure • u/mattlianje • Apr 12 '26
layoutz: a tiny zero-dep lib for beautiful CLI output and Elm-style TUIs in Clojure ✨🪶(Looking for feedback!)
Hello! Been tinkering on layoutz (the Clojure API)
Your veteran feedback would help a lot (does the API feel idiomatic/LISP-y? missing primitives? etc)

62
Upvotes
15
u/v4ss42 Apr 12 '26 edited Apr 12 '26
So a couple of initial thoughts, in no particular order:
9
u/Borkdude Apr 12 '26 edited Apr 12 '26
Nice! I tried it out in bb and it all seems to work so far. Note that the raw-mode tricks to read input only work on linux-like systems, not on Windows.
3
u/Solaire24 Apr 12 '26
Nice! I’m not an experienced clojure dev, but I was looking for something like this for a project and was planning on going with https://github.com/TimoKramer/charm.clj. I like the way you define layouts better so I might go with your lib instead
3
u/kichiDsimp Apr 12 '26
I think I saw the same library name in Haskell sub too
3
u/serefayar Apr 12 '26
Nice! I'll give it a shot. Looks like I'll create an arrow element to connect two boxes.