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.
elsif_maj avatar
elsif_maj
nameTopHNThreadCron
Cron
Forked from elsif_maj/nameTopHNThread
0
tmcw avatar
tmcw
limeBadger
HTTP
@jsxImportSource npm:hono@3/jsx
0
janpaul123 avatar
janpaul123
valle_tmp_41699613582383728637218416331187
HTTP
// Initialize stories with some fake sample data
0
stevekrouse avatar
stevekrouse
hnGetMaxId
Script
An interactive, runnable TypeScript val by stevekrouse
0
owen avatar
owen
runHnBotTask
Script
An interactive, runnable TypeScript val by owen
0
janpaul123 avatar
janpaul123
valle_tmp_893740469510018430011448967223986
HTTP
// Initialize stories with sample data
0
tmcw avatar
tmcw
big_stories_ranks
Script
// set by tmcw.big_story at 2023-07-21T13:27:35.553Z
2
stevekrouse avatar
stevekrouse
crimsonLynx
HTTP
Forked from willthereader/personalWebsite
0
willthereader avatar
willthereader
honoExample
HTTP
Forked from maxm/honoExample
0
pranjaldotdev avatar
pranjaldotdev
scraper
Script
An interactive, runnable TypeScript val by pranjaldotdev
0
stevekrouse avatar
stevekrouse
personalWebsite
HTTP
Forked from willthereader/personalWebsite
0
ajax avatar
ajax
resume
Script
// set by ajax.resumeHtml at 2023-06-07T20:30:59.005Z
0
pranjaldotdev avatar
pranjaldotdev
poller
Cron
bytes.dev newsletter notifier Tech Stack val.town - Infrastructure SQLite - Database Deno - Runtime Pushover - Notifications How it works At the lowest level it is powered by 3 main scripts, which are invoked by a scheduled cron job that runs daily scraper Goes to bytes.dev and scrapes latest published newsletter inserter Insert it to SQLite if this newsletter already not exists notifier Uses Pushover API to send ios mobile notifications Pushover notifications
3
stevekrouse avatar
stevekrouse
hnPrefixURL
Script
An interactive, runnable TypeScript val by stevekrouse
0
stevekrouse avatar
stevekrouse
whoIsHiring
HTTP
Forked from vawogbemi/whoIsHiring
0
austinm911 avatar
austinm911
scheduledNotifier
Cron
Forked from pranjaldotdev/poller
0