An open source ChatOps bot framework.
Project description
An open source chat-ops bot framework
ChatOps • Why use opsdroid? • Quick Start • Installation Guide • Usage • Contributing • Backers • Sponsers
An open source chat bot framework written in Python. It is designed to be extendable, scalable and simple.
This application is designed to take messages from chat services and execute Python functions (skills) based on their contents. Those functions can be anything you like, from simple conversational responses to running complex tasks. The true power of this project is to act as a glue library to bring the multitude of natural language APIs, chat services and third party APIs together.
Help support opsdroid in one click by pressing
ChatOps
"ChatOps is an operational paradigm where work that is already happening in the background today is brought into a common chatroom. By doing this, you are unifying the communication about what work should get done with actual history of the work being done." - StackStorm
In this new frontier of DevOps, it is becoming more and more popular to interact with your automation tools via an instant messenger. Opsdroid is a framework to make creating and extending your ChatOps workflows powerful but simple.
Why use opsdroid?
- It's open source
- Simple to modify and extend
- Add your own skills in under 10 lines of Python
- Easy to install
- Designed with Docker in mind for simple deployment
- Configurable with a single YAML file
- Can connect to multiple chat services simultaneously
- No coding necessary if using the official modules
Quick start
$ pip3 install opsdroid
$ opsdroid
Installation Guide
Check out the Getting Started video series on YouTube. The video series demonstrates how to install and configure opsdroid and opsdroid desktop on Ubuntu 16.04. It also demonstrates how to create your own skill in opsdroid
Docker Image
# Pull the container image
$ docker pull opsdroid/opsdroid:latest
# Run the container
$ docker run --rm -it -v /path/to/config_folder:/root/.config/opsdroid opsdroid/opsdroid:latest
Docker Service
# Create the opsdroid config file
$ docker config create OpsdroidConfig /path/to/configuration.yaml
# Create the service
$ docker service create --name opsdroid --config source=OpsdroidConfig,target=/root/.config/opsdroid/configuration.yaml --mount 'type=volume,src=OpsdroidData,dst=/root/.config/opsdroid' opsdroid/opsdroid:latest
Ubuntu 16.04 LTS
# Update apt-get
$ sudo apt-get update
# Install pip for Python 3 and locales
$ sudo apt-get install python3-pip language-pack-en git
# Ensure pip is up-to-date
$ pip3 install --upgrade pip
# Install opsdroid
$ sudo pip3 install opsdroid
# Run opsdroid
$ opsdroid
Usage
When running the opsdroid
command with no arguments the bot framework will start using the configuration in ~/.opsdroid/configuration.yaml
. Beginners should check out the introduction tutorial for information on how to configure opsdroid.
For information on arguments that you can pass to opsdroid run opsdroid --help
.
$ opsdroid --help
Usage: opsdroid [OPTIONS]
Opsdroid is a chat bot framework written in Python.
It is designed to be extendable, scalable and simple. See
https://opsdroid.github.io/ for more information.
Options:
--gen-config Print an example config and exit.
-v, --version Print the version and exit.
-e, --edit-config Edit configuration.yaml
-l, --view-log Open opsdroid logs
--help Show this message and exit.
Contributing
Contributing to the opsdroid ecosystem is strongly encouraged and every little bit counts! We even send sticker packs to our contributors to say thank you! There are so many ways to contribute to opsdroid:
- Write code to solve issues in the opsdroid core repository
- Improve the documentation to help others get started
- Write skills, connectors or database modules
- Contribute to the opsdroid home page (it’s a Jekyll website)
- Post about your experience using opsdroid on your own blog
- Contribute to opsdroid audio (Python voice client for opsdroid)
- Submit lots of useful issues (5–10 good ones is probably sticker worthy)
- Create logo variations and banners for promotion
- Contribute to opsdroid desktop (electron and react app)
- Promote opsdroid in a meaningful way
To get started see the contribution guide.
Do you need help? Do you want to chat? Join our Gitter channel
* databases are optional, however bot memory will not persist between different connectors or system reboots without one
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]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file opsdroid-0.15.4.tar.gz
.
File metadata
- Download URL: opsdroid-0.15.4.tar.gz
- Upload date:
- Size: 89.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.5.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c3b85d8fc1527b27446adb8908cb0a3361ec1a9c7a9f3f0d307db86516b392e |
|
MD5 | d00f107c9809c4c1f2f023ea52a31f0a |
|
BLAKE2b-256 | 1474134d29b95dbd32ae3cab1b12b830bec677f5e5c5c4f4da7e43bab596d9cf |