TrendRadar logo

TrendRadar

sansan0/TrendRadar

AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.

GraphCanon updated 2d · GitHub synced 2d

61k stars25k forksLast push 1mo Python GPL-3.0

Decision brief

TrendRadar is an AI-driven tool for monitoring trends and public opinions across multiple platforms. It supports Docker, offers multi-platform aggregation, RSS feeds, smart alerts customized through various channels such

Good fit when

  • When you need comprehensive analysis of trending topics from a variety of sources including real-time news translations to stay informed globally.
  • If your use case requires sentiment analysis and trend prediction leveraging natural language processing (NLP) AI capabilities specific to TrendRadar’s MCP architecture for more nuanced observations.

Avoid when

  • Avoid if your needs are met with basic RSS feed services without the complexity of integrating multilingual AI-driven analytics.
  • If you prefer a tool that does not utilize an open-source GPL-3.0 license and instead require proprietary solutions with custom development options, TrendRadar may not be suitable.
Requirements:
Requires Docker; Requires Docker for local or cloud data management to operate efficiently. Offers integration capabilities with platforms like WeChat, Feishu, DingTalk, and ntf

Observed Jul 11, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Active (29d since push)
As of 2d
Provenance
Not a fork · Personal account
As of 2d
Security (OSV)
No MCP manifest
As of 1mo

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

pip install TrendRadar
PyPI

How it fits your stack(3)

Typed graph edges - alternatives, integrations, successors, and dependencies. Ranked by relationship type, not raw GitHub stars.

Relationship graph

Optional deeper exploration of typed edges and category neighbours.

Similar tools

Same-category neighbours not already linked as typed edges.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

A tool for monitoring trends and public opinions across multiple platforms using AI for news filtering, translation, analysis, and alerting through various channels. Supports Docker for local or cloud data management.

Capability facts

CLI
CLI entrypoint

Source: pyproject.toml:[project.scripts] · Aug 16, 2026

Languages
python

Source: github.language+pyproject.toml · Aug 16, 2026

Categories

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

Works with ChatGPTChatGPT

Source: README excerpt (regex_v1, Aug 16, 2026)

> - 只有需要使用 ChatGPT/Gemini 进行 AI 对话分析时,才需启动 `trendradar-mcp`
Source link

Tags

README

6. Docker 部署

镜像说明:

TrendRadar 提供两个独立的 Docker 镜像,可根据需求选择部署:

镜像名称用途说明
wantcat/trendradar新闻推送服务定时抓取新闻、推送通知(必选)
wantcat/trendradar-mcpAI 分析服务MCP 协议支持、AI 对话分析(可选)

💡 建议

  • 只需要推送功能:仅部署 wantcat/trendradar 镜像
  • 需要 AI 分析功能:同时部署两个镜像
👉 点击展开:Docker 部署完整指南

方式一:使用 docker compose(推荐)

  1. 创建项目目录和配置:

    # 克隆项目到本地
    git clone https://github.com/sansan0/TrendRadar.git
    cd TrendRadar
    

    💡 说明:Docker 部署需要的关键目录结构如下:

当前目录/
├── config/
│   ├── config.yaml                 # 核心功能配置(必需)
│   ├── frequency_words.txt         # 关键词配置(必需)
│   ├── timeline.yaml               # 时间线配置
│   ├── ai_analysis_prompt.txt      # AI 分析提示词(可选)
│   ├── ai_translation_prompt.txt   # AI 翻译提示词(可选)
│   ├── ai_interests.txt            # AI 兴趣过滤配置(可选)
│   ├── ai_filter/                  # AI 过滤相关提示词
│   │   ├── prompt.txt
│   │   ├── extract_prompt.txt
│   │   └── update_tags_prompt.txt
│   └── custom/                     # 用户自定义配置(可选)
│       ├── ai/                     # 自定义 AI 提示词
│       └── keyword/                # 自定义关键词文件
└── docker/
    ├── .env                        # 敏感信息 + Docker 特有配置
    └── docker-compose.yml          # Docker Compose 编排文件
  1. 配置文件说明:

    配置分工原则(v4.6.0 优化)

    文件用途修改频率说明
    config/config.yaml核心功能配置报告模式、推送设置、存储格式、推送窗口、AI 分析开关、平台启用等全局行为控制
    config/frequency_words.txt关键词配置设置你关心的热点词汇,支持分组、正则、别名等高级语法
    config/timeline.yaml时间线配置控制新闻时间线的展示和过滤规则
    config/ai_analysis_prompt.txtAI 分析提示词自定义 AI 分析的角色定义和输出格式(v5.0.0+)
    config/ai_translation_prompt.txtAI 翻译提示词自定义 AI 翻译的提示词模板
    config/ai_interests.txtAI 兴趣过滤定义 AI 基于兴趣自动过滤新闻的规则
    config/ai_filter/AI 过滤提示词AI 过滤模块的内部提示词(一般无需修改)
    config/custom/用户自定义扩展按需custom/ai/ 放自定义 AI 提示词,custom/keyword/ 放自定义关键词文件
    docker/.env敏感信息 + Docker 特有配置webhook URLs、API Key、S3 密钥、定时任务等,不会被 git 追踪

    💡 分工要点

    • 功能行为 → 改 config.yaml(如开启/关闭某个平台、调整推送模式)
    • 关注内容 → 改 frequency_words.txt(如添加新的关注关键词)
    • AI 输出风格 → 改 ai_analysis_prompt.txtai_translation_prompt.txt
    • 密钥与凭证 → 改 docker/.env(API Key、Webhook URL 等敏感信息统一放这里)
    • 个性化扩展 → 使用 config/custom/ 目录,避免直接修改默认配置被升级覆盖

    💡 配置修改生效:修改 config.yaml 后,执行 docker compose up -d 重启容器即可生效

    ⚙️ 环境变量覆盖机制(v3.0.5+)

    .env 文件中的环境变量会覆盖 config.yaml 中的对应配置:

    环境变量对应配置示例值说明
    WEBSERVER_PORT-8080Web 服务器端口
    FEISHU_WEBHOOK_URLnotification.channels.feishu.webhook_urlhttps://...飞书 Webhook(多账号用 ; 分隔)
    AI_ANALYSIS_ENABLEDai_analysis.enabledtrue / false是否启用 AI 分析(v5.0.0 新增)
    AI_API_KEYai.api_keysk-xxx...AI API Key(ai_analysis 和 ai_translation 共享)
    AI_PROVIDERai.providerdeepseek / openai / geminiAI 提供商
    S3_*storage.remote.*-远程存储配置(5 个参数)

    配置优先级:环境变量 > config.yaml

    使用方法

    • 修改 .env 文件,填写需要的配置
    • 或在 NAS/群晖 Docker 管理界面的"环境变量"中直接添加
    • 重启容器后生效:docker compose up -d
  2. 启动服务:

    选项 A:启动所有服务(推送 + AI 分析)

    # 拉取最新镜像
    docker compose pull
    
    # 启动所有服务(trendradar + trendradar-mcp)
    docker compose up -d
    

    选项 B:仅启动新闻推送服务

    # 只启动 trendradar(定时抓取和推送)
    docker compose pull trendradar
    docker compose up -d trendradar
    

    选项 C:仅启动 MCP AI 分析服务

    # 只启动 trendradar-mcp(提供 AI 分析接口)
    docker compose pull trendradar-mcp
    docker compose up -d trendradar-mcp
    

    💡 提示

    • 大多数用户只需启动 trendradar 即可实现新闻推送功能
    • 只有需要使用 ChatGPT/Gemini 进行 AI 对话分析时,才需启动 trendradar-mcp
    • 两个服务相互独立,可根据需求灵活组合
  3. 查看运行状态:

    # 查看新闻推送服务日志
    d
    

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.