prev. article next article

nix-assistant

23 Jul 2015

motivation

yesterday i was watching the New Horizons Mission Update - July 13, 2015 [1] and learned many new things. among them how most nix related projects got their names ;-)

in this posting i want to share some of mine nix related documentation news which is:

the story

starting back at the zidanca sprint [4] i had the idea of making the wiki available offline and since i was very much into qt and thus using ‘qt assistant’ i wanted it to be as cool as the qt docs.

so here are the first results:

downloads

you can download these files:

download it:

% wget https://nixcloud.io/nix-assistant/options.qch
% wget https://nixcloud.io/nix-assistant/wiki.qch

then install:

% nix-env -i qt-full

and import the documentation:

% assistant -register options.qch 
% assistant -register wiki.qch 

finally, launch assistant:

% assistant

conclusion

how i did it:

since i don’t have access to the mysql dumps i was forced to use phantomjs/casperjs to query the data. turns out that casperjs and in particular javascript is a very nice combination for scraping webpages!

you can find the source code at github [5].

issues:

i hope to get most of these things fixed soon!

hf,
qknight

links