Repository navigation
News watcher
clippa news (#110) watches the headlines for the terms you give it ([news] watch,
or per show): TMZ, Dexerto, r/LivestreamFail and a Google News search for each term. With no
terms it fetches nothing; [news] auto_watch also watches each show's cast, known figures and
name and the cast library. A cheap
model (Haiku, well under a cent a check) rates each headline that names someone: about them and
not a namesake, new, public conduct (never their children or private people), and groups five
outlets on one event into one story. The bot posts new stories to a #news channel (it makes it if missing) with Dismiss and
Tonight's context, which adds the story to that show's next stream's stream_context
before scoring; an hour before a show's usual start it suggests that day's stories. The war
room's News window lists them and searches Google News by hand.
It reads headlines about the shows' people and posts the ones that matter
to Discord. Only headlines, a short snippet and the link are stored ([paths] news,
news.sqlite); articles are never fetched.
-
Who: only the terms you give:
[news] watch = { "Ethan Klein" = ["H3 Podcast"] }(other names in the list), or[shows.<key>.news] watchto tie them to a show (Tonight's context then goes to it). Every term gets a Google News search. With no terms nothing is fetched or searched at all.[news] auto_watch = truealso watches each show's[meta] cast,[scoring] known_figures("Jer (The Quartering)" adds an alias) and show name, and the cast library; there one-word names ("Jer", "Don") only match as written, and a name that's a common word goes in[news] ignore.clippa news watchlists what's watched. -
Where: the bot posts to the text channel
[news] channel("news"), and makes it if the server has none (it needs Manage Channels for that; otherwise make #news by hand).channel_idpicks a channel by id instead; with both empty, news goes to the review channel (in a forum, one "News" post). -
Try it:
clippa news check --no-judgefetches and matches with no model call;clippa news checkalso rates the matches ([news] judge_model, Haiku: about $0.004 for 30 headlines) andclippa news listshows the stories.clippa news feedsshows each source's last fetch and error. -
Automatic: set
[news] check_minutes = 30and restart serve (it checks; the bot posts). It posts at mostmax_posts(5) new stories a check, the shows' own people first; "maybe" ones too whilepost_maybeis on. Tonight's context shows the text, then Add it queues it innews/context.json(whole stories, at most 1,500 characters: the preview is all of it); the worker writes it into that show's next stream'sstreams/<id>/config.toml[scoring] stream_context(a backup beside it) before scoring, however many days later; a note no stream took incontext_days(7) is dropped. Astream_contextin clipper.local.toml or$CLIPPER_SCORING_STREAM_CONTEXTwould hide it, so the worker leaves the note queued and logs why.[news] preshow_minutes(60) before a show's usual start (learned from the last three weeks of streams; once a day per show) the bot lists that day's stories for it with a Context button that previews and adds them. -
Command line:
clippa news search "Ethan Klein",clippa news dismiss 12,clippa news context 12 --show kino.
The bot and the worker must see the same [paths] news folder; on two machines, put it on the
streams share. clippa doctor (bot role) fails when news is on with nowhere to post and, online,
checks the feeds answer.
Home · Getting started · clippa doctor · These pages are built from docs/wiki/ in the repo, so edits made here are overwritten: how to edit them
Run it
- Overview
- Getting started
- Roles and services
- Configuration
- Pipeline
- Review
- Reviewing
- War room
- Clippa messenger
- Scheduling and uploads
- Costs
- Checkup
- Audit
- Backups
Install
- Install
- Install checklist
- Kitsu
- Discord app
- YouTube sign-in
- Windows
- macOS
- Transcribe on Modal
- NAS recorder
- NAS hub
- Claude on the NAS
- Phone access
- Model providers
- Adding a show
- YouTube channel
Features
- Pre-shows
- Fetching VODs
- Speakers
- Faces
- Covers
- Cast library
- B-roll
- Clip art
- Weekly issue
- X posts
- TikTok
- News watcher
- Character pieces
- Documentaries
Research
Working on Clippa