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.
vawogbemi avatar
vawogbemi
date_me_form
HTTP
Forked from stevekrouse/date_me_form
0
petermillspaugh avatar
petermillspaugh
sendNewsletterReminder
Cron
Val Town email subscriptions: newsletter reminder Cousin Val to @petermillspaugh/emailSubscription for emailing yourself a reminder to send your next newsletter. Since this Val is public, anyone can run it. I've commented out the function body that actually emails me to prevent anyone from spamming me, but you can fork this as a private Val to set a cron reminder.
0
petermillspaugh avatar
petermillspaugh
sendTestEmailNewsletter
Cron
Val Town email subscriptions: send test email Cousin Val to @petermillspaugh/emailSubscription โ€” see docs there. When you're writing up an email to send to subscribers, it's helpful to send it to yourself ahead of time to proofread and see how it looks in different email clients etc.
0
csl_ avatar
csl_
dndoodle
HTTP
DNDoodle My DND group has used doodle for ages to schedule our sessions, but it never really worked that great for us. We just didn't need that many features. This was my very first val and honestly, I couldn't be happier with it.
1
sparker avatar
sparker
tldraw_computer_example
HTTP
Forked from steveruizok/tldraw_computer_example
0
janpaul123 avatar
janpaul123
valle_tmp_87778475813607539720320402884255
HTTP
// Unique key for blob storage
0
trollishka avatar
trollishka
giftSuggestionApp
HTTP
Forked from stevekrouse/cerebras_searcher
0
stevekrouse avatar
stevekrouse
magentaTrout
HTTP
Forked from stevekrouse/date_me_form
0
samweist avatar
samweist
ForexDataHub
HTTP
An interactive, runnable TypeScript val by samweist
0
chekos avatar
chekos
design32x32bitmap
HTTP
A smol tool to design smol 1-bit bitmap images mostly for my raspberry pi's 128x32 OLED display
0
jamisonl avatar
jamisonl
darkMagentaFlamingo
HTTP
Forked from camajudson/handleDiscordInteraction
0
pranjaldotdev avatar
pranjaldotdev
readdb
Script
An interactive, runnable TypeScript val by pranjaldotdev
0
Kpool avatar
Kpool
billiardCafeApp
HTTP
@jsxImportSource https://esm.sh/react@18.2.0
0
efoley avatar
efoley
LetterMatch
HTTP
@jsxImportSource https://esm.sh/react
0
ayeh avatar
ayeh
survivalRPGAdventure
HTTP
@jsxImportSource https://esm.sh/react@18.2.0
0
jbwinters avatar
jbwinters
KidsCodingDameDinoAdventure
HTTP
* This val implements a Dino Code Adventure game using React. * It uses client-side React for the game logic and UI, and * includes a server-side endpoint for storing high scores.
0
โ€ฆ
16
โ€ฆ
Next