News W Anchor
@aaronge/news-w-anchorv2026.09.09.1
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.
02Models
@aaronge/news-w-anchorv2026.09.09.1news_w_anchor.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| webhookUrl | string | Discord incoming-webhook URL for the target channel. Prefer a vault |
| feeds | array | Satire feeds to draw from. Defaults to a built-in rotation of 7. |
| username | string | Overrides the webhook's display name on each post. |
| avatarUrl? | string | Optional image URL for the poster's avatar (Discord's `avatar_url` |
| ledgerSize | number | Maximum entries kept in the de-duplication ledger; oldest are pruned. |
| enrichFromArticle | boolean | When the feed item has no image or blurb, fetch the article page once |
| dryRun | boolean | When 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
| Argument | Type | Description |
|---|---|---|
| perFeed | number | How 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
| Argument | Type | Description |
|---|---|---|
| url | string | The 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