Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: A web interface for apropos: http://man-k.org/



On Mon, Apr 11, 2016 at 2:58 PM, Niels Dettenbach <nd%syndicat.com@localhost> wrote:
> Am Sonntag, 10. April 2016, 23:03:58 schrieben Sie:
>> http://man-k.org/
>
> cool!
>
> ...hit just a small bug:
>
>         http://man-k.org/search?q=dmidecode

Thanks for letting me know about it. It's part of a bigger bug, but I
fixed it for now :)

> (just a shot in the dark - i6 seems really non existing strings are not a
> problem
Yes. It was a corner case and the JSON output was not proper.

> - some simple backlinks to the main page / "back" would be nice
Although, every page has the search input box, so I thought the back
link was probably not necessary. But I have been thinking, I could
probably link the NetBSD logo to the home page.

> very nice work so far.

Thank you :)

> Is this code open source or similiar? This would allow us to provide further
> docs for our NetBSD "guest" machines in out intranet etc...

It is open source: https://github.com/abhinav-upadhyay/apropos_web
(that is the web layer).

It calls the NetBSD apropos(1) to do the actual search. I have made
changes in apropos(1) to give me JSON output. These changes are not
part of NetBSD's apropos(1) code yet and that means you cannot run it
out of the box.

The changes I have made to apropos are available in my github repo:
https://github.com/abhinav-upadhyay/apropos_replacement, in the
merge_netbsd_linux branch (I have made few changes to make it compile
on Linux as well, thus the branch name).

Let me know, if you are interested in setting it up locally, I can
provide detailed instructions. :)

--
Abhinav


Home | Main Index | Thread Index | Old Index