ainews: add AI news helper script with seen tracking

- Aggregates Simon Willison, OpenAI Blog, Sebastian Raschka
- Same workflow as derstandard: items marks as seen, auto-prunes at 200
- Updated all 4 AI news cron jobs to use new script
- Removed obsolete ai-news-seen.json
This commit is contained in:
Agent 2026-02-03 22:18:10 +00:00
parent d0fa82ccc6
commit e6248879b3
4 changed files with 186 additions and 32 deletions

View file

@ -103,6 +103,30 @@ curl -s -X REPORT -u "$NEXTCLOUD_USER:$NEXTCLOUD_PASS" \
"$NEXTCLOUD_URL/remote.php/dav/calendars/$NEXTCLOUD_USER/$CALDAV_CALENDAR/"
```
## AI News RSS
Helper script: `~/bin/ainews`
```bash
ainews items [max] # NEW items only (filters out seen)
ainews items --all [max] # All items including already seen
ainews article <url> # Full article content via fivefilters
ainews articles <url1>,<url2>,... # Fetch multiple + auto-mark as seen
ainews seen # Show seen count and recent entries
ainews reset # Clear seen history
```
- Aggregates: Simon Willison, OpenAI Blog, Sebastian Raschka
- Auto-tracks seen articles in `memory/ainews-seen.txt`
- Auto-prunes to 200 entries
**Workflow for AI news briefing:**
1. `ainews items` → shows NEW articles, marks them as seen
2. Pick interesting ones, optionally fetch full content with `articles`
3. Next briefing: only shows articles published since last check
---
## Der Standard RSS Summaries
- **Schedule:** 4× daily: 10:00, 14:00, 18:00, 22:00 (Vienna time)