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.
kylem avatar
kylem
starlightFaker
HTTP
Forked from kylem/loremIpsumMarkdownGenerator
0
jamiedubs avatar
jamiedubs
rssSummarizerTest
Script
uses this glif to summarize a given feed using code. planning to use this in other stuff
0
yawnxyz avatar
yawnxyz
breakdown
HTTP
This project is an argument summarizer that leverages AI to analyze and extract key arguments from a given text. Goals: Provide a user-friendly interface for inputting text Process the input using a large language model (LLama3 via Groq) Extract and structure key arguments, explanations, and relevant quotes Present the summarized arguments in a clear, organized format The main pipeline: User inputs text through a web interface The input is sent to an AI model for processing The AI extracts and structures the arguments The results are validated against a predefined schema The structured arguments are displayed to the user This tool aims to help users quickly understand the main points and supporting evidence in complex texts or discussions, making it valuable for research, debate preparation, or general comprehension of argumentative content.
2
jamiedubs avatar
jamiedubs
wikipediaToday
HTTP
fetch the contents of the Wikipedia "On this day in history" page. defaults to JSON output, but specify ?format=text or ?format=html for other outputs. e.g. https://jamiedubs-wikipediatoday.web.val.run/?format=json https://jamiedubs-wikipediatoday.web.val.run/?format=text https://jamiedubs-wikipediatoday.web.val.run/?format=html #wikipedia
0
singpolyma avatar
singpolyma
jmpblog2lemmy
Cron
An interactive, runnable TypeScript val by singpolyma
0
akkartik avatar
akkartik
hnContextLink
Script
An interactive, runnable TypeScript val by akkartik
1
piyushbeli avatar
piyushbeli
summariseNews
HTTP
An interactive, runnable TypeScript val by piyushbeli
0
vladimyr avatar
vladimyr
podnews
Script
// import { fetch } from "https://esm.town/v/std/fetch?v=4";
0
janpaul123 avatar
janpaul123
valle_tmp_3373497323659926417371153829721253
HTTP
// Retrieve stories data from blob storage on server start
0
gabefletch avatar
gabefletch
OptimalSlogans
HTTP
An interactive, runnable TypeScript val by gabefletch
0
roramigator avatar
roramigator
valTopicGen
HTTP
// This val creates a weekly topic generator for Val Town developers to focus their creativity.
0
djfeld01 avatar
djfeld01
webScrapeDiamondLeague
Script
Forked from pranjaldotdev/scraper
0
elsif_maj avatar
elsif_maj
nameTopHNThreadUsingSomeonesVal
Script
Forked from elsif_maj/nameTopHNThread
0
maas avatar
maas
forwarder
Script
Unlimited Anonymous Emails All code can be triggered via email ( docs ), i.e. maas.forwarder@valtown.email . You can generate as many emails as you want to avoid giving away your personal email address and reduce spam. Getting started Log in to Val Town Fork this Val Publish the Val via 🔒 > Unlisted Copy the email endpoint via ⋮ > Endpoints > Copy email address Sign up for newsletters or services using this email ( maas.forwarder@valtown.email ). To remove their ability to email you, simply delete the val (or send it to /dev/null ).
3
karkowg avatar
karkowg
theOneSky
HTTP
theonesky bsky firehose as The Matrix source code
1
andreterron avatar
andreterron
TV_SHOW_NEW_EPISODE_NOTIFIER
Script
An interactive, runnable TypeScript val by andreterron
0