Git Product home page Git Product logo

extension-chrome-windows's Introduction

#First Discovery Chrome Extension (for Windows) #Includes sample host

###What is this and what's inside? See above.

###What does it do? It is a skeleton that passes messages being passed between a simple Bluemix- hosted webpage (not included in this repo), a Chrome extension and a locally running host (currently implemented in python).

The message originating in the web app gets passed to the extension. The extension then passes that message as a native message to the native host. The native host and extension can pass messages between themselves in both directions.

###How do I install it? The installation for the extension is very straightforward. Simply turn on developer tools in chrome://extensions and load the unpacked app.

The host, on the other hand, is a different story.

HEADS UP:

There are hardcoded paths in

  • com.ibm.firstdiscovery.json
  • install-host.bat

If your username is IBM_ADMIN, you have a folder C:\Users\IBM_ADMIN\projects and the project is installed in C:\Users\IBM_ADMIN\projects\extenstion-chrome-windows you should be fine. Otherwise, change the paths accordingly

###Additional Notes:

  • A webpage can't listen for messages, but it can be sent responses. This is good enough for our use case.
  • Windows/OS X/Linux have different installation methods

###The Future:

  • Swap simple webpage in favor of the FDT
  • Integrate with GPII components:
    • USB Listener
    • Preferences Server
    • Security Server

extension-chrome-windows's People

Watchers

 avatar James Cloos 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.