nbb

borkdude 2022-12-21T09:32:12.643849Z

CIDER 1.6 released with nbb support!

🎉 9
alpox 2022-12-21T22:33:31.867669Z

Is there a way to bundle a distributed (into multiple files) nbb script into an executable that is not ~170MB and takes 2-3 seconds to start? (Looking at caxa ) I was initially looking for a fast-starting CLI tool with subcommands which I like about bb but came to nbb due to the lack of nice prompts - as npm delivers a good package for it I tried it with nbb now but hit the wall at actually creating the fast single executable with it that I was trying to achieve. In the end it should just be an installable executable - preferrably working on all major platforms

borkdude 2022-12-21T22:41:05.660239Z

@alpox why not distribute it as an npm package and let people run it via npx your-package ?

alpox 2022-12-21T22:42:02.878729Z

My brain must have frozen there for the evening. Why didn't I think of that 😅 thanks, savior

alpox 2022-12-21T22:42:53.477819Z

It should not be public in the end though but I believe there are ways to make such private

borkdude 2022-12-21T22:43:43.904709Z

There are some docs here: https://github.com/babashka/nbb/blob/main/doc/publish/README.md

👍 1
alpox 2022-12-21T22:46:45.258579Z

Thanks!