| 1 |
Errbot |
| 2 |
====== |
| 3 |
|
| 4 |
*Errbot is a chatbot, a daemon that connects to your favorite chat service and brings |
| 5 |
your tools into the conversation.* |
| 6 |
|
| 7 |
The goal of the project is to make it easy for you to write your own plugins so you |
| 8 |
can make it do whatever you want: a deployment, retrieving some information online, |
| 9 |
trigger a tool via an API, troll a co-worker,... |
| 10 |
|
| 11 |
Errbot is being used in a lot of different contexts: chatops (tools for devops), chatroom engagement, |
| 12 |
home security, socials platform (such as Slack, Discord, IRC), etc. |
| 13 |
|
| 14 |
Screenshots |
| 15 |
----------- |
| 16 |
|
| 17 |
.. image:: _static/screenshots/thumb_slack.png |
| 18 |
:target: _static/screenshots/slack.png |
| 19 |
:alt: Showing output of the built-in help command in Slack |
| 20 |
|
| 21 |
.. image:: _static/screenshots/thumb_telegram.png |
| 22 |
:target: _static/screenshots/telegram.png |
| 23 |
:alt: Errbot running on Telegram showing the !help command |
| 24 |
|
| 25 |
Simple to build upon |
| 26 |
-------------------- |
| 27 |
|
| 28 |
Extending Errbot and adding your own commands can be done by creating a plugin, which |
| 29 |
is simply a class derived from :class:`~errbot.botplugin.BotPlugin`. |
| 30 |
The docstrings will be automatically reused by the :ref:`\!help <builtin_help_function>` |
| 31 |
command:: |
| 32 |
|
| 33 |
from errbot import BotPlugin, botcmd |
| 34 |
|
| 35 |
class HelloWorld(BotPlugin): |
| 36 |
"""Example 'Hello, world!' plugin for Errbot.""" |
| 37 |
|
| 38 |
@botcmd |
| 39 |
def hello(self, msg, args): |
| 40 |
"""Say hello to the world.""" |
| 41 |
return "Hello, world!" |
| 42 |
|
| 43 |
Once you said "!hello" in your chatroom, the bot will answer "Hello, world!". |
| 44 |
|
| 45 |
Batteries included |
| 46 |
------------------ |
| 47 |
|
| 48 |
We aim to give you all the tools you need to build a customized bot safely, without |
| 49 |
having to worry about basic functionality. As such, Errbot comes with a wealth of |
| 50 |
features out of the box. |
| 51 |
|
| 52 |
.. toctree:: |
| 53 |
:maxdepth: 2 |
| 54 |
|
| 55 |
features |
| 56 |
|
| 57 |
|
| 58 |
Sharing |
| 59 |
------- |
| 60 |
|
| 61 |
One of the main goals of Errbot is to make it easy to share your plugin with others as well. |
| 62 |
|
| 63 |
Errbot features a built-in *repositories command* (`!repos`) which can be used to |
| 64 |
install, uninstall and update plugins made available by the community. Making your |
| 65 |
plugin available through this command only requires you to publish it as a publicly |
| 66 |
available Git repository. |
| 67 |
|
| 68 |
You may also discover plugins from the community on our `plugin list`_ that we update from plugins found on github. |
| 69 |
|
| 70 |
|
| 71 |
Community |
| 72 |
--------- |
| 73 |
|
| 74 |
You can interact directly with the community online from the "Open Chat" |
| 75 |
button at the bottom of this page. Don't be shy and feel free to ask any question |
| 76 |
there, we are more than happy to help you. |
| 77 |
|
| 78 |
If you think you hit a bug or the documentation is not clear enough, |
| 79 |
you can `open an issue`_ or even better, open a pull request. |
| 80 |
|
| 81 |
|
| 82 |
User guide |
| 83 |
---------- |
| 84 |
|
| 85 |
.. toctree:: |
| 86 |
:maxdepth: 2 |
| 87 |
|
| 88 |
user_guide/setup |
| 89 |
user_guide/administration |
| 90 |
user_guide/plugin_development/index |
| 91 |
user_guide/flow_development/index |
| 92 |
user_guide/backend_development/index |
| 93 |
user_guide/storage_development/index |
| 94 |
user_guide/sentry |
| 95 |
|
| 96 |
|
| 97 |
Getting involved |
| 98 |
---------------- |
| 99 |
|
| 100 |
.. toctree:: |
| 101 |
:maxdepth: 3 |
| 102 |
|
| 103 |
contributing |
| 104 |
|
| 105 |
|
| 106 |
API documentation |
| 107 |
----------------- |
| 108 |
|
| 109 |
.. toctree:: |
| 110 |
:maxdepth: 3 |
| 111 |
|
| 112 |
errbot |
| 113 |
|
| 114 |
|
| 115 |
Release history |
| 116 |
--------------- |
| 117 |
|
| 118 |
.. toctree:: |
| 119 |
:maxdepth: 2 |
| 120 |
|
| 121 |
changes |
| 122 |
|
| 123 |
|
| 124 |
License |
| 125 |
------- |
| 126 |
|
| 127 |
Errbot is free software, available under the GPL-3 license. Please refer to the |
| 128 |
:download:`full license text <gpl-3.0.txt>` for more details. |
| 129 |
|
| 130 |
.. _`GitHub page`: http://github.com/errbotio/errbot/ |
| 131 |
.. _`plugin list`: https://github.com/errbotio/errbot/wiki |
| 132 |
.. _`open an issue`: https://github.com/errbotio/errbot/issues |