Content
# AI Daily News Bot
Automatically capture AI investment and technology dynamics, and push them to Feishu every day.
## Features
- 🌐 Multi-source search: YC / Product Hunt / GitHub Trending / TechCrunch / Industry media
- 📊 Intelligent classification: AI application layer ≥60%, others up to 20 items
- 🏷️ Automatic tagging: YC / PH / GH / New product / Financing / Tool
- 📱 Feishu push: Supports Webhook or Open Platform App in two ways
- ⏰ Scheduled task: Linux crontab one-click configuration
## Quick Start
### 1. Clone + Installation
```bash
git clone <your-repo-url> ai-news-bot
cd ai-news-bot
pip install -r requirements.txt
```
### 2. Configuration
**Method A: Feishu Webhook (Simplest)**
Add a "Custom Robot" to your Feishu group chat (Group settings → Group robots → Add robot),
copy the Webhook URL, and fill it into the `webhook_url` field in `config.py`.
**Method B: Feishu Open Platform App**
Create an app on the [Feishu Open Platform](https://open.feishu.cn/app),
get the `App ID` and `App Secret`, and fill them into `config.py`.
### 3. Configure Search Preferences
Edit the `SEARCH_QUERIES` list in `src/config.py` to adjust:
- Product Hunt weight → Increase PH-related query words
- YC weight → Increase Y Combinator-related query words
### 4. Testing
```bash
python src/feishu.py # Test Feishu connectivity
python src/main.py --test # Send test message
python src/main.py --dry # Generate content only, do not send
```
### 5. Scheduled Task
```bash
# Execute every morning at 9:00 (Beijing time)
0 9 * * * cd /path/to/ai-news-bot && python src/main.py >> logs/cron.log 2>&1
```
## Directory Structure
```
ai-news-bot/
├── README.md
├── requirements.txt
├── .env.example
├── config.py ← Main configuration file
└── src/
├── main.py ← Entry, cron calls this
├── searcher.py ← Multi-source search
├── formatter.py ← News formatting
└── feishu.py ← Feishu sending
```
## Integration with OpenClaw
If deployed on the same machine as OpenClaw, `searcher.py` will automatically
accelerate search through the local MCP port (localhost:3100) without additional configuration.
## Custom News Sources
Edit `SEARCH_QUERIES` in `config.py` with the format:
```python
("Search keyword", return count),
```
## Product Hunt Weight Adjustment
恒宇 requires Product Hunt weight adjustment. The current configuration includes:
- Product Hunt AI product popular
- Product Hunt AI tool release
- YC AI startup
If further adjustment is needed, increase the proportion of PH-related query words in the list.
Connection Info
You Might Also Like
cc-switch
All-in-One Assistant for Claude Code, Codex & Gemini CLI across platforms.
awesome-mcp-servers
A collection of MCP servers.
git
A Model Context Protocol server for Git automation and interaction.
oh-my-opencode
Background agents · Curated agents like oracle, librarians, frontend...
TrendRadar
TrendRadar: Your hotspot assistant for real news in just 30 seconds.
Appwrite
Build like a team of hundreds