Write plugins
What if you want to integrate text translations to Datashare’s interface? Or make it display tweets scraped with Twint? Ask no more: there is plugins for that!
Getting started
mkdir ~/Datashare\ Plugins
datashare --pluginsDir=~/Datashare\ PluginsInstalling and Removing registered plugins
Listing
$ datashare -m CLI --pluginList ".*"
2020-07-24 10:04:59,767 [main] INFO Main - Running datashare
plugin datashare-plugin-site-alert
Site Alert
v1.2.0
https://github.com/ICIJ/datashare-plugin-site-alert
A plugin to display an alert banner on the Datashare demo instance.
...Installing
Removing
Create your first plugin
Installing and Removing your custom Plugin
Adding elements to the Datashare user interface
datashare.config.set('hooksDebug', true).Last updated