SuperAPI AI Directory

daily-hot-news

General & other

View repository

Updated 10-15 14:28

About this skill

🔥 Daily Hot List

🎯 Overview

Provides localized query services for 54 hot list sources , based on the DailyHotApi project.

Core Features:

  • 📊 Hot List Query - Query hot list data from any platform
  • 📋 Category Browsing - List all supported hot list sources
  • 💾 History Records - Automatically save daily hot list data
  • ⏰ Scheduled Push - Automatically push hot lists to Feishu

🏗️ Architecture Design

用户请求 → DailyHotApi Skill → 本地 DailyHotApi 服务 → 返回格式化结果

Component Description

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

📡 Supported Hot List Sources (54)

🎬 Video/Live Streaming Platforms

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

💬 Social Media

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

📰 News & Information

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

💻 Tech/Technology Communities

API Name
ithome IT Home
ithome-xijiayi IT Home "Happy Plus One"
sspai SSPAI
csdn CSDN
juejin Juejin
51cto 51CTO
nodeseek NodeSeek
hellogithub HelloGitHub

🎮 Games/ACG

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

📚 Reading/Culture

API Name
jianshu Jianshu
guokr Guokr
weread WeRead
douban-movie Douban Movies

🔧 Tools/Other

API Name
52pojie 52pojie
hostloc Global Host Exchange
weatheralarm National Meteorological Center
earthquake China Earthquake Networks Center
history Today in History

🚀 Deployment Instructions

1. PM2 Management (Recommended)

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

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

# 部署并启动服务
./deploy.sh

# 查看状态
./deploy.sh status

# 重启服务
./deploy.sh restart

# 停止服务
./deploy.sh stop

# 查看日志
./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 Hot List

用户: 微博热搜
Skill: 调用 /weibo → 返回 Top 10 热榜

View All Hot Lists

用户: 有什么热榜
Skill: 返回 54 个热榜源列表

Query Historical Hot Lists

用户: 微博历史
Skill: 显示之前保存的微博热榜记录

View Saved Data

用户: 已保存了哪些数据
Skill: 返回所有已保存的热榜数据统计

Scheduled Push

用户: 每天早上8点推送B站热门
Skill: 设置 cron 任务 → 每日调用 /bilibili → 推送到飞书

💾 Data Storage

Storage Location

All hot list 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 Items

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

Management Commands

# 查看已保存的数据统计
python3 storage.py

# 清理 30 天前的旧数据
python3 storage.py --clear 30

📊 Response Format

Hot List Response

{
  "platform": "微博",
  "updateTime": "2026-02-05 17:00:00",
  "data": [
    {
      "rank": 1,
      "title": "热搜标题",
      "hot": "1234万",
      "url": "https://..."
    }
  ]
}

⚙️ Configuration Items

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

📊 Resource Usage

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

Total: <250MB, no pressure on the server


🔧 Troubleshooting

Issue: Service cannot connect

# 检查 PM2 状态
./deploy.sh status

# 查看日志
./deploy.sh logs

# 重启服务
./deploy.sh restart

📁 File Structure

daily-hot-news/
├── SKILL.md              # 本说明书
├── daily_hot_news.py     # 核心 Skill 脚本
├── api_client.py         # API 客户端封装
├── formatter.py          # 响应格式化
├── config.py             # 配置管理
├── storage.py            # 数据存储模块
├── data/                 # 热榜数据存储目录
├── README.md             # 快速开始
└── requirements.txt       # 依赖列表

📝 Changelog

v1.1.0 (2026-02-05)

  • ✨ Added data storage feature
  • ✨ Support automatic saving of daily hot lists
  • ✨ Support querying historical records
  • ✨ Added data statistics command

v1.0.0 (2026-02-05)

  • Initial version
  • Support 54 hot list sources
  • Basic query and scheduled push features