Skip to content

hackernews_top

Hacker News front-page listings — top / new / best / ask / show / job. Each row shows score, comment count, and title, linked to the story URL (or the HN comment page when there isn't one).

KindSafetyShapes
cachedSafelinked_text_block, text_block, entries
OptionTypeRequiredDefaultDescription
countinteger (1..=30)no10Number of stories to display.
kind"top" | "new" | "best" | "ask" | "show" | "job"no"top"Which Hacker News listing to query.
ShapeRenderers
linked_text_blocklist_links
text_blockanimated_boot, animated_postfx, animated_scanlines, animated_splitflap, animated_wave, list_plain
entriesanimated_boot, animated_postfx, animated_scanlines, animated_splitflap, animated_wave, grid_table
234pt 56c  Show HN: I built a thing     
187pt 41c  Why X over Y                 
152pt 88c  Ask HN: how do you ...       
                                        
                                        
[[widget]]
id = "hackernews_top"
fetcher = "hackernews_top"
render = "list_links"
234pt 56c  Show HN: I built a thing     
187pt 41c  Why X over Y                 
152pt 88c  Ask HN: how do you ...       
                                        
[[widget]]
id = "hackernews_top"
fetcher = "hackernews_top"
render = "list_plain"
Show HN: I built a thing       234pt 56c
Why X over Y                   187pt 41c
Ask HN: how do you ...         152pt 88c
                                        
                                        
[[widget]]
id = "hackernews_top"
fetcher = "hackernews_top"
render = "grid_table"