Something went wrong. Try again.
Something went wrong. Try again.
Files
- JavaScript 100%
README.md
# AI News Daily 🤖📰
A Bluesky bot that posts a short daily thread of the most important AI news: new tools, LLM releases, agents, research papers and open-source projects.
**Follow the bot:** [@[bot-handle].bsky.social](https://bsky.app/profile/[bot-handle].bsky.social) · **Built by:** [@[your-handle]](https://bsky.app/profile/[your-handle])
## What it does
Every day, the bot:
1. Collects AI stories from the last ~36 hours.
2. Drops duplicates, funding/valuation news, and anything it posted in the last 7 days.
3. Picks the top 4 stories and writes one short post for each.
4. Posts them to Bluesky as a thread, with a link card to every original source.
```
AI news, Oct 7 ← intro post (says how stories were picked)
└─ 1/4 <headline> + 1–2 sentences ← each story is a reply, with a link card
└─ 2/4 …
└─ 3/4 …
└─ 4/4 …
```
The bot always links back to the original source and never posts a link it didn't collect.
## Sources
- **Hacker News**: AI stories from the last 36 hours with 30+ points
- **Hugging Face daily papers**: community-upvoted research
- **GitHub**: new repos tagged `llm` or `ai-agents`, gaining stars fast
- **TechCrunch AI** and **The Verge AI**: RSS feeds
Want a source added? Open an issue, or add it in `src/config.js`.
## How it works
```
news collectors → dedupe & filter → pick & write → post to Bluesky
```
- **Collectors** (`src/sources.js`) fetch and parse stories from each source.
- **Picking** has two modes, chosen automatically:
- **No API key (default):** takes the top story from each source by points, upvotes or stars, and uses the source's own title and short description (`src/pick.js`). No AI, no cost.
- **With `ANTHROPIC_API_KEY`:** Claude picks the top 4 and writes a headline and a 1–2 sentence summary for each (`src/summarize.js`). Claude refers to stories by number only, so every link comes from the collected data.
The intro post says which mode picked the stories.
- **Posting** (`src/post.js`) uses the AT Pro…