Skip to content
This repository has been archived by the owner. It is now read-only.

webduinoio/webduino-blockly

gh-pages
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
css
Nov 30, 2017
Nov 30, 2017
Jul 15, 2015
Jul 15, 2015
Nov 30, 2017
Nov 17, 2017
Nov 17, 2017

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.

Prerequisite

Installation

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

Run

npm run start

Navigate to http://127.0.0.1:8080 and start hacking!

Generated-Code Usage

You can use the code which generated by Webduino Blockly in your own application

Our APIs support both browser and Node.js, here's how you use it:

In 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>

In Node.js

Require the module first by:

require('webduino-blockly');

// ... The code generated by Webduino Blockly.

License

Webduino-Blockly is released under the MIT License.

Please read LICENSE for more information.