GithubHelp home page GithubHelp logo

bhanditz / botui Goto Github PK

View Code? Open in Web Editor NEW

This project forked from opencollective/botui

0.0 2.0 0.0 145 KB

๐Ÿค– A JavaScript framework to create conversational UIs

Home Page: https://botui.org

License: MIT License

JavaScript 71.41% HTML 17.24% CSS 11.35%

botui's Introduction

logo

Join the chat at https://gitter.im/BotUIChat/botui npm npm newsletter

A JavaScript framework to create conversational UIs.

Main Site - Read Docs - Examples

Showcase ๐ŸŽ‡โœจ

We are listing all the cool projects that people are building with BotUI, here. See others' and add yours!

Quick look

preview

<div class="botui-app-container" id="botui-app">
  <bot-ui></bot-ui>
</div>
var botui = new BotUI('botui-app') // id of container

botui.message.bot({ // show first message
  delay: 200,
  content: 'hello'
}).then(() => {
  return botui.message.bot({ // second one
    delay: 1000, // wait 1 sec.
    content: 'how are you?'
  })
}).then(() => {
  return botui.action.button({ // let user do something
    delay: 1000,
    action: [
      {
        text: 'Good',
        value: 'good'
      },
      {
        text: 'Really Good',
        value: 'really_good'
      }
    ]
  })
}).then(res => {
  return botui.message.bot({
    delay: 1000,
    content: `You are feeling ${res.text}!`
  })
})

License

MIT License - Copyrights (c) 2017-18 - Moin Uddin

botui's People

Contributors

moinism avatar lleohao avatar serhankilicarslan avatar allanlasser avatar esaborit4code avatar tacoyaky avatar moinedgylabs avatar commandfox avatar naimikan avatar haochuan avatar keironstoddart avatar niagara18 avatar semmel avatar gitter-badger avatar

Watchers

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