# Publically accessible fastri

**URL:** <https://www.ruby-forum.com/t/publically-accessible-fastri/170030>\
**Category:** Ruby\
**Created:** [June 11, 2009, 2:50pm UTC](https://www.ruby-forum.com/t/publically-accessible-fastri/170030 "2009-06-11T14:50:32Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![rogerdpack](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/45deac/32.png) [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Post date:** [June 11, 2009, 2:50pm UTC](https://www.ruby-forum.com/t/publically-accessible-fastri/170030/1 "2009-06-11T14:50:32Z")

</div>

I have been thinking recently that I wish I could access ri data for  
core without having to install it myself  
like some web service to look up ri information for me. Perhaps a  
globally accessible fastri server or what not.

Does anybody know if such a thing exists?  
If not would it be a good idea for me to set one up?

Thanks!  
-=r

---

<div class="post-metadata">

**Author:** ![rogerdpack](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/45deac/32.png) [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Post date:** [June 11, 2009, 5:11pm UTC](https://www.ruby-forum.com/t/publically-accessible-fastri/170030/2 "2009-06-11T17:11:51Z")

</div>

If you’re just looking for core docs, check out  
[http://www.ruby-doc.org/](http://www.ruby-doc.org/).  
From the sound of it, you want to access documentation via the RI tool  
via  
the web. Why is that? What is the problem you are trying to solve?

James H.

---

<div class="post-metadata">

**Author:** ![rogerdpack](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/45deac/32.png) [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Post date:** [June 11, 2009, 6:17pm UTC](https://www.ruby-forum.com/t/publically-accessible-fastri/170030/3 "2009-06-11T18:17:36Z")

</div>

James H. wrote:

> If you’re just looking for core docs, check out  
> [http://www.ruby-doc.org/](http://www.ruby-doc.org/).  
> From the sound of it, you want to access documentation via the RI tool  
> via  
> the web. Why is that? What is the problem you are trying to solve?

Many times the ruby I use does not have ri installed. Plus accessing it  
from the command line is slow (main reason for fastri). Yep that’s the  
problem–I don’t want to have to _worry_ whether I installed the docs or  
not.  
Thanks.  
-=r

---

<div class="post-metadata">

**Author:** ![rogerdpack](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/45deac/32.png) [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Post date:** [June 11, 2009, 8:26pm UTC](https://www.ruby-forum.com/t/publically-accessible-fastri/170030/4 "2009-06-11T20:26:02Z")

</div>

On Jun 11, 2009, at 09:17, Roger P. wrote:

> Many times the ruby I use does not have ri installed. Plus  
> accessing it  
> from the command line is slow (main reason for fastri). Yep that’s  
> the  
> problem–I don’t want to have to _worry_ whether I installed the  
> docs or

Which RDoc do you have installed? rdoc --version will tell you.

---

<div class="post-metadata">

**Author:** ![rogerdpack](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/45deac/32.png) [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Post date:** [June 11, 2009, 9:54pm UTC](https://www.ruby-forum.com/t/publically-accessible-fastri/170030/5 "2009-06-11T21:54:53Z")

</div>

> Which RDoc do you have installed? rdoc --version will tell you.

$ rdoc --version  
RDoc V1.0.1 - 20041108

I suppose newer versions are faster?  
[unfortunately it seems that still my ruby installs tend to not include  
the docs, hence a public lookup being nice]. I’d even be willing to  
submit a patch to ri s.t. it goes to some lookup if you don’t install  
docs by default, if it would be useful (and acceptable 🙂 )  
-=r

---

<div class="post-metadata">

**Author:** ![rogerdpack](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/45deac/32.png) [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Post date:** [June 11, 2009, 10:51pm UTC](https://www.ruby-forum.com/t/publically-accessible-fastri/170030/6 "2009-06-11T22:51:10Z")

</div>

On Jun 11, 2009, at 12:54, Roger P. wrote:

> docs by default, if it would be useful (and acceptable 🙂 )  
> You could probably do a plugin for it, there’s lots of great ideas out  
> there but I don’t have the time to maintain them all. It’s much  
> easier for me to add hooks in RDoc for a plugin than it is to maintain  
> the plugin.

---

<div class="post-metadata">

**Author:** ![rogerdpack](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/45deac/32.png) [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Post date:** [June 11, 2009, 10:52pm UTC](https://www.ruby-forum.com/t/publically-accessible-fastri/170030/7 "2009-06-11T22:52:21Z")

</div>

On Jun 11, 2009, at 12:54, Roger P. wrote:

> docs by default, if it would be useful (and acceptable 🙂 )  
> RDoc 2 is significantly faster than 1, but I don’t think it can match  
> fastri speeds since it is more conservative in its changes.

---

<div class="post-metadata">

**Author:** ![rogerdpack](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/45deac/32.png) [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Post date:** [June 12, 2009, 4:51pm UTC](https://www.ruby-forum.com/t/publically-accessible-fastri/170030/8 "2009-06-12T16:51:51Z")

</div>

> > docs by default, if it would be useful (and acceptable 🙂 )  
> > You could probably do a plugin for it, there’s lots of great ideas out  
> > there but I don’t have the time to maintain them all. It’s much  
> > easier for me to add hooks in RDoc for a plugin than it is to maintain  
> > the plugin.

is ri pluggable?  
-=r

---

<div class="post-metadata">

**Author:** ![rogerdpack](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/45deac/32.png) [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Post date:** [June 12, 2009, 11:21pm UTC](https://www.ruby-forum.com/t/publically-accessible-fastri/170030/9 "2009-06-12T23:21:12Z")

</div>

On Jun 12, 2009, at 07:51, Roger P. wrote:

> > > docs by default, if it would be useful (and acceptable 🙂 )  
> > > You could probably do a plugin for it, there’s lots of great ideas  
> > > out  
> > > there but I don’t have the time to maintain them all. It’s much  
> > > easier for me to add hooks in RDoc for a plugin than it is to  
> > > maintain  
> > > the plugin.
> 
> is ri pluggable?

ri being part of RDoc, it is possible in theory. I don’t know if  
anybody has tried to prove this theory.

If it’s not, I’ll accept patches.

---

<div class="post-metadata">

**Author:** ![rogerdpack](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/45deac/32.png) [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Post date:** [June 12, 2009, 12:04am UTC](https://www.ruby-forum.com/t/publically-accessible-fastri/170030/10 "2009-06-12T00:04:24Z")

</div>

On Thu, Jun 11, 2009 at 4:51 PM, Eric H.[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > submit a patch to ri s.t. it goes to some lookup if you don’t install  
> > docs by default, if it would be useful (and acceptable 🙂 )
> 
> RDoc 2 is significantly faster than 1, but I don’t think it can match fastri  
> speeds since it is more conservative in its changes.

And unfortunately fastri has not kept up with the changes to rdoc, so  
it doesn’t work anymore, and Mauricio seems to have abandoned it.

–  
Rick DeNatale

Blog: [http://talklikeaduck.denhaven2.com/](http://talklikeaduck.denhaven2.com/)  
Twitter: [http://twitter.com/RickDeNatale](http://twitter.com/RickDeNatale)  
WWR: [NameBright - Coming Soon](http://www.workingwithrails.com/person/9021-rick-denatale)  
LinkedIn: [http://www.linkedin.com/in/rickdenatale](http://www.linkedin.com/in/rickdenatale)

---

<div class="post-metadata">

**Author:** ![rogerdpack](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/45deac/32.png) [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Post date:** [June 13, 2009, 2:33pm UTC](https://www.ruby-forum.com/t/publically-accessible-fastri/170030/11 "2009-06-13T14:33:21Z")

</div>

> [http://webri.tigerops.org/](http://webri.tigerops.org/)
> 
> T.

That has potential. I suppose I could just extract ri information from  
the rdoc pages there or from [ruby-doc.org](http://ruby-doc.org)

is the code for that one available?

except for my dislike of parsing html…  
Thanks much.  
-=r

---

<div class="post-metadata">

**Author:** ![rogerdpack](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/45deac/32.png) [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Post date:** [June 13, 2009, 2:35pm UTC](https://www.ruby-forum.com/t/publically-accessible-fastri/170030/12 "2009-06-13T14:35:04Z")

</div>

> > [http://webri.tigerops.org/](http://webri.tigerops.org/)

> is the code for that one available?

oops my bad

it is indeed available  
[http://webri.rubyforge.org/](http://webri.rubyforge.org/)

---

<div class="post-metadata">

**Author:** ![rogerdpack](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/45deac/32.png) [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Post date:** [June 13, 2009, 6:27pm UTC](https://www.ruby-forum.com/t/publically-accessible-fastri/170030/13 "2009-06-13T18:27:06Z")

</div>

On Jun 13, 8:33 am, Roger P. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > [http://webri.tigerops.org/](http://webri.tigerops.org/)
> 
> > T.
> 
> That has potential. I suppose I could just extract ri information from  
> the rdoc pages there or from [ruby-doc.org](http://ruby-doc.org)
> 
> is the code for that one available?

if you just want the ri data, it is kept in yaml files generated by  
rdoc.

try /usr/share/ri/1.8/system/

T.

---

<div class="post-metadata">

**Author:** ![rogerdpack](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/45deac/32.png) [@rogerdpack](https://www.ruby-forum.com/u/rogerdpack)\
**Post date:** [June 13, 2009, 5:13am UTC](https://www.ruby-forum.com/t/publically-accessible-fastri/170030/14 "2009-06-13T05:13:38Z")

</div>

On Jun 11, 8:50 am, Roger P. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I have been thinking recently that I wish I could access ri data for  
> core without having to install it myself  
> like some web service to look up ri information for me. Perhaps a  
> globally accessible fastri server or what not.
> 
> Does anybody know if such a thing exists?  
> If not would it be a good idea for me to set one up?

[http://webri.tigerops.org/](http://webri.tigerops.org/)

T.
