Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

badarch47/botui

Repository files navigation

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

Backers

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

Sponsors

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

License

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

About

🤖 A JavaScript framework to create conversational UIs

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

Contributors

Languages

  • JavaScript 71.3%
  • HTML 17.4%
  • CSS 11.3%

AltStyle によって変換されたページ (->オリジナル) /