Git Product home page Git Product logo

sampleapps's Introduction

OpenT2T

Cross-platform core libraries for Open Translators to Things written in TypeScript

Compiling the .ts to .js

npm run build

Running unit tests

npm run test

Running the linter

npm run lint

Preparing the package for publishing

  1. Update version number in package.json; Send a PR out for approval/FYI

  2. Follow steps to have the changes merged to Master

  3. cd to the node folder and run the following (assuming you have added our publish user account via npm adduser - contact the opent2t team if you are at this point and don't have access to this information)

  4. npm publish

Refer to the wiki for documentation.

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

sampleapps's People

Contributors

arjun-msft avatar tjaffri avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

sampleapps's Issues

Update sampleapps/messenger-platform to use opent2t library

Currently the sampleapps/messenger-platform/ sample does some ugly code here to find a translator by hard coded path then call methods directly on it.

Instead, we need to use the opent2t library and do this correctly, similar to how the cloud sample does it here.

We also should not have to download the entire git repo as we do in git.js and towards the end of app.js. All that should be cleaned up to use the official methods in the opent2t library.

Update sampleapps/botframework to use opent2t library

Currently the sampleapps/botframework/ sample is just parsing commands and not actually invoking any translator. We need to add code approximately here to use the opent2t library, similar to how the cloud sample does it here.

We also should not have to download the entire git repo as we do in git.js and towards the end of app.js. All that should be cleaned up to use the official methods in the opent2t library.

Create sample alexa skill that uses opent2t

sampleapps/alexa/ starts an alexa sample, specifically the speech assets.

It should be really simple to create a skill that implements "Alexa, turn on the lights" via opent2t. See the sampleapps/messenger-platform/ sample for motivation.

Also, note you can just use echosim.io to develop/test this sample. You don't really need a real echo.

Device Enumeration or Discovering devices

Is there any way I can discover devices(which may be different manufacturer)? Best case scenario I give a router/hub address to openT2T and it tells me that there are 5 connected devices. 2 of them are from manufacturer X(among them one a light, another is micro oven) and 3 are from Y.

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.