What is my purpose?
Project description
Butter Robot
Python framework to create bots for several platforms.
What is my purpose?
Supported platforms
Name | Receive messages | Send messages |
---|---|---|
Slack (app) | Yes | Yes |
Slack (webhook) | Planned | No[^1] |
Telegram | Yes | Yes |
[^1]: Slack webhooks only supports answering to incoming event, not sending messages on demand.
Provided plugins
Butter robot
- Help
- Usage
- Changelog
Development
- Ping
Fun and entertainment
- Dice roll
- Loquito
Installation
PyPi
You can run it directly by installing the package and calling it
with python
though this is not recommended and only intended for
development purposes.
$ pip install --user butterrobot
$ python -m butterrobot
Containers
The fmartingr/butterrobot
container image is published on quay.io to
use with your favourite tool:
podman run -d --name butterrobot -p 8080:8080 quay.io/fmartingr/butterrobot
Contributing
To run the project locally you will need poetry.
git clone git@github.com:fmartingr/butterrobot.git
cd butterrobot
poetry install
Create a .env-local
file with the required environment variables,
you have an example file.
SLACK_TOKEN=xxx
TELEGRAM_TOKEN=xxx
...
And then you can run it directly with poetry
TODO: Autoload .env-local
docker run -it --rm --env-file .env-local -p 5000:5000 -v $PWD/butterrobot:/etc/app/butterrobot local/butterrobot python -m butterrobot
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
Built Distribution
Hashes for butterrobot-0.0.2a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13af600863a716867240491705d04968da56f1d646303edb31c5537e662c18aa |
|
MD5 | cbb17a7fd75d2967efbad2044c34e24b |
|
BLAKE2b-256 | d48cf9189194910d808e416c53a6076eacceb0da1b9662957cc43260ec9d4bae |