daily-hot-news

daily-hot-news

Daily Hot News skill - Query trending list data across 54 platforms, including Weibo, Zhihu, Bilibili, and Douyin, with support for scheduled pushes and categorized browsing.

13stars
3forks
Updated 2/6/2026
SKILL.md
read-only
name
daily-hot-news
description

Daily Hot News skill - Query trending list data across 54 platforms, including Weibo, Zhihu, Bilibili, and Douyin, with support for scheduled pushes and categorized browsing.

🔥 Daily Hot News

🎯 Overview

Provides local query services for 54 trending topic sources, based on the DailyHotApi project.

Core Features:

  • 📊 Trending List Query - Fetch trending data from any supported platform
  • 📋 Categorized Browsing - List all supported trending sources
  • 💾 Historical Records - Automatically save daily trending list data
  • ⏰ Scheduled Push - Automatically push trending topics to Feishu

🏗️ Architecture Design

User Request → DailyHotApi Skill → Local DailyHotApi Service → Return Formatted Results

Component Description

Component Responsibility
DailyHotApi Service Runs independently, scrapes/aggregates trending list data
DailyHotApi Skill OpenClaw plugin, handles user requests

📡 Supported Trending Sources (54)

🎬 Video / Live Streaming

Endpoint Name
bilibili Bilibili
acfun AcFun
douyin Douyin
kuaishou Kuaishou
coolapk Coolapk

💬 Social Media

Endpoint Name
weibo Weibo
zhihu Zhihu
zhihu-daily Zhihu Daily
tieba Baidu Tieba
douban-group Douban Group
v2ex V2EX
ngabbs NGA
hupu Hupu

📰 News & Information

Endpoint Name
baidu Baidu Hot Search
thepaper The Paper
toutiao Toutiao
36kr 36Kr
qq-news Tencent News
sina Sina Net
sina-news Sina News
netease-news NetEase News
huxiu Huxiu
ifanr ifanr

💻 Tech & Developer Communities

Endpoint Name
ithome IT Home
ithome-xijiayi IT Home "Xijiayi"
sspai Minority Media (sspai)
csdn CSDN
juejin Juejin
51cto 51CTO
nodeseek NodeSeek
hellogithub HelloGitHub

🎮 Gaming / ACG

Endpoint Name
genshin Genshin Impact
miyoushe HoYoLAB / Miyoushe
honkai Honkai Impact 3rd
starrail Honkai: Star Rail
lol League of Legends

📚 Reading & Culture

Endpoint Name
jianshu Jianshu
guokr Guokr
weread WeChat Read
douban-movie Douban Movies

🔧 Tools & Others

Endpoint Name
52pojie 52pojie
hostloc Hostloc
weatheralarm National Meteorological Center
earthquake China Earthquake Networks Center
history Today in History

🚀 Deployment

1. PM2 Management (Recommended)

The DailyHotApi service is managed via PM2 to ensure stable operation.

cd /root/.openclaw/workspace/skills/daily-hot-api

# Deploy and start service
./deploy.sh

# Check status
./deploy.sh status

# Restart service
./deploy.sh restart

# Stop service
./deploy.sh stop

# View logs
./deploy.sh logs

Service Address: http://localhost:6688

2. Configure Environment Variables

export DAILY_HOT_API_URL=http://localhost:6688

3. Install Skill Dependencies

cd /root/.openclaw/workspace/skills/daily-hot-news
pip install requests aiohttp

🎮 Usage Examples

Query Trending Topics

User: Weibo trending search
Skill: Calls /weibo → Returns Top 10 trending topics

View All Trending Sources

User: What trending sources are available?
Skill: Returns list of 54 supported trending sources

Query Historical Trending Data

User: Weibo history
Skill: Displays previously saved Weibo trending records

Check Saved Data

User: What data has been saved?
Skill: Returns statistics for all saved trending data

Scheduled Push

User: Push Bilibili trending topics every day at 8 AM
Skill: Sets cron task → Daily calls /bilibili → Pushes to Feishu

💾 Data Storage

Storage Location

All trending data is saved in:

/root/.openclaw/workspace/skills/daily-hot-news/data/

File Structure

data/
├── weibo/
│   ├── 2026-02-05.json
│   └── 2026-02-04.json
├── zhihu/
│   └── 2026-02-05.json
└── ...

Configuration Options

Environment Variable Default Description
DAILY_HOT_DATA_DIR data/ Data storage directory
DAILY_HOT_AUTO_SAVE true Whether to automatically save trending data

Management Commands

# View statistics for saved data
python3 storage.py

# Clean up data older than 30 days
python3 storage.py --clear 30

📊 Response Format

Trending List Response

{
  "platform": "微博",
  "updateTime": "2026-02-05 17:00:00",
  "data": [
    {
      "rank": 1,
      "title": "Hot topic title",
      "hot": "12.34M",
      "url": "https://..."
    }
  ]
}

⚙️ Configuration Options

Environment Variable Default Description
DAILY_HOT_API_URL http://localhost:6688 DailyHotApi service address
DAILY_HOT_CACHE_TTL 3600 Cache TTL (seconds)
DAILY_HOT_MAX_ITEMS 20 Maximum returned items

📊 Resource Usage

Component Memory CPU
DailyHotApi Service ~200MB Extremely low
DailyHotApi Skill <10MB Negligible

Total: <250MB, zero server overhead


🔧 Troubleshooting

Issue: Unable to Connect to Service

# Check PM2 status
./deploy.sh status

# View logs
./deploy.sh logs

# Restart service
./deploy.sh restart

📁 File Structure

daily-hot-news/
├── SKILL.md              # Skill manual
├── daily_hot_news.py     # Core Skill script
├── api_client.py         # API client wrapper
├── formatter.py          # Response formatter
├── config.py             # Configuration management
├── storage.py            # Data storage module
├── data/                 # Trending data storage directory
├── README.md             # Quick start
└── requirements.txt       # Dependency list

📝 Changelog

v1.1.0 (2026-02-05)

  • ✨ Added data storage feature
  • ✨ Supported auto-saving daily trending data
  • ✨ Supported querying historical records
  • ✨ Added data statistics command

v1.0.0 (2026-02-05)

  • Initial release
  • Supported 54 trending sources
  • Basic query and scheduled push functionality