C2LC-164: Use Wonder Workshop's JavaScript library to communicate with Dash

Metadata

Source
C2LC-164
Type
Task
Priority
N/A
Status
Won't Fix
Resolution
N/A
Assignee
N/A
Reporter
Created
2020-02-13T10:11:39.770-0500
Updated
2024-05-07T10:44:22.722-0400
Versions
N/A
Fixed Versions
N/A
Component
N/A

Description

Wonder Workshop have created a library for using their robots from browser JavaScript:

Some initial notes, questions, and things to look into:

  • The page on NPM for the @wonderworkshop/wwjs package (https://www.npmjs.com/package/@wonderworkshop/wwjs) lists https://github.com/playi/wwjs-examples as the package repository. However, that repository does not contain the library, but rather it contains documentation for the library and examples for using it.
  • It looks like the source code for the library itself is not public
  • When we do an npm install to download the wwjs package, what does the code downloaded look like?
    • Is it pure JavaScript?
    • Does it contain any binary blobs?
  • The NPM page for the library lists the license as CC-BY-NC-4.0
    • Is the code that is installed at npm install clearly licensed by that license? What is covered by this license?
    • What impact does using this license for the library have on our code? Is it viral?

Let's start by doing a technical exploration replacing our existing DashDriver.js with one using this Wonder Workshop library.

Comments

  • Simon Bates commented 2020-02-19T13:41:11.977-0500

    I had a look at the contents of the @wonderworkshop/wwjs package. It contains 4 files:

    • .npmignore
    • HALasm.js.mem: WebAssembly blob
    • package.json
    • wonder.min.js: the minified library

    So, the library is not 'open source': binary blob + minified library, with no source code.

    It looks like there is a good chance that HALasm.js.mem has been generated by emscripten. The wonder.min.js file contains the following string from Emscripten parseTools.js:

  • Simon Bates commented 2020-03-27T14:37:54.420-0400

    This work is on hold until we discuss the library with Wonder Workshop.