mirror of
https://github.com/nikdoof/dropbot.git
synced 2025-12-16 19:33:06 +00:00
cd44f66a276a22bc8eb81f2329494201aa60e81f
dropbot
A XMPP bot to provide simple services to NOG8S and Predditors in general
License
This repository is licensed under the MIT license.
Requirements
Python requirements are covered in requirements.txt, in addition a working Redis server is needed to enable API caching from the EVE Online API server. Redis is not essential to the operation of Dropbot but without caching you may get into hot water with CCP.
Setup
Dropbot is designed to run on Heroku, but can be ran locally using python dropbot\cli.py -c env
Docker
Dropbot can be run on Docker using the image robhaswell/docker:
docker run -ti -e DROPBOT_JID='user@server' -e DROPBOT_PASSWORD='password' -e DROPBOT_ROOMS='room@server' robhaswell/dropbot
Configuration
The configuration is passed by using environment variables.
DROPBOT_JID- JID of the bot accountDROPBOT_PASSWORD- Password of the accountDROPBOT_NICKNAME- MUC nickname (defaults to Dropbot)DROPBOT_ROOMS- List of MUC rooms to join, seperated by commasDROPBOT_REDIS_URL- 12 factor style URL of the Redis server to use (defaults to redis://localhost:6379/0)DROPBOT_CMD_PREFIX- Prefix of MUC channel commands (defaults to !)DROPBOT_KOS_URL- URL of the CVA KOS API service (defaults to http://kos.cva-eve.org/api/)
Languages
Python
98.4%
Shell
1.1%
Dockerfile
0.4%