🌜
🌞
botui

botui

v0.3.9

A JS library to build the UI for your bot

npm install botui

README

logo

Join the community on Spectrum 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}!`
  })
})

Contributors

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

Backers

Thank you to all our backers! 🙏 [Become a backer]

backer

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]

sponsor sponsor sponsor sponsor sponsor sponsor sponsor sponsor sponsor sponsor

License

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

Release Notes

0.3.6
By Moin Uddin • Published on November 21, 2018

With some fixes.

0.3.5
By Moin Uddin • Published on October 25, 2018

It publishes select and other additions to npm.

General

License
MIT
Typescript Types
Built-in
Tree-shakeable
No

Popularity

GitHub Stargazers
2,668
Community Interest
3,034
Number of Forks
393

Maintenance

Commits
11/2110/2201
Last Commit
Jul 2, 2020
Open Issues
65
Closed Issues
64
Open Pull Requests
6
Closed Pull Requests
5

Versions

Versions Released
11/2110/2201
Latest Version Released
May 21, 2019
Current Tags
latest0.3.9

Contributors

moinism
moinism
Commits: 51
lleohao
lleohao
Commits: 6
allanlasser
allanlasser
Commits: 4
serhankilicarslan
serhankilicarslan
Commits: 4
esaborit4code
esaborit4code
Commits: 3
moinedgylabs
moinedgylabs
Commits: 2
tacoyaky
tacoyaky
Commits: 2
monkeywithacupcake
monkeywithacupcake
Commits: 2
CommandFox
CommandFox
Commits: 1
keironstoddart
keironstoddart
Commits: 1
BeckmannM
BeckmannM
Commits: 1
semmel
semmel
Commits: 1
niagara18
niagara18
Commits: 1
fconrotte
fconrotte
Commits: 1
gitter-badger
gitter-badger
Commits: 1