Hacker News

Description #

The Hacker News widget displays the top stories from Hacker News with automatic rotation. It uses the Algolia API to fetch the latest stories and updates at a configurable interval. Each story shows its title, points, and a link to the original post.

Interactions #

  • Click to open the current story in your browser.
  • Stories rotate automatically based on the rotation interval.
  • Click on the arrow button to open a list of the latest 20 stories.
  • Right‑click to refresh immediately.

Available settings #

  • Show icon: Show or hide the Hacker News icon. Default is true.
  • Show points: Display story points/score. Default is true.
  • Max title length: Maximum characters for story titles. Default is 50.
  • Refresh interval: Refresh cadence in seconds. Default is 300.
  • Rotation interval: Story rotation cadence in seconds. Default is 10.
Something is wrong in this documentation? Please open an issue on GitHub in a-bar repo.
Toggle documentation menu