webduino-blockly

0.0.12 • Public • Published

Webduino-Blockly

The Visual Programming Editor for Webduino.

Google's Blockly is a web-based, visual programming editor. Users can drag blocks together to build programs.

Installation

First, make sure bower has been installed.

$ git clone https://github.com/webduinoio/webduino-blockly.git
$ cd webduino-blockly
$ bower install

Now, webduino-blockly has been successfully installed. Open your browser point it to index.html.

Generated-Code Usage

Browser

<!DOCTYPE html>
<html>
<head>
  <title>Webduino</title>
</head>
<body>
  <script src="//webduino.io/components/webduino-js/dist/webduino-all.min.js"></script> 
  <script src="webduino-blockly.js"></script> 
  <script>
    // Paste the code generated by Blockly here.
  </script> 
</body>
</html>

Node.js

Require the module first by:

require('webduino-blockly');

Then paste-in the code generated by Blockly.

License

Webduino-Blockly is released under the MIT License.

Please read LICENSE for more information.

Package Sidebar

Install

npm i webduino-blockly

Homepage

webduino.io

Weekly Downloads

0

Version

0.0.12

License

MIT

Unpacked Size

300 kB

Total Files

74

Last publish

Collaborators

  • oxxo.studio
  • webduino-io
  • shengyuan
  • mingzeke