Skip to content
This repository has been archived by the owner on Nov 22, 2021. It is now read-only.

📦 The Visual Programming Editor for Webduino

License

Notifications You must be signed in to change notification settings

webduinoio/webduino-blockly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.