Hacker News

hackernews screenshot

Displays stories from Hacker News.

Configuration

hackernews:
  enabled: true
  numberOfStories: 10
  position:
    top: 4
    left: 1
    height: 1
    width: 2
  storyType: top
  refreshInterval: 900
Name Description Value
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
numberOfStories Optional Defines number of stories to be displayed. Default: 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.
storyType Optional Defines type of stories to be displayed. Default: top. new, top, job, ask

Keyboard Controls

Key Action
/ Open/close the widget’s help window
[return] Open the selected story in the browser
c Open the selected story's comments in the browser
j Select the next item in the list
k Select the previous item in the list
o Open the selected story in the browser
r Refresh the data
Select the next item in the list
Select the previous item in the list

Source Code

wtf/modules/hackernews/