digitalbazaar/bedrock-topcube

Name: bedrock-topcube

Owner: Digital Bazaar, Inc.

Description: Bedrock topcube-based GUI

Created: 2015-01-16 19:02:44.0

Updated: 2015-04-08 20:44:38.0

Pushed: 2015-04-08 20:44:36.0

Homepage: null

Size: 216

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

bedrock-topcube

A bedrock module that provides a native window for a bedrock Web application. It uses topcube to provide a GTK-based window with an embedded WebKit browser to display the application UI.

Please see topcube for installation instructions regarding any native library dependencies.

Quick Examples
install bedrock-topcube

Create a simple bedrock Web application with a native application window:

bedrock = require('bedrock');

ire('bedrock-server');
ire('bedrock-topcube');
ire('bedrock-express');

efault configuration
ig.topcube.name = 'Bedrock';
ig.topcube.width = 1024;
ig.topcube.height = 768;

ock.events.on('bedrock-express.configure.routes', function(app) {
p.get('/', function(req, res) {
res.send('Hello World!');
;


ock.start();
Configuration

For more documentation on configuration, see config.js.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.