Commit 0bfd65c9 authored by Laurent Wouters's avatar Laurent Wouters
Browse files

Export view library in external package

parent 971b8f40df97
# Linked Data Browser
A web extension for the browsing the web of data.
The toolkit for the production of a browser of the web of data.
## Build the extension
## Build
npm install
npm run webpack
The web extension is made into the `build` directory and can be deployed as an unpacked extension in Chrome or Firefox for debuggin pruposes.
### Chrome
In Chrome, go to [chrome://extensions/](chrome://extensions/) and activate the developer mode (toggle un upper-right corner).
Then click on the appearing `Load Unpacked` button and select the `build/` directory in this repository (after build).
![Chrome developer mode](
### Firefox
In Firefox, go to [about:debugging](about:debugging), click "Load Temporary Add-on" and open the extension's directory and select the `build/manifest.json` file. Details at [Mozilla MDN](
### Usage
To try it, go to a page such as [dbpedia Claude Debussy](
In the should show its disabled icon in the upper-right corner of the tool bar, lit up with a red badge indicating RDF data has been detected.
Click on the extension's icon to activate it.
You can click on links in the specialized views, the browser will navigate to the target and the extension will immediately display its views, if data is available.
SCRIPT="$(readlink -f "$0")"
ROOT="$(dirname "$SCRIPT")"
echo "=========================================="
echo "= Building @types/rdflib"
echo "=========================================="
(cd "$ROOT/rdflib-types"; npm install)
(cd "$ROOT/rdflib-types"; npm run build)
echo "=========================================="
echo "= Building @logilab/libview"
echo "=========================================="
(cd "$ROOT/libview"; npm install)
(cd "$ROOT/libview"; npm run build)
\ No newline at end of file
"name": "cubicweb-libview",
"name": "@logilab/libview",
"version": "0.1.0",
"description": "Library for view specification and definition for a data browser.",
"scripts": {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment