added a section that explains rebuilding sqlite3 for node-webkit #176

merged 2 commits into from Aug 7, 2013


None yet
3 participants

Mithgol commented Jul 19, 2013

There is an engine called “node-webkit”. It allows to require() and use Node modules from the context of WebKit-based web browser's windows, and thus the methods of web development can be used to compose cross-platform GUI applications (for Windows, for Mac, for Linux) in JavaScript.

Quite fortunately, node-sqlite3 may run on both engines (Node.js and node-webkit) without any changes in the module's source code.

However, the ABI of Node.js and node-webkit are different, and thus the module has to be rebuilt (using nw-gyp instead of node-gyp) before it is used in node-webkit.

This pull request extends and explains such a rebuilding.

prust commented Aug 6, 2013

@Mithgol: Thanks for your research & legwork on this. Our team will be using sqlite in node-webkit shortly and will be looking carefully at your notes.

However (and this may just be me), I think it may make more sense to include this in the node-webkit docs; I suspect a higher percentage of node-webkit users would be interested in this than sqlite3 users. The docs here could just be a one-line mention with a link to the docs there.


springmeyer commented Aug 7, 2013

will merge this now. Fine to accept another pull which turns it into a link to node-webkit docs at any time if you guys think that is better.

@springmeyer springmeyer pushed a commit that referenced this pull request Aug 7, 2013

Dane Springmeyer Merge pull request #176 from Mithgol/patch-1
added a section that explains rebuilding sqlite3 for node-webkit

@springmeyer springmeyer merged commit 31170e9 into mapbox:master Aug 7, 2013

1 check passed

default The Travis CI build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment