babashka

https://github.com/babashka/babashka. Also see #sci, #nbb and #babashka-circleci-builds .
borkdude 2020-11-16T11:11:38.331400Z

Made the first commit at: https://github.com/babashka/fs In time I hope this will be a useful lib to include in bb.

👍 4
😍 1
2020-11-16T14:59:08.333800Z

Greetings, Babashkers (do you/we have a better name for y'all/us), in JVM Clojure I would typically parse HTML with Hickory. What do you recommend for Babashka? Thanks in advance.

borkdude 2020-11-16T15:01:14.335800Z

@eigenhombre Yo, bb hacker! In the pod department that are some things you could use: https://github.com/borkdude/babashka/blob/master/doc/libraries.md#pods Bootleg has lots of libraries to parse HTML into a Clojure-specific format. There's also a Jsoup-based pod.

2020-11-16T15:02:53.337Z

Cool, I shall have to try me out some Pods.

2020-11-16T15:04:22.337500Z

Thank you very much and thanks for Babashka!

borkdude 2020-11-16T15:05:13.337700Z

Thanks for the donation on Opencollective!

👍 1
2020-11-16T15:06:54.338Z

Does one have to do anything other than

(require '[babashka.pods :as pods])

(pods/load-pod "bootleg")
? This throws clojure.lang.ExceptionInfo: Cannot run program "bootleg": error=2, No such file or directory for me.

borkdude 2020-11-16T15:08:29.338200Z

You have to download the bootleg pod and place it on your path or load it using a local path

2020-11-16T15:08:53.338400Z

I assume you mean CLASSPATH? Or the Bash $PATH?

borkdude 2020-11-16T15:08:57.338600Z

A pod is basically a CLI to which you shell out, but more efficient and better integrated. The bash PATH.

2020-11-16T15:09:05.338800Z

got it, thank you!

borkdude 2020-11-16T15:10:30.339Z

You can also load it with "./bootleg" if you have the binary in your local dir

borkdude 2020-11-16T15:12:43.339400Z

Welcome @skylar and @cgboal521

Calum Boal 2020-11-16T15:57:07.340100Z

Cheers, been using babashka recently, I love it, great work

skylar 2020-11-16T23:37:17.341100Z

Cheers!