{"_id":"topcube","_rev":"41-753d9cf2745795a3b2d24501ddcc2fde","name":"topcube","description":"Simple bindings to create a webkit window that node can control","dist-tags":{"latest":"0.2.0"},"versions":{"0.0.1":{"author":{"name":"Tim Caswell","email":"tim@creationix.com"},"name":"topcube","description":"Simple bindings to create a webkit window that node can control","version":"0.0.1","repository":{"type":"git","url":"git://github.com/creationix/webapp.git"},"main":"./topcube.js","dependencies":{},"devDependencies":{},"scripts":{"preinstall":"node-waf clean || true; node-waf configure build"},"_id":"topcube@0.0.1","engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.1rcFINAL","_nodeVersion":"v0.4.7","_defaultsLoaded":true,"dist":{"shasum":"86035520af02da13df9487329a6a007ae6ca94ac","bin":{"0.4-ares1.7.4-ev4.4-openssl0.9.8o-v83.1.8.10-linux-2.6.35-28-generic-pae":{"shasum":"8281f452dba1f16473a38dc607e803fccb47c56e","tarball":"http://registry.npmjs.org/topcube/-/topcube-0.0.1-0.4-ares1.7.4-ev4.4-openssl0.9.8o-v83.1.8.10-linux-2.6.35-28-generic-pae.tgz"}},"tarball":"https://registry.npmjs.org/topcube/-/topcube-0.0.1.tgz","integrity":"sha512-4TDdSYBNhZcvSjOCPOWJTF/oNpFtTX7QPYPUKPFoNK0FHvHNraqlkwQg08vbxUlSI3Mr5SbJnYtN8VgxqkvPqw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFWn5gHk/OY89ptW78vVdoFV0ZrDxm0mDZ0lezieBDUkAiA//QzCDREW/EnqBSqcYZxzMRN02g86Q/8y/UJcbXJ2xg=="}]},"directories":{}},"0.0.2":{"author":{"name":"Tim Caswell","email":"tim@creationix.com"},"name":"topcube","description":"Simple bindings to create a webkit window that node can control","version":"0.0.2","repository":{"type":"git","url":"git://github.com/creationix/webapp.git"},"main":"./topcube.js","dependencies":{},"devDependencies":{},"scripts":{"preinstall":"node-waf clean || true; node-waf configure build"},"_id":"topcube@0.0.2","engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.1rcFINAL","_nodeVersion":"v0.4.7","_defaultsLoaded":true,"dist":{"shasum":"5f9fb9a8a4367322b7a84bdc908371cc7927c77b","bin":{"0.4-ares1.7.4-ev4.4-openssl0.9.8o-v83.1.8.10-linux-2.6.35-28-generic-pae":{"shasum":"675fbf1ea1bdfba7e59fbb82d27a627492112f21","tarball":"http://registry.npmjs.org/topcube/-/topcube-0.0.2-0.4-ares1.7.4-ev4.4-openssl0.9.8o-v83.1.8.10-linux-2.6.35-28-generic-pae.tgz"}},"tarball":"https://registry.npmjs.org/topcube/-/topcube-0.0.2.tgz","integrity":"sha512-NG2uwqPSRpMf9vyoiKJ+2ZoWkuhpAsZfmHORYV8Ug+3jmat2O4eH/AW60eg1jCTKhg4/2V/4QOfRHUHeY+wxIg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD3iocLHsJ9RJ1kOeSlfGNK3KxztPzEPmuw5HDrARYI2wIhAOo5AVypzAJ1+WF7ZeqWlA+bj5nGfswc9dQmof+mlz9Q"}]},"directories":{}},"0.0.3":{"author":{"name":"Tim Caswell","email":"tim@creationix.com"},"name":"topcube","description":"Simple bindings to create a webkit window that node can control","version":"0.0.3","repository":{"type":"git","url":"git://github.com/creationix/webapp.git"},"main":"./topcube.js","dependencies":{},"devDependencies":{},"scripts":{"preinstall":"node-waf clean || true; node-waf configure build"},"_id":"topcube@0.0.3","engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.1rcFINAL","_nodeVersion":"v0.4.7","_defaultsLoaded":true,"dist":{"shasum":"7a4e54b2116a4b636f3582b205ac5bda152d93a7","bin":{"0.4-ares1.7.4-ev4.4-openssl0.9.8o-v83.1.8.10-linux-2.6.35-28-generic-pae":{"shasum":"f2034deb66a20ced5b7d7b34ef40a298e4070fcb","tarball":"http://registry.npmjs.org/topcube/-/topcube-0.0.3-0.4-ares1.7.4-ev4.4-openssl0.9.8o-v83.1.8.10-linux-2.6.35-28-generic-pae.tgz"}},"tarball":"https://registry.npmjs.org/topcube/-/topcube-0.0.3.tgz","integrity":"sha512-Z5FYv0+TlxdnJe+HUgdM93GP/C5dgtyIR3fHXHtS/ZiNpvt79flQeBE5SFwQs52OAYjKUNnFs4PVhWIBftO6UA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHF9e5QnIgc2AUx8u88O9g2LJtzMlYhKgf36lsQFI05wIhAPdbiMX3zsJki7zgaZRV5EUwSE9xXPZ27iDG7WyyDbID"}]},"directories":{}},"0.0.4":{"author":{"name":"Tim Caswell","email":"tim@creationix.com"},"name":"topcube","description":"Simple bindings to create a webkit window that node can control","version":"0.0.4","repository":{"type":"git","url":"git://github.com/creationix/topcube.git"},"main":"./topcube.js","dependencies":{},"devDependencies":{},"scripts":{"preinstall":"node-waf clean || true; node-waf configure build"},"_id":"topcube@0.0.4","engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.1rcFINAL","_nodeVersion":"v0.4.7","_defaultsLoaded":true,"dist":{"shasum":"82edb15603ff57b284a10a86c821abc3f2892ef8","bin":{"0.4-ares1.7.4-ev4.4-openssl0.9.8o-v83.1.8.10-linux-2.6.35-28-generic-pae":{"shasum":"0b4cf5bbadbfd8b0d10edb3ee6ad553449e4d7b9","tarball":"http://registry.npmjs.org/topcube/-/topcube-0.0.4-0.4-ares1.7.4-ev4.4-openssl0.9.8o-v83.1.8.10-linux-2.6.35-28-generic-pae.tgz"}},"tarball":"https://registry.npmjs.org/topcube/-/topcube-0.0.4.tgz","integrity":"sha512-XjI1ZlYCVc4kw4v2MCXBVwEZBGlAqe7yWlMy/9p4ISXcWT3d3YWXJYRsrCOcy1P2PVkrYTImAhiP4a9c9qL1QA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCI+JDpzYXzMHOpitgLeBpbCyVhtIickvgQxipzA5eUNwIhAN5/3gpKsdexvkmcd3/OlnRhk2Mjv3m23x7ypdKxGckg"}]},"directories":{}},"0.0.5":{"author":{"name":"Tim Caswell","email":"tim@creationix.com"},"name":"topcube","description":"Simple bindings to create a webkit window that node can control","version":"0.0.5","repository":{"type":"git","url":"git://github.com/creationix/topcube.git"},"main":"./topcube.js","dependencies":{},"devDependencies":{},"scripts":{"preinstall":"node-waf clean || true; node-waf configure build"},"_id":"topcube@0.0.5","engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.1rcFINAL","_nodeVersion":"v0.4.7","_defaultsLoaded":true,"dist":{"shasum":"e0b2db01894efe166648dc8ded5fa5aa31a628f1","bin":{"0.4-ares1.7.4-ev4.4-openssl0.9.8o-v83.1.8.10-linux-2.6.35-28-generic-pae":{"shasum":"a132fea380bfd9b935f5636d5b40ee6b8e066484","tarball":"http://registry.npmjs.org/topcube/-/topcube-0.0.5-0.4-ares1.7.4-ev4.4-openssl0.9.8o-v83.1.8.10-linux-2.6.35-28-generic-pae.tgz"}},"tarball":"https://registry.npmjs.org/topcube/-/topcube-0.0.5.tgz","integrity":"sha512-48vjC6/FyCUGZgCQKlL8IkLY3SwlaoVLmdizEuHFiPx8URkkwT42pYAwKQLl7MtKnyQF+tg/BL3FSSlWoJeNSA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCQqmtV15a/lyMSmtTgsXmayhoemwrZYxZoKjIX7Iqe4QIge0t8RZKa/Y4sNWsLlkfTuOQx5dA/A7U3bFeq5tO4D6A="}]},"directories":{}},"0.0.6":{"author":{"name":"Tim Caswell","email":"tim@creationix.com"},"name":"topcube","description":"Simple bindings to create a webkit window that node can control","version":"0.0.6","repository":{"type":"git","url":"git://github.com/creationix/topcube.git"},"main":"./topcube.js","dependencies":{},"devDependencies":{},"scripts":{"preinstall":"node-waf clean || true; node-waf configure build"},"_id":"topcube@0.0.6","engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"0.3.18","_nodeVersion":"v0.4.7","directories":{},"files":[""],"_defaultsLoaded":true,"dist":{"shasum":"6271b42ab32c5074a6c28da2707c63bfec5b4817","tarball":"https://registry.npmjs.org/topcube/-/topcube-0.0.6.tgz","bin":{"0.4-ares1.7.4-ev4.4-openssl0.9.8o-v83.1.8.10-linux-2.6.38-8-generic-pae":{"shasum":"12c7fc353a829b0b9b78c96115966c97149dfd77","tarball":"http://registry.npmjs.org/topcube/-/topcube-0.0.6-0.4-ares1.7.4-ev4.4-openssl0.9.8o-v83.1.8.10-linux-2.6.38-8-generic-pae.tgz"}},"integrity":"sha512-cGkHN0p67UCDF+CXKqteNDVPSXr+tQnknWInWWVshESj3mV4CReLy0j7rTUxGR9KKS4QczQznYTBXzU9k8AppA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDx9Ku/pl/XAjznnxgR5qnR57WgK2Zj9XIelSoYkP1uUQIgWAQdHFXqEx8Jl+CnVZBztnERtzkpBMG0O3MUyXmliYw="}]}},"0.0.7":{"author":{"name":"Tim Caswell","email":"tim@creationix.com"},"name":"topcube","description":"Simple bindings to create a webkit window that node can control","version":"0.0.7","repository":{"type":"git","url":"git://github.com/creationix/topcube.git"},"main":"./topcube.js","dependencies":{},"devDependencies":{},"scripts":{"preinstall":"node-waf clean || true; node-waf configure build"},"_id":"topcube@0.0.7","engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.1rcFINAL","_nodeVersion":"v0.4.7","_defaultsLoaded":true,"dist":{"shasum":"0c2d3c7c8933e6b4d60f174e9b257129b5400f37","bin":{"0.4-ares1.7.4-ev4.4-openssl0.9.8o-v83.1.8.10-linux-2.6.35-28-generic-pae":{"shasum":"a585485254bce12135172cb2576673dbd6be87b6","tarball":"http://registry.npmjs.org/topcube/-/topcube-0.0.7-0.4-ares1.7.4-ev4.4-openssl0.9.8o-v83.1.8.10-linux-2.6.35-28-generic-pae.tgz"}},"tarball":"https://registry.npmjs.org/topcube/-/topcube-0.0.7.tgz","integrity":"sha512-cHzAc72EByH30wzxtCDAuedQLVwgtf2SuHxa1rckxrzeGo+/PQq/G9G9VK64HQqWub/odbTB/opyLN9YvwMdfw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCe/aSYyLibjeuaKQepa+xovy4CvjNMCl0mVBT+hPXy6QIgfjAM6o1v4dr5cpFKblY2/wCyKimGynlLkkvwLuMNjOY="}]}},"0.1.2":{"author":{"name":"Tim Caswell","email":"tim@creationix.com"},"name":"topcube","description":"Simple bindings to create a webkit window that node can control","version":"0.1.2","repository":{"type":"git","url":"git://github.com/creationix/topcube.git"},"main":"./topcube.js","dependencies":{},"devDependencies":{},"engines":{"node":"<0.7.x"},"scripts":{"preinstall":"node package.js"},"_npmUser":{"name":"creationix","email":"tim@creationix.com"},"_id":"topcube@0.1.2","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.16","_nodeVersion":"v0.6.15","_defaultsLoaded":true,"dist":{"shasum":"32e045aea39101d488d149c22d33b51607d50ab6","tarball":"https://registry.npmjs.org/topcube/-/topcube-0.1.2.tgz","integrity":"sha512-mzSQfXEXXYwhADotC1KutmA0qiSw1ascgmVz0RiMx4S1t1Gv7oNBkntzTd0toyvBcCjMzBZvPDmf/xMS+F0lCA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHgJ6MwiUMYxm73pScpXYFTpuGgCuPFtKV1auuBTEnpfAiBSBgYvTsn/1OZ7xcFI6xsoAfJqJhqWLNwXwMvQS+0Q3A=="}]},"maintainers":[{"name":"creationix","email":"tim@creationix.com"}]},"0.1.3":{"author":{"name":"Tim Caswell","email":"tim@creationix.com"},"name":"topcube","description":"Simple bindings to create a webkit window that node can control","version":"0.1.3","repository":{"type":"git","url":"git://github.com/creationix/topcube.git"},"main":"./topcube.js","dependencies":{},"devDependencies":{},"engines":{"node":"<0.9.x"},"scripts":{"preinstall":"node package.js"},"_npmUser":{"name":"yhahn","email":"young@developmentseed.org"},"_id":"topcube@0.1.3","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.18","_nodeVersion":"v0.8.4","_defaultsLoaded":true,"dist":{"shasum":"e5aca9850cae525c83e10cf3287327f6858eca65","tarball":"https://registry.npmjs.org/topcube/-/topcube-0.1.3.tgz","integrity":"sha512-sn3PSXImMSROPe5M/n4FjPJelsm1YNcBSplBRDP9J2L0jm85H22Kclj854YE/17L4wby0YtJhXeJR1oEz6A2Ng==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC5MHEf+OMzyNhlfovlSxuGF0lZzYto/LVlfVcLVDdVFgIhAI2iK0J9qsg/vHKfo27udZI+cKnWXR62y3ICUFURLJBO"}]},"maintainers":[{"name":"creationix","email":"tim@creationix.com"},{"name":"yhahn","email":"young@developmentseed.org"},{"name":"springmeyer","email":"dane@dbsgeo.com"}]},"0.2.0":{"author":{"name":"Tim Caswell","email":"tim@creationix.com"},"name":"topcube","description":"Simple bindings to create a webkit window that node can control","version":"0.2.0","repository":{"type":"git","url":"git://github.com/creationix/topcube.git"},"main":"./lib/topcube.js","dependencies":{},"devDependencies":{},"engines":{"node":">= 0.8.11 < 0.11.0"},"scripts":{"install":"node-gyp rebuild"},"gypfile":true,"_id":"topcube@0.2.0","dist":{"shasum":"81e32bf7ea2e1d24c1fb12a26edcfea9c0713a71","tarball":"https://registry.npmjs.org/topcube/-/topcube-0.2.0.tgz","integrity":"sha512-4CeSAxtto9aac5eNJ3QviZQGXWJaHDBlzEaXc5YeObxC0ICr8/qI0MOhceaBDIu3YA/ZfPjzya+3y9JDMDHuJQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQChwuJh5IRBxTIfYCnBmwtOPC1qjVzotIB0K6NifZVr7gIhAL1r8zV/cSJk0bgsBdiGjRa3QHUHitYdDxJWyROm8HVv"}]},"_npmVersion":"1.1.66","_npmUser":{"name":"yhahn","email":"young@developmentseed.org"},"maintainers":[{"name":"creationix","email":"tim@creationix.com"},{"name":"yhahn","email":"young@developmentseed.org"},{"name":"springmeyer","email":"dane@dbsgeo.com"}]}},"maintainers":[{"email":"tim@creationix.com","name":"creationix"},{"email":"young@mapbox.com","name":"yhahn"},{"email":"dane@mapbox.com","name":"springmeyer"}],"time":{"modified":"2022-06-27T18:37:55.663Z","created":"2011-04-28T18:07:49.384Z","0.0.1":"2011-04-28T18:07:49.843Z","0.0.2":"2011-04-28T18:21:56.622Z","0.0.3":"2011-04-28T18:28:06.348Z","0.0.4":"2011-04-28T18:40:05.367Z","0.0.5":"2011-04-28T19:33:03.195Z","0.0.6":"2011-05-01T01:30:40.646Z","0.0.7":"2011-05-09T23:51:23.533Z","0.1.2":"2012-04-21T01:32:04.877Z","0.1.3":"2012-08-02T00:52:06.280Z","0.2.0":"2013-10-25T20:33:19.746Z"},"author":{"name":"Tim Caswell","email":"tim@creationix.com"},"repository":{"type":"git","url":"git://github.com/creationix/topcube.git"},"users":{"fgribreau":true},"readme":"TopCube\n-------\nGives node developers a way to have a desktop GUI to their node servers using HTML5 + CSS3 as the GUI platform.\n\nAssumes:\n\n- **Client/server architecture with communication over HTTP.**  \n  If you're interested in merged event loops, common javascript contexts, or other non-HTTP communication and resource sharing between the node process and the GUI take a look at [node-webkit](https://github.com/rogerwang/node-webkit).\n- **Single, HTML5 + CSS3 driven window.**  \n  The client window does not spawn popups, support tabs, create additional windows or add any native UI components other than what a typical browser pane would provide.\n- **Child process.**  \n  The client window runs as a child process of the calling node process.\n\n## Implementation Details\n\n**Linux**\n\nRequires `gtk2.0` and `webkitgtk`. Install the following packages on Debian/Ubuntu or the equivalents for your system to build topcube:\n\n    sudo apt-get install libgtk2.0-dev libwebkitgtk-dev\n\n**Windows**\n\nThe windows client currently downloads a custom compiled binary client that uses the [Chromium Embedded Framework](http://code.google.com/p/chromiumembedded/). If you're interested in building the client yourself or making modifications see [mapbox/cefclient](https://github.com/mapbox/cefclient).\n\n**Mac OS X**\n\nTODO. Work on a native webkit client for Mac OS X that can be built within topcube is certainly welcome.\n\n## API\n\nPass a single `options` object to topcube with the following properties:\n\n- `url` of your running node application to point topcube at.\n- `name` of the window displayed in the titlebar. Also sets any window manager classes associated with the topcube window. On linux a `.desktop` file using the same name can be used set the icon for your application.\n- `width` in pixels of the window. Optional.\n- `height` in pixels of the windows. Optional.\n- `minwidth` in pixels. Restricts resizing the window width smaller than this value. Optional.\n- `minheight` in pixels. Restricts resizing the window height smaller than this value. Optional.\n- `ico` full path to a Windows `.ico` file to use for your application. Optional, no-op on non-windows platforms.\n\nExample usage of topcube to wrap a default \"Hello world\" server.\n\n    var Http = require('http');\n    var TopCube = require('topcube');\n\n    Http.createServer(function (req, res) {\n      res.writeHead(200, {'Content-Type': 'text/plain'});\n      res.end('Hello World\\n');\n    }).listen(7569);\n\n    TopCube({\n      url: 'http://localhost:7569',\n      name: 'My webapp',\n      width: 800,\n      height: 600\n    });\n\n","readmeFilename":"README.markdown"}