This is a userscript to showcase the output of the wikifactmine pipeline as facts on individual wikidata items.
Simply link to this file by adding:
mw.loader.load( 'https://rawgit.com/tarrow/wikifactmine-gadget/master/wikifactmine-gadget.js' );
to your common.js on Wikidata.
The best way to work on this script is to host a local https server (with a self signed cert accepted by your browser) and to link to it by inserting the following into your common.js on Wikidata:
mw.loader.load( 'https://localhost:8050/wikifactmine-gadget.js' );
It needs to be https or chrome (or your browser) will throw an error.