• Firstly, I’m finding Scittle super useful for creating small web apps (thank you Michiel).
• Secondly, am I correct in thinking that there is currently no implementation of something like an x-scittle-lib instruction? You’d use it like:
[:script {:type "application/x-scittle-lib"
:src ""}]
…Which would fetch from a Git repo and, interpret a multi file, all .cljc library.
1. I know that I can load it file-by-file - but I’d rather not.
2. Maybe I could compile the lib into a .`js` then script...`src` it as usual.
3. Of course, for that particular example, I could use an alternative (but less good), already .js lib like JS-humanize …but that doesn’t solve my more general wish.
@ashley_mcclenaghan scittle doesn't support .git but a good way to discover it if even works in scittle (SCI) is to load this library up in nbb (Node.js) by adding it to nbb.edn in the :deps entry and then try to use it in script.
If it does work, you could create an uberscript from it perhaps, using babashka, which is a way to assemble one large file from multiple namespaces. And then you could use that in scittle.
...thanks for that useful hint about building an uberscript using Babashka. I'll try that 🙂