Skip to main content

News W Anchor

@aaronge/news-w-anchorv2026.09.09.1· 1d agoMODELS
01README

Posts one unseen article a day from a rotation of satire news feeds (The Onion, ClickHole, Reductress, The Beaverton, The Hard Times, The Daily Mash, NewsThump) to a Discord channel, keeping a ledger so the same joke never lands twice.

02Models1
@aaronge/news-w-anchorv2026.09.09.1news_w_anchor.ts

Global Arguments

ArgumentTypeDescription
webhookUrlstringDiscord incoming-webhook URL for the target channel. Prefer a vault
feedsarraySatire feeds to draw from. Defaults to a built-in rotation of 7.
usernamestringOverrides the webhook's display name on each post.
avatarUrl?stringOptional image URL for the poster's avatar (Discord's `avatar_url`
ledgerSizenumberMaximum entries kept in the de-duplication ledger; oldest are pruned.
enrichFromArticlebooleanWhen the feed item has no image or blurb, fetch the article page once
dryRunbooleanWhen true, do everything except the Discord POST and the ledger write
fn broadcast()
Fetch all feeds, pick one article not in the ledger, post it to
fn sample(perFeed: number)
Post one (or `perFeed`) random current article from EVERY configured
ArgumentTypeDescription
perFeednumberHow many articles to post from each feed.
fn forget(url: string)
Remove an article from the ledger by URL or id so it can be posted
ArgumentTypeDescription
urlstringThe article URL or ledger id to forget.

Resources

broadcast(infinite)— The most recent run's chosen article and what happened to it.
ledger(infinite)— De-duplication ledger — every article id already posted to Discord.
03Stats
A
100 / 100
Downloads
0
Archive size
39.4 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
04Platforms
05Labels