This repo was archived since DeltaChat is no more than a mail client now. Some may still see use in using the app though - it still integrates autocrypt and some other nice features. But not usable as pure chat client any more, except you use a dedicated address for DeltaChat.
This repository collects nice scripts ("plugins") for the SimpleBot bot for DeltaChat.
DeltaChat is a nice e-mail based messenger that uses autocrypt. Even when you do not own your own mailserver, this ensures that all your messages get encrypted by GPG and ar fully under your control. Actually they are only encrypted if the other side also uses Autocrypt.
To use these scripts you need:
- DeltaChat binding for python
pip install deltachat - SimpleBot
pip install simplebot
Some plugins use python modules:
- bot-count:
pip install randfacts wikipedia
SimpleBot needs to be initialized with mail accounts. It uses IMAP and SMTP. I use an .env file to store my credentials like following:
#.env
ADDR="deltabot@example.com"
PASSWORD="SuPeR_SaFe_PaSsWoRd"
- Add the account(s)
cdinto the directory where you stored the .py plugin files. A plugin is identified by it's file name.- Add the plugin(s) to your account(s)
- Start the service and enjoy!
$ cd deltabot && ls deltabot
> myFancyPlugin.py
$ source .env
$ simplebot init "$ADDR" "$PASSWORD"
$ simplebot -a deltabot@example.com plugin -a myFancyPlugin.py
$ simplebot -a deltabot@example.com serve &>/dev/null &