Gitter

Displays chat messages from Gitter.

Configuration


gitter:
  apiToken: "d23*******************************************3r2"
  enabled: true
  numberOfMessages: 10
  position:
    top: 4
    left: 1
    height: 1
    width: 4
  roomUri: wtfutil/Lobby
  refreshInterval: 300

Screenshots

gitter screenshot

Attributes

Name Description Value
apiToken Your Gitter API token. Your API key or leave it empty to use the environment variable.
border Optional Whether or not to draw this widget with a border. Default: true. true, false
enabled Optional Whether or not this module is executed and if its data displayed onscreen. Default: false. true, false
focusChar Optional Define one of the number keys as a short cut key to access the widget. 0..9
numberOfMessages Optional Maximum number of (newest) messages to be displayed. Default is 10. Any positive integer
position Defines where in the grid this module's widget will be displayed.
refreshInterval Optional How often, in seconds, this module will update its data. Default: 300. Any positive integer
roomURI Optional URI of the room you would like to see the chat messages from. Default is wtfutil/Lobby

Keyboard Controls

Key Action
`/` Open/close the widget's help modal
`j` Select the next item in the list
`k` Select the previous item in the list
`r` Refresh the data
`↓` Select the next item in the list
`↑` Select the previous item in the list

Source Code

https://github.com/wtfutil/wtf/tree/master/modules/gitter/