Skip to content

HackerNews

Displays stories from Hacker News.

Configuration

hackernews:
  enabled: true
  numberOfStories: 10
  position:
    top: 4
    left: 1
    height: 1
    width: 2
  storyType: top
  refreshInterval: 900

Screenshots

hackernews screenshot

Attributes

Name Value
numberOfStories
Optional Defines number of stories to be displayed. Default: 10.
Any positive integer.
storyType
Optional Defines type of stories to be displayed. Default: top.
new, top, job, ask

Keyboard

Keyboard

Key Action
/ Open/close the widget's help modal
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

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