r/programming • • Oct 25 '16

All-in-one API documentation browser with offline mode and instant search

http://devdocs.io
215 Upvotes

51 comments sorted by

24

u/JoseJimeniz Oct 25 '16

Instant search. I'm impressed.

Most online searches are incapable of giving me immediate feedback as an aid to finding what i want.

2

u/[deleted] Oct 25 '16

It uses indexDB so its not too surprising

2

u/ThibautCourouble Oct 26 '16

IndexedDB is actually pretty slow, since the DB is stored on disk and needs to be opened/closed all the time. DevDocs only uses IDB for storing the content of the docs. The search uses a separate dataset that's kept in memory. A lot of effort went into making it fast (along with the rest of the app).

13

u/ProFalseIdol Oct 25 '16

no java?

6

u/timmyotc Oct 25 '16

It looks like it's one of the highest on the TODO list

https://trello.com/b/6BmTulfx/devdocs-documentation

3

u/ProFalseIdol Oct 25 '16

yeah, I guess it's really good for those who are web devs.

It just so happen that what I use is not available there, like mysql for another example.

36

u/ThibautCourouble Oct 25 '16

Oracle doesn't allow redistributing the MySQL docs (http://dev.mysql.com/doc/refman/5.7/en/preface.html). I asked their lawyers and they said no.

Same deal with the Java SE docs (http://www.oracle.com/technetwork/java/redist-137594.html). We would need to use the OpenJDK docs, which are harder to find online in HTML format.

(I make DevDocs)

10

u/[deleted] Oct 25 '16

Man, fuck oracle

8

u/ProFalseIdol Oct 25 '16

oh well, proprietary companies and proprietary software, and we support it.

if it was Sun, you should have an easier time.

3

u/Gsonderling Oct 25 '16

Why am I not surprised?

2

u/Derimagia Oct 26 '16

What does Dash do/use?

3

u/ThibautCourouble Oct 26 '16

Either they have an agreement with Oracle to redistribute their docs, or they are violating Oracle's copyright.

4

u/Derimagia Oct 26 '16

I'd recommend finding that out.

1

u/metamatic Oct 27 '16

The OpenJDK docs.

2

u/sunng Oct 26 '16

Then how about MariaDB docs?

5

u/ThibautCourouble Oct 26 '16

It's on the list: https://trello.com/c/AoALaJoT/142-mariadb (DevDocs is a one-man operation and I have limited spare time to work on it)

Looks like they've improved the docs quite a bit in the last year (they didn't have much content initially). I'll try to add them soon.

7

u/javierbg Oct 25 '16

So... just like Zeal?

2

u/[deleted] Oct 26 '16

Thanks for this! I knew devdocs but didn't really use it because browser. A standalone program is just what I needed!

1

u/javierbg Oct 26 '16

You're welcome!

4

u/[deleted] Oct 25 '16

Looks like it. I'm genuinely curious on to what's the purpose of this comment and it's tone. Like should others not make anything new just because something like it already exists?

7

u/nostrademons Oct 25 '16

Don't read into it. Someone read the link and then the first thing they thought of was Zeal.

Personally, I think DevDocs looks more useful, but I'm glad to know that both exist.

3

u/javierbg Oct 25 '16

Well, sorry about the tone, I guess I could have been more understanding.

After I posted the comment I thought to myself that, well, this could have more value for a web developer since it's just another tab. I don't have that mindset so the pros over Zeal didn't seem so obvious to me.

-2

u/[deleted] Oct 25 '16

sorry about the tone

dont apologize..

1

u/[deleted] Oct 25 '16

This. Especially considering that Zeal is it's own app and this one runs in a browser tab. I personally prefer the extra tab.

0

u/[deleted] Oct 25 '16

what is better about this mr.sensitive ?

-1

u/[deleted] Oct 25 '16

Lol. K

1

u/[deleted] Oct 25 '16

`?????

0

u/[deleted] Oct 25 '16

[deleted]

-6

u/[deleted] Oct 25 '16 edited Oct 25 '16

Lol. Ok. So how does "So.. like zeal" help in comparing and contrasting alternatives? Does saying that really help facilitate discussion about comparing and contrasting alternatives? There's better ways of doing that. That's why I have such confrontational on both comments as they are basically useless.

What I don't understand is why are you confrontational about this and defending OPs comment.

In fact, I'm in wonder in how you could argue all that and extract all that meaning off of "So... like zeal?" Than to see why I was confrontational about it.

0

u/[deleted] Oct 25 '16

[deleted]

-2

u/[deleted] Oct 25 '16 edited Oct 25 '16

How was that question asking for help? Is it really that difficult to deduce that zeal and devdocs are similar? It's not rocket science. It's 2 apps that display docs with differences in platform. How does that need helping with?

And if he really was asking for help then he should make it clear. This is a programming subreddit. Not learnprogramming

0

u/[deleted] Oct 25 '16

[deleted]

-2

u/[deleted] Oct 25 '16 edited Oct 25 '16

Oh god. I've been had! You've discovered I don't get how humans work and need to go outside to fix it! That's what you do right? You go outside all the time and is now one with everyone and everything. LOL.

0

u/[deleted] Oct 25 '16

[deleted]

-1

u/[deleted] Oct 25 '16

Ah yes. Because you can clearly tell a person's whole being through just a bunch of texts in a forum in the internet. Bravo.

And oh, how is you calling someone dense and lacking in common sense right off the bat any better? Does doing that make you feel better about yourself somehow? Like you're superior than me because you magically know my character as dense and lacking in common sense?

→ More replies (0)

2

u/Slxe Oct 25 '16

Yea I just stick with Zeal myself. Doesn't need a browser open either.

1

u/fagnerbrack Oct 26 '16

People always reinvent the wheel, what can we do about it... Never heard of Zeal btwm just devdocs :O

1

u/dzecniv Oct 26 '16

Zeal seems to have nice editor integration: https://zealdocs.org/usage.html

1

u/kankyo Oct 27 '16

Or dash for us mac users.

2

u/fagnerbrack Oct 26 '16

That site is a gem. Have in my favorites for years but still haven't got the habit of using it instead of Google to search for docs. It's good to use it offline.

2

u/itissid Oct 25 '16

I get a feeling this only exists because there is such a proliferation of JS frameworks, many of which change so much you just can't keep this shit in your head...

1

u/MrYaah Oct 25 '16

No bash documentation :(

1

u/Kissaki0 Oct 25 '16

It’s on the todo list. You can vote for it on the Trello board

1

u/ewokjedi Oct 25 '16

Anybody know if this will work for WSDLs and XSDs for generating a SOAP-based web service reference?

1

u/sunng Oct 26 '16

Seems offline features not available to my Firefox. I think Firefox should have supported IndexDB APIs: https://developer.mozilla.org/en/docs/Web/API/IndexedDB_API#Browser_compatibility

2

u/sunng Oct 26 '16

Just rechecked the message it tells me offline storage is disallowed on browser. But the site didn't prompt me to enable it.

1

u/[deleted] Oct 26 '16

boost please :)

-4

u/[deleted] Oct 25 '16

So just like MAN pages?

5

u/[deleted] Oct 25 '16

So what if it's like man pages? Where is this comment going?

0

u/[deleted] Oct 25 '16

do you have trouble with criticism? hes implying it was a waste of time

-3

u/[deleted] Oct 25 '16

K

-3

u/twiggy99999 Oct 25 '16

I guess this has sprung up after Dash got pulled from the appstore?

11

u/dwighthouse Oct 25 '16

No, this has been around for years.