I got fed up of copying tasks, so I made a task package manager: https://github.com/hugoduncan/bbum The tool itself is bbin installable, and can install, update and remove tasks from you bb,edn Tasks libraries ere either local or hosted on github. An example of a task library: https://github.com/hugoduncan/bb-task-lib Feedback on the idea or the implementation appreciated.
I have recorded myself using the tool for the first time. https://www.youtube.com/watch?v=VEQM-vhF2p0
Thanks for this - it is always very interesting to see live usage. It looks like I need to make it more straightforward to add a github source, and actually verify the source availability. As regards a marketplace, perhaps I can do somethings with clojars. I wonder how much people would actually use it though, rather than just building their own library of tasks. I wasn't quite sure why you were trying to use a clojure repl with bb - the bb nrepl seems to allow you to inspect things, so I've probably missed something.
I used the video as a source in NotebookLM to highlight a few key points. By the way, cider-inspect-last-result isn’t working in my current Babashka setup—does it work for you?
Regarding the marketplace: I’m thinking an agent-based approach would work best. The publisher would ask the agent to publish their repo, triggering an automatic PR to a central task repository. The consumer could then ask the agent to list, search, or sort tasks (e.g., by stars). We could even automate it so that adding a repo as a dependency automatically triggers a star.
if I just cider-jack-in to the bbum project, cider-inspect-last-result`` seems to work fine for me.
I'll have a think about a marketplace. What you're describing definitely sounds useful if we do that. Is a marketplace something you could see yourself using?
I would see myself using it for sure. I do the same thing in melpa for Emacs to find new packages. Are you sure that you jack-in babashka and not clojure-cli?
Ah, you're correct. jack-in seems to start a clj repl.
and connecting to a bb nrepl-server gives a repl where inspect doesn't work