Code Monkey home page Code Monkey logo

webby's Introduction

Webby

Build Status Dependency Status Commitizen friendly

Install

Webby is now available as a Firefox new tab extension. Install here

Note the protoype is not stable yet, the syntax will changing and cause cached data obsolete. When you met issue, please run config > config addons and tap RESET TO DEFAULT VERBS to reset cached data to default values.

Why webby

The Prototype is able to:

  • Open installed app in new tab
  • (Widget) Open app inside of dialog (try type trmusic, weather)
  • Search through default search provider
  • Search through different search provider
  • User is able to add/delete app/widget in config > addons
  • provide instant suggestion through default and target search providers
  • navigation with keyboard

Refer Test Cases to figure out the usage.

Plan to do

  • Pin app as a Widget in dialog
  • Can custom bot's personality

Webby Interaction

Type commands and get results, no bullshit.

  • Search, Open are the default verbs, we don't need to type them manually.
  • Search providers are exposed as default verbs. (ex: user could use wikipedia <keyword>/w <keyword> to search wikipedia directly)

Elements: order box, deacon box (order tags, instant search tags, suggestions), chat history

order-tag-suggestion interface

User is able to found what she needs quickly through keyboard and tags:

  • key in on input field to get instant results from several resources ** the tag field will show correspondent order tags and instant suggestion tags ** the suggestion field will show available actions
  • Tap order tag will further scoping the selections
  • key in to filter order tags, use space to match certain verb + noun pattern

Chat activity

Webby interact with you with chat-like interface. Just like any other instant messengers, all previous dialog are listed as an activity stream.

Rules

  1. respect existing browser searchbar and instant messenger's interactions, so user has pretty small barrier to use Webby.

  2. always use verb + noun format to execute new commands

Moonbar maintain a defined order(verbs) set on device. noun generally denotes the search term.

  1. show all available order tags when no user input

  2. while user typing, they can tap tag to further scoping the suggestions

  3. Extensions are just normal URLs. User could choose to open it in new window or embed it in the dialog.

Willing to Contribute?

File a issue to discuss a possible new verb and its usage.

If you are a programmer, clone the project, send a Pull Request to fix the issue you encountered when you use webby.

Webby use Commitizen to help us write better commit message. When you want commit changes into project, use git cz instead of git commit.

Make sure you have installed the Commitizen cli tools via command:

npm install commitizen -g

Testing

Install dependencies

npm install
npm install -g karma-cli

Run

npm test

Credit

Webby is forked from Moonbar. The enhanced searchbar with order-tag-suggestion interface.

license

Mozilla Public License, version 2.0 https://www.mozilla.org/en-US/MPL/2.0/

webby's People

Contributors

gasolin avatar shinglyu avatar youwenliang avatar

Watchers

 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.