Fork me on GitHub
#cljdoc
<
2022-12-18
>
Matthew Davidson (kingmob)09:12:47

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.

Matthew Davidson (kingmob)09:12:56

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

lread14:12:59

Hi @U10EC98F5, 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

Matthew Davidson (kingmob)04:12:17

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

lread05:12:12

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

Matthew Davidson (kingmob)05:12:54

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.

martinklepsch12:12:40

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

martinklepsch12:12:18

but that also requires upfront downloading of docsets

Matthew Davidson (kingmob)04:12:23

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

martinklepsch20:12:43

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

martinklepsch20:12:32

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 🙂

lread21:12:30

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.

Matthew Davidson (kingmob)04:12:15

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

lread04:12:53

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.

Matthew Davidson (kingmob)04:12:34

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

lread04:12:43

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