# ai-trend-publish **Repository Path**: bin-bin-binbin/ai-trend-publish ## Basic Information - **Project Name**: ai-trend-publish - **Description**: TrendPublish: 全自动 AI 内容生成与发布系统 | 微信公众号自动化 | 多源数据抓取 (Twitter/X、网站) | DeepseekAI、千问、讯飞模型 | 智能内容分析排序 | 定时发布 | 多模板支持 | Node.js | TypeScript | AI 技术趋势跟踪工具 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2025-11-23 - **Last Updated**: 2025-11-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # TrendPublish 基于 Deno 开发的趋势发现和内容发布系统,支持多源数据采集、智能总结和自动发布到微信公众号。 > 🌰 示例公众号:**AISPACE科技空间**  点击链接加入群聊【AI-Trend-Publish】:https://qm.qq.com/q/EsiP8ZlEFa > 即刻关注,体验 AI 智能创作的内容~ ## 🛠 开发环境 - **运行环境**: [Deno](https://deno.land/) v2.0.0 或更高版本 - **开发语言**: TypeScript - **操作系统**: Windows/Linux/MacOS ## 🚀 快速开始 ### 1. 安装 Deno Windows (PowerShell): ```powershell irm https://deno.land/install.ps1 | iex ``` MacOS/Linux: ```bash curl -fsSL https://deno.land/install.sh | sh ``` ### 2. 克隆项目 ```bash git clone https://github.com/OpenAISpace/ai-trend-publish cd ai-trend-publish ``` ### 3. 配置环境变量 ```bash cp .env.example .env # 编辑 .env 文件配置必要的环境变量 # Key environment variables include API keys for various AI services. # For Jina AI functionalities (scraping, search, embeddings, reranking), # ensure JINA_API_KEY is set. See the .env.example file and the # Jina Integration Guide for more details. ``` ### 4. 开发和运行 ```bash # 开发模式(支持热重载) deno task start # 测试运行 deno task test # 编译Windows版本 deno task build:win # 编译Mac版本 deno task build:mac-x64 # Intel芯片 deno task build:mac-arm64 # M系列芯片 # 编译Linux版本 deno task build:linux-x64 # x64架构 deno task build:linux-arm64 # ARM架构 # 编译所有平台版本 deno task build:all ``` ## 🌟 主要功能 - 🤖 多源数据采集 - Twitter/X 内容抓取 - 网站内容抓取 (基于 FireCrawl) - 支持自定义数据源配置 - Advanced scraping and search via Jina AI - 🧠 AI 智能处理 - 使用 DeepseekAI Together 千问 万象 讯飞 进行内容总结 - 关键信息提取 - 智能标题生成 - Text embeddings and reranking via Jina AI - 📢 自动发布 - 微信公众号文章发布 - 自定义文章模板 - 定时发布任务 - 📱 通知系统 - Bark 通知集成 - 钉钉通知集成 - 飞书通知集成 - 任务执行状态通知 - 错误告警 ## 📝 文章模板 TrendPublish 提供了多种精美的文章模板。查看 [模板展示页面](https://openaispace.github.io/ai-trend-publish/templates.html) 了解更多详情。 ## DONE - [x] 微信公众号文章发布 - [x] 大模型每周排行榜 - [x] 热门AI相关仓库推荐 - [x] 添加通义千问(Qwen)支持 - [x] 支持多模型配置(如 DEEPSEEK_MODEL="deepseek-chat|deepseek-reasoner") - [x] 支持指定特定模型(如 AI_CONTENT_RANKER_LLM_PROVIDER="DEEPSEEK:deepseek-reasoner") ## Todo - [ ] 热门AI相关论文推荐 - [ ] 热门AI相关工具推荐 - [ ] FireCrawl 自动注册免费续期 ## 优化项 - [ ] 内容插入相关图片 - [x] 内容去重 - [ ] 降低AI率 - [ ] 文章图片优化 - [ ] ... ## 进阶 - [ ] 提供exe可视化界面 ## 🛠 技术栈 - **运行环境**: Deno + TypeScript - **AI 服务**: DeepseekAI Together 千问 万象 讯飞 Jina AI (see [Integration Guide](docs/jina_integration_guide.md)) - **数据源**: - Twitter/X API - FireCrawl - Jina AI (for scraping and search, see [Integration Guide](docs/jina_integration_guide.md)) - **模板引擎**: EJS - **开发工具**: - Deno - TypeScript ## 🚀 快速开始 ### 环境要求 - Deno (v2+) - TypeScript ### 安装 1. 克隆项目 ```bash git clone https://github.com/OpenAISpace/ai-trend-publish ``` 2. 配置环境变量 ```bash cp .env.example .env # 编辑 .env 文件配置必要的环境变量 # Key environment variables include API keys for various AI services. # For Jina AI functionalities (scraping, search, embeddings, reranking), # ensure JINA_API_KEY is set. See the .env.example file and the # Jina Integration Guide (docs/jina_integration_guide.md) for more details. ``` ## ⚙️ 环境变量配置 在 `.env` 文件中配置必要的环境变量: (Refer to `.env.example` for a comprehensive list of environment variables. For details on Jina AI specific setup, see the [Jina Integration Guide](docs/jina_integration_guide.md)). ## ⚠️ 配置IP白名单 在使用微信公众号相关功能前,请先将本机IP添加到公众号后台的IP白名单中。 ### 操作步骤 1. 查看本机IP: [IP查询工具](https://tool.lu/ip/) 2. 登录微信公众号后台,添加IP白名单 ### 图文指南