Coder Social home page Coder Social logo

webofthings / wot-a-mashup Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lnaef/clickscript

9.0 7.0 2.0 13.14 MB

A mashup tool for quick Web of Things prototypes with the EVRYTHNG API.

Home Page: https://dashboard.evrythng.com

License: GNU General Public License v3.0

JavaScript 93.43% CSS 6.57%

wot-a-mashup's Introduction

#WoT-a-Mashup!

A Physical Mashup Tool with EVRYTHNG support!

WoT-a-Mashup is a mashup tool for the Internet of Things and the Web of Things. It was the first tool of this kind and is built around the idea of Physical Mashups.

It is based on the great ClickScript Javascript mashup tool, and integrates direct support for the EVRYTHNG Web of Things API into Clickscript as a showcase of how EVRYTHNG makes it easy build Web of Things apps.

The forks adds:

  • 2 EVYTHNG modules, one for reading Thng properties, one for updating them.
  • A Node.js proxy to circumvent the Javascript cross-domain restrictions.

Useful if:

  • You have real-world objects (e.g., a temperature sensor, a connected product) connected to EVRYTHNG and want to involve them in crazy mashups/applications within seconds!

Install

Prerequisites

Cloning the repository

git clone [email protected]:webofthings/ClickScript.git

Setting up the Node.js proxy

cd proxy
sudo npm install

Configure your EVRYTHNG API key

In

cs/system/ConfigController.js

add your EVRYTHNG API key and the id of the Thng you want to include in your mashups:

evrythng : {key : "YOUR-KEY", thng : "YOUR-THNG-ID", proxyUrl : "http://localhost:8001"}

Get started

cd proxy
node proxy.js

Browse to:

http://localhost:8001/wot-a-mashup.html 

Writing your own module

You can create you own mashup modules (little boxes) by

The two EVRYTHNG modules are the last ones on the Clickscript IDE module bar! Enjoy!

wot-a-mashup's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.