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
valledrawclient
Script
Forked from janpaul123/reacttldrawclient
2
bansal avatar
bansal
Play2048Game
HTTP
@jsxImportSource https://esm.sh/react@18.2.0
0
ilianp avatar
ilianp
Snake_game
HTTP
@jsxImportSource https://esm.sh/react
0
all avatar
all
waveForm
HTTP
@jsxImportSource https://esm.sh/react
0
elibcohen avatar
elibcohen
madpropsv2
HTTP
@jsxImportSource https://esm.sh/react
1
Ttt avatar
Ttt
whackaghost
HTTP
Project : Whack-a-Ghost A responsive, browser based game where players click on randomly appearing ghosts. Features 4 difficulty levels with increasing grid sizes (4x4 to 7x7) 20-second time limit per game Score tracking with 15-point win condition Responsive design for desktop and mobile How to Play Select a difficulty level Click on ghosts as they appear Avoid empty cells (max 10 misses) Score 15 points within 20 seconds to win Show less
0
std avatar
std
docsBlobCounterDemo
Script
Forked from andreterron/docsBlobCounterDemo
0
aa370166fasd avatar
aa370166fasd
sweetBonanzaGame
HTTP
@jsxImportSource https://esm.sh/react
0
neverstew avatar
neverstew
scheduleExampleTwo
Cron
An interactive, runnable TypeScript val by neverstew
0
willthereader avatar
willthereader
ChatGPTTextDefinitionUserscript
Script
// @name Improved ChatGPT Text Definition with Follow-up Questions
0
jamisonl avatar
jamisonl
ruralCrimsonGuppy
HTTP
Forked from camajudson/handleDiscordInteraction
0
rym avatar
rym
home
Script
// Access via https://api.val.town/v1/express/rym.home
1
petermillspaugh avatar
petermillspaugh
dailySubscriptionStats
Cron
Val Town email subscriptions: daily stats Cousin Val to @petermillspaugh/emailSubscription for emailing yourself daily subscriber stats.
0
ask0ne avatar
ask0ne
diplomaticOrangeGuineafowl
HTTP
@jsxImportSource https://esm.sh/react@18.2.0
0
stevekrouse avatar
stevekrouse
safeCounter
Script
An interactive, runnable TypeScript val by stevekrouse
1
Aditya230 avatar
Aditya230
snakeGameReact
HTTP
@jsxImportSource https://esm.sh/react
1