Skip to content

Wasm port of the hdt-cpp library to allow indexing graph databases on the browser.

License

Notifications You must be signed in to change notification settings

lucafabbian/hdt-wasm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hdt-wasm

Wasm port of the hdt-cpp library to allow indexing graph databases on the browser.

Status

The project is nowhere close to a production-ready build with a stable api. Yet, it is already able to compile with no major issue and run some demos!

Check the demos here:

Getting started

With Docker

You find a Dockerfile with all dependencies already preconfigured. Just build it and run it with:

docker build -t hdt_emscripten .
docker run --rm -v $(pwd):/src -u $(id -u):$(id -g) hdt_emscripten bash build.sh

Without Docker

(tested on Ubuntu 22.04)

Be sure to have Node.js and emscripten on your system (test with em++ --version). Do not use the ones from Ubuntu repos, they are outdated.

You also need the following dependencies:

sudo apt-get install git autoconf libtool pkg-config

Build with:

# clone deps, rebuild and link them 
./build.sh

What's next?

The main goal now is to provide a real binding to the WebAssembly file and distribute it as a npm package.

License and authors

The code inside this repo is to be considered under MIT license. However, the overall library would be distributed under LGPL 2.1 license since the libhdt project is distributed under such license.

Author: Luca Fabbian [email protected]

About

Wasm port of the hdt-cpp library to allow indexing graph databases on the browser.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages