cljdoc 2022-12-18

What would people think of a URL-driven way to search cljdoc? E.g., I have a zillion Alfred web searches where I fire up the Alfred command bar, type something like duck some-topic, and it automatically sends me to the DuckDuckGo search results for some-topic. I have something similar for cljdoc, but it requires knowing the precise maven group and ID to jump directly to the docs, which I don't always remember. It would be nice if there was a URL I could submit a name and get the contents of the existing search bar's popup results.

I find it super helpful to have docs at a global shortcut and find its snappiness and offline-by-default approach quite nice

I also should say that I bought it a few years ago and haven’t upgraded so for me it’s just paid off itself 🙂

I've got a Dash license for cljdoc support reasons. I think it is interesting but have not developed a habit of using it. And I've recently switched to Linux, so there's that too.

Don't the Dash people offer their Windows/Linux version, Zeal, for free?

I think they are different people? Dash author generously shared many docset with Zeal, I think. Zeal is not as full featured as Dash, last time Iooked.

Oh? It was on the Dash website, I thought it was their freemium product for some reason...

I think Zeal mentions Dash as a way of thanking Dash for the docsets.

(I tried using directly, but it only returns URL-less JSON)

Hi @kingmob, So you'd like a urladded to the json response? You could derive this from json returned group-id artifact-idand version. Ex: https://cljdoc.org/d/borkdude/rewrite-edn/0.4.6

I figured as much. I'm just trying to void writing a script if there's an alternative way to do this already with cljdoc, or if a full search results page was something others wanted, too

I've not used Alfred, does it support simple scripting?

Yes, but scriptability isn't the issue. The reason I brought it up was to see whether anyone else was interested in this functionality for cljdoc. If not, that's ok, but I thought I'd ask.

@kingmob i’m using http://kapeli.com/dash for that kind of situation. probably also integrates with alfred in some way..

but that also requires upfront downloading of docsets

I guess that would work, too. I mostly use http://devdocs.io, but it has a different doc format than Dash/Zeal. @martinklepsch Is Dash worth the price?