fuddl / wd

a browser extension for wikidata
https://wikidata.org/wiki/Wikidata:Tools/Wikidata_for_Firefox
GNU General Public License v3.0
37 stars 6 forks source link
chrome-extension firefox firefox-addon webextension wikidata

Wikidata browser extension

Get this Extension for 🦊 Firefox, Chrome

 Douglas Adams on Wikipedia with Wikidata for Firefox

Features

Development-Setup

Build locally

  1. Checkout the repository to your local machine eg. with git clone git@github.com:fuddl/wd.git
  2. run yarn to install all required dependencies
  3. run yarn build

The build step will create the distribution folder, this folder will contain the generated extension.

Run the extension

Using web-ext is recommened for automatic reloading and running in a dedicated browser instance. Alternatively you can load the extension manually (see below).

  1. run yarn watch to watch for file changes and build continuously
  2. run npm install --global web-ext (only only for the first time)
  3. in another terminal, run web-ext run --start-url https://www.wikidata.org/wiki/Q16276 for Firefox or web-ext run -t chromium

Note: Firefox will automatically reload content scripts when the extension is updated, Chrome requires you to reload the page to reload the content scripts.

Manually

You can also load the extension manually in Chrome or Firefox.