mirror of
https://github.com/nikdoof/dropbot.git
synced 2025-12-19 04:39:26 +00:00
0a85aa56181e19fa7c170fa2859942a069d08f92
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/)DROPBOT_KILL_CORPS- List of Corp IDs to track for killsDROPBOT_KILLS_DISABLED- Disables the streaming of zKillboard kills to the channels (default to 0)DROPBOT_OFFICE_API_KEYID- API KeyID to use for the nearest office finder.DROPBOT_OFFICE_API_VCODE- API vCode to use for the nearest office finder.
Languages
Python
98.4%
Shell
1.1%
Dockerfile
0.4%