Coder Social home page Coder Social logo

lucy's Introduction

How to get started

  1. Clone the repository
  1. In Google Chrome, open up your extensions page located at chrome://extensions
  2. Enable Developer Mode
  3. Click "Load Unpacked Extension" and select Lucy as the directory
  4. If this is your first time using Lucy, we have to do a little hack to enable Lucy to get access to your microphone
  • First, right click Lucy's extension icon and click "Options". You can also get to this page by clicking "Options" on the extension page
  • You should see Lucy request access to your microphone. Give her access!
  1. Open a new page (say Google) and click on Lucy's extension icon located on the right side of the navigation bar
  2. Say "Lucy" and wait for a ding
  3. You're good to go! Give it commands like "search for HackPrinceton", "go to CNN", "scroll down", or even "click the link about the Final Four". Quick note—if you don't say anything for more than 10 seconds, Lucy will go to sleep because she doesn't want to eavesdrop on you and you'll hear a little swooping sound. Say "Lucy" again to wake her up for more commands.

We don't have a great way of shutting Lucy completely off right now (she gets attached easily). The easiest way is to go to chrome://extensions and click "view background page" under Lucy. Refresh the console window that pops up to turn her off. This is also a good way to reset Lucy if you're having any difficulty.

Commands

Right now Lucy supports the following actions:

  • Scrolling (scroll up, scroll down, stop)
  • New tab
  • Close tab
  • Go back
  • Go forward
  • Click link
  • Navigate to a link
  • Look up

Lucy is trained using api.ai, so she can process commands in natural language. Try out different commands and let us know which ones work (and don't work)! We'll be adding support for other commands and refining the existing ones in the future.

Debugging

If you're having trouble getting Lucy set up, click on "background page" underneath Lucy in chrome://extensions. Send us an email at [email protected] with your logs if you're having trouble and we'll try to get you set up!

For more info, visit our Devpost page.

lucy's People

Contributors

andrewng avatar

Stargazers

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