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.
EchoPrompter
data
EchoPrompter
@jsxImportSource https://esm.sh/react@18.2.0
HTTP
addSendGridEmailPost
stevekrouse
addSendGridEmailPost
// deprecated in favor of addSendGridEmail
Script
smartCrimsonBedbug
GideonEsq
smartCrimsonBedbug
@jsxImportSource https://esm.sh/react@18.2.0
HTTP
selarApp
selarcom
selarApp
@jsxImportSource https://esm.sh/react@18.2.0
HTTP
Family100
nirwan
Family100
@jsxImportSource https://esm.sh/react
HTTP
dedicatedAmethystLeopard
mohsen
dedicatedAmethystLeopard
@jsxImportSource https://esm.sh/react@18.2.0
HTTP
importSmallStepsIntoNotion
thomasatflexos
importSmallStepsIntoNotion
An interactive, runnable TypeScript val by thomasatflexos
Express (deprecated)
drumMachine
mo3ly
drumMachine
Remix of: sedson/drumMachine
HTTP
MoonCatWalk
midnightlightning
MoonCatWalk
@jsxImportSource https://esm.sh/react
HTTP
selarApp
stevekrouse
selarApp
Remix of: selarcom/selarApp
HTTP
servicefactory
dglazkov
servicefactory
A helper to create an HTTP endpoint that conforms to the Breadboard Service Endpoint (BSE) protocol. See https://www.val.town/v/dglazkov/googlenews for sample usage. For more information, see Breadboard service node .
Script
docsCounterDemo
stevekrouse
docsCounterDemo
An interactive, runnable TypeScript val by stevekrouse
Script
train_gang
mbo
train_gang
// Initialize the database schema if not exists
HTTP
github_status_emoji_map
arrudaricardo
github_status_emoji_map
An interactive, runnable TypeScript val by arrudaricardo
Script
docsBlobCounterDemo
pomdtr
docsBlobCounterDemo
Remix of: std/docsBlobCounterDemo
Script
refreshAnimalWidget
crsven
refreshAnimalWidget
An interactive, runnable TypeScript val by crsven
Cron
โ€ฆ
23
โ€ฆ
Next