A desktop notifier for events on the firehose

Clone this repo:

Branches

  1. 383b026 Fix pep8 issue by Fabien Boucher · 6 years ago master
  2. 102b715 tox: use py34 instead of py35 by Tristan Cacqueray · 7 years ago
  3. 5d6a6b0 Fix silly errors at init by mhuin · 7 years ago
  4. e2a7bd6 SF Desktop Notifier - First commit by mhuin · 7 years ago
  5. 89d9452 ManageSF commit by admin · 7 years ago

Software Factory Firehose desktop notifications

This script can be used within a GTK desktop environment to display notifications whenever specific messages appear on the firehose.

Dependencies

The following libraries are needed:

  • paho-mqtt
  • pyyaml
  • pyGTK

The embedded icons come from https://prothemedesign.com/tools/circular-icons/ (released under the GPL).

Usage

From a virtualenv:

python sf_desktop_notifications.py -c /path/to/config.yaml

If installed:

SFDesktopNotifications -c /path/to/config.yaml

Configuration file

host and port refer to the Firehose host and port to connect to.

Filters

Basic filtering can be set in the config file:

filters:
  filter_name:
    topic: firehose_topic
    key_from_the_message: regexp_value
    icon: heart_red

Possible icon values:

  • cog
  • yes
  • no
  • heart_green
  • heart_red