adrianliaw / meteor-blockly

Google Blockly In Meteor
4 stars 1 forks source link

Google Blockly In Meteor

meteor add blockly:blockly

This is a set of Meteor packages which wraps Google Blockly.

Usage

blockly:blockly is the main and core package, it includes the blockly core. But only blockly "itself", without common blocks, code generators, etc.
You can use core blocks by adding blockly:blocks, which includes commonly used blocks such as repeat n do ..., if ... do ....
By adding blockly:javascript, you'll be able to use the JavaScript code generator, which can turn your workspace into actual JavaScript code. Same for Python, Dart and PHP.

Documentation

See Blockly Project Page

Developing

  1. Clone the repo, make sure to use --recursive git clone --recursive https://github.com/adrianliaw/meteor-blockly
  2. Link the package to your local testing meteor app ln -s {/path/to/this}/blockly {/path/to/testing/app}/packages/blockly:blockly

Roadmap

I hope this package can take advantage of Blaze, wrap the original API, create reusable Blaze templates.