babashka

amiorin 2026-05-17T08:08:07.093869Z

I built a small wrapper that automatically provisions Babashka and its dependencies on the fly, making it seamless to run tasks via npx without any manual setup. Maybe it can be useful to others!

npx @bigconfig/bb tasks        # -> bb tasks
npx @bigconfig/bb <args...>    # -> bb <args...>
https://github.com/bigconfig-ai/npm-bb

👀 1
neumann 2026-05-18T17:39:38.476209Z

Why install a JDK since BB doesn't need it?

amiorin 2026-05-18T17:50:30.361739Z

;; Triggers Clojure CLI + JDK requirement {:deps {com.github.user/repo {:git/sha "abcdef12345..."}}} ;; Runs natively inside Babashka without a JDK {:deps {org.clojars.user/repo {:mvn/version "1.0.2"}}}

lread 2026-05-18T17:54:50.686099Z

I think babashka https://book.babashka.org/#_paths_and_deps? > The :deps entry is managed by https://github.com/borkdude/deps.clj and requires a java installation to resolve and download dependencies.

👍 1
amiorin 2026-05-17T09:24:56.474869Z

bb.edn bootstrap When BB_EDN_REPO=owner/project is set and no local file exists, the wrapper automatically fetches a remote GitHub repository's bb.edn, injects the repo itself as a pinned Git dependency using rewrite-edn, and bootstraps the necessary Clojure tools on the first run. https://bigconfig-ai.github.io/npm-bb/#bbedn