Back to APIs list

Hacker News API examples & templates

Use these vals as a playground to view and fork Hacker News API examples and templates on Val Town. Run any example below or find templates that can be used as a pre-built solution.
janpaul123 avatar
janpaul123
valle_tmp_62963168422172378076257133989442
HTTP
An interactive, runnable TypeScript val by janpaul123
0
cw12 avatar
cw12
hnResume
Cron
Forked from cocodrilette/hnResume
0
janpaul123 avatar
janpaul123
valle_tmp_583694900399154559282687336321139
HTTP
* This val will create a simple Hacker News clone with hardcoded example stories. * We'll use basic HTML for the layout and styling.
0
janpaul123 avatar
janpaul123
valle_tmp_821221338019192827080648147114728
HTTP
// This HTTP val will generate an HTML frontend for a simple Hacker News clone.
0
maxm avatar
maxm
hn
HTTP
// This approach injects a notification indicator with a counter into the top toolbar
0
janpaul123 avatar
janpaul123
valle_tmp_115772121902645334646172151872623
HTTP
* This val creates a simple hacker news clone with 30 fake sample stories. * It uses blob storage to store story data, including the ability to submit * new stories and upvote existing stories.
0
charlypoly avatar
charlypoly
exampleTopHackerNewsDailyEmail
Cron
An interactive, runnable TypeScript val by charlypoly
0
janpaul123 avatar
janpaul123
valle_tmp_3735050494903109427870190455998034
HTTP
// This val will serve an HTML page emulating a Hacker News clone.
0
janpaul123 avatar
janpaul123
valle_tmp_6738558784733152514997198308998394
HTTP
// This val will serve an HTML page emulating a Hacker News clone.
0
janpaul123 avatar
janpaul123
valle_tmp_8524715891926958662818742653551
HTTP
// This val will serve an HTML page emulating a Hacker News clone.
0
janpaul123 avatar
janpaul123
valle_tmp_767612537409962736882223362511657
HTTP
// This val will serve an HTML page emulating a Hacker News clone.
0
janpaul123 avatar
janpaul123
valle_tmp_629217472160119437705927512967885
HTTP
// This val will serve an HTML page emulating a Hacker News clone.
0
janpaul123 avatar
janpaul123
valle_tmp_75369426003016235227056957352348
HTTP
// This val will serve an HTML page emulating a Hacker News clone.
0
janpaul123 avatar
janpaul123
valle_tmp_98577615540709697524214250928494
HTTP
// This val will serve an HTML page emulating a Hacker News clone.
0
janpaul123 avatar
janpaul123
valle_tmp_50449610377968496666839612547843
HTTP
// This val serves an HTML page emulating a Hacker News clone.
0
janpaul123 avatar
janpaul123
valle_tmp_463480496454860730332801536131093
HTTP
// This updated val serves an HTML page emulating a Hacker News clone.
0