Giter VIP home page Giter VIP logo

botui's Introduction

logo

Join the community on Spectrum npm npm Twitter Follow

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!

Heads Up! The upcoming version will have some major breaking changes. I suggest you use a specific version instead of using the latest tag.

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 the user perform an action
    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}!`
  })
})

๐Ÿ“ฆ Parcel users: Take a look at this

Contributors

This project exists thanks to all the people who contribute. [Contribute].

License

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

botui's People

Contributors

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

Watchers

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.