Botpress — The only sane way of building great bots
|📖 Documentation||🎓 Examples||🍿 YouTube Tutorials|
|🖥 Website||💬 Slack||📦 Modules||🚀 Blog|
⚠️ Make sure you join our Slack Community for help, announcements, gigs and fun!
Support the project ⭐
If you feel awesome and want to support us in a small way, please consider starring and/or sharing the repo! This helps us getting known and grow the community. 🙏
What is Botpress
Botpress is on a mission to make useful bots ubiquitous by powering developers with the best possible tools to build & manage chatbots. We believe that in order to create great bots, major time should be spent on UX, not on the surrounding (and generic) features.
Botpress is a free & open-source bot-building platform that ships with:
- Connectors to the major chat platforms
- Modular ecosystem with over 29 modules
- Flow-management system
- Graphical interface to edit and manage your bot in production
- Notification centre to see what's hapenning with your bot
- Data persistence to database
- Built-in API to integrate with external systems
Getting Started Quickly
The best way to get quickly get started using Botpress is to watch our video tutorials.
npm install -g botpress
Creating a bot
Creating a bot is simple, you need to run
botpress init in a terminal inside an empty directory:
botpress init my-bot
Once your bot is created, you need to run
botpress start to start your bot:
This will provide you locally a web interface available at
Adding stuff to your bot
At this point, your bot does nothing, you need to add features. There are two ways to add features:
- Installing modules
For example, there's a
botpress-messenger module that will make your bot connect to Facebook Messenger and easily send/receive messages.
You can install modules directly in the web interface, or by using the
botpress install command:
botpress install messenger
Once installed, modules expose two things:
- A graphical interface (available in the left panel). This makes configuration easy and convenient. You don't need to know about coding to use the graphical interface.
- Features via APIs. Each module has a detailed documentation on how to use their API.
Coding to add features
As the number of modules increase, we expect that the amount of code you'll need to write will lower everyday. Developers can add code directly in the bot (i.e.
index.js) and access the core and modules features. For example, if you wish to respond to a
GETTING_STARTED event on Facebook Messenger, you might code something along these lines:
To create a basic Hello Human bot in one minute, please read the Getting Started.
For learn all about Botpress, please read our full Documentation
This is a non-exclusive list of modules Botpress has. See the full list of modules.
Thanks you for your interest in Botpress. Here are some of the many ways to contribute.
- Check out our contributing guide
- Look at our code of conduct
- Engage with us on Social Media
- Answer and ask questions on the Slack community
- Donate to the project
- Write and edit the documentation
- Check misspelling in our docs.
For starters, there are some open issues with the for-new-contributors tag which are ideal for starting to contribute. They are all relatively easy to get started with.
If you would like to contribute any new feature or bug fix, please make sure that there is a GitHub issue first. If there is not, simply open one and assign it to yourself. If you are unsure on how to get started, ask us anything in the Slack or email us at info [AT] botpress.io.
Contributions to Botpress will be dual-licensed under AGPLv3 and the Botpress Proprietary License. This means that all contributors need to agree to the dual-license before their contributions can be accepted.
There's a Slack community where you are welcome to join us, ask any question and even help others.
Get an invite and join us now! 👉 https://slack.botpress.io
By default, any bot created with Botpress is licensed under AGPLv3, but you may change to the Botpress License from within your bot's web interface in a few clicks.
For more information about how the dual-license works and why it works that way please see the FAQS.
Emoji provided free by EmojiOne