deps-new

2025-10-02T10:28:41.907959Z

I would like to use a project like deps-new which could support those extra features: • handlebars templates • interactive UI for the input params I have already some handlebars parsing code in Clojure from an old project. @seancorfield Would it make sense to add those features into deps-new or the change is too big and a separate project would be better (at least for the POC) ?

seancorfield 2025-10-02T12:55:38.632369Z

@vincent.cantin deps-new is mostly a wrapper for tools.build and uses its data substitution machinery -- :replace option on copy-dir -- and because of that I effectively rejected a similar request https://github.com/seancorfield/deps-new/issues/35 but noted that conditional processing can be achieved through :data-fn and :template-fn On your second bullet, I'm not sure what you're asking for there.

👍 1
2025-10-02T12:58:00.766889Z

I was thinking about a UI where the user could change the input params to be used in the template, and a embedded file browser to see how it changes the generated output, in realtime.

2025-10-02T12:58:29.363899Z

then the user would just press the "ok" button to write it to files.

seancorfield 2025-10-02T12:59:40.746719Z

Okay, so the UI is something you'd need to build, but you could use deps-new as a library at that point -- quite a bit of work has been done over the years to make deps-new work better as a library...

seancorfield 2025-10-02T13:01:34.148539Z

My "UI" for dealing with deps-new has always been the command-line so changing input params via the command-line args and looking at the files produced is well-served on Linux 🙂

amiorin 2025-10-07T07:20:59.391049Z

@vincent.cantin https://www.big-config.it/guides/build/ could help for the template logic. I used to use the amazing deps-new in BigConfig but eventually I decided to "reimplement" it in BigConfig to streamline the developer experience.

2025-10-07T07:24:00.907269Z

Thanks for sharing