1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00
wtf/_site/content/modules/gitter.md
2018-08-15 13:25:29 -07:00

1.9 KiB

title, date, draft, weight
title date draft weight
Gitter 2018-08-02T12:36:08-04:00 false 110

Added in v0.2.1.

Displays chat messages from Gitter.

gitter screenshot

Source Code

wtf/gitter/

Keyboard Commands

Key: j
Action: Select the next message in the list.

Key: k
Action: Select the previous message in the list.

Key: r
Action: Refresh the data.

Key:
Action: Select the next message in the list.

Key:
Action: Select the previous message in the list.

Configuration

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

Attributes

apiToken
Value: Your GitterPersonal Access Token.

enabled
Determines whether or not this module is executed and if its data displayed onscreen.
Values: true, false.

numberOfMessages
Optional
Maximum number of (newest) messages to be displayed. Default is 10

position
Defines where in the grid this module's widget will be displayed.

roomUri
Optional <br / URI of the room you would like to see the chat messages from. Default is wtfutil/Lobby
Values: new, top, job, ask

refreshInterval
How often, in seconds, this module will update its data.
Values: A positive integer, 0..n.