Trend Finder 收集并分析来自关键影响者的帖子,然后在检测到新趋势或产品发布时发送 Slack 通知。这完全改变了 @firecrawl_dev 营销团队的游戏规则:
- 节省通常手动搜索社交渠道的时间
- 让您随时了解相关的实时对话
- 能够快速响应新机会或新兴行业变化
花更少的时间寻找趋势,花更多的时间创建有影响力的营销活动。
主要功能
- 🤖 使用 Together AI 进行 AI 驱动的趋势分析
- 📱 社交媒体监控(Twitter/X 集成)
- 🔍 Firecrawl 集成,用于增强数据爬取
- 📊 实时趋势检测和分析
- 💬 即时 Slack 通知
- ⏱️ 使用 cron 作业进行计划监控
- 🎯 Express.js 后端,性能可靠
技术实现
-
数据采集 📥
- 使用他们的 API 监控选定的影响者在 Twitter/X 上的帖子
- 使用 Firecrawl 收集其他 Web 数据和上下文
- 使用 cron 作业按计划运行
-
AI 分析 🧠
- 通过 Together AI 处理收集的内容
- 识别新兴趋势和模式
- 检测产品发布和重要对话
- 分析情绪和相关性
-
通知系统 📢
- 当检测到重要趋势时,发送即时 Slack 通知
- 提供有关趋势及其来源的背景信息
- 能够快速响应新出现的机会
-
实例 💡
- 多个科技影响者开始讨论新的 AI 工具
- Trend Finder 实时检测此模式
- 您的营销团队通过 Slack 收到通知
- 您可以快速创建内容或尽早与趋势互动
安装和使用
先决条件
- Node.js(v14 或更高版本)
- npm 或 yarn
- 码头工人
- Docker Compose
- 具有 Webhook 权限的 Slack 工作区
- 所需服务的 API 密钥
环境变量
复制到并配置以下变量:.env.example.env
# Required: API key from Together AI for trend analysis (https://www.together.ai/)
TOGETHER_API_KEY=your_together_api_key_here
# Optional: API key for Firecrawl services - needed only if monitoring web pages (https://www.firecrawl.dev/)
FIRECRAWL_API_KEY=your_firecrawl_api_key_here
# Optional: Twitter/X API Bearer token - needed only if monitoring Twitter/X trends (https://developer.x.com/)
X_API_BEARER_TOKEN=your_twitter_api_bearer_token_here
# Required: Incoming Webhook URL from Slack for notifications
SLACK_WEBHOOK_URL=https://hooks.slack.com/services/YOUR/WEBHOOK/URL
开始安装
-
克隆存储库:
git clone [repository-url] cd trend-finder
-
安装依赖项:
npm install
-
配置环境变量:
cp .env.example .env # Edit .env with your configuration
-
运行应用程序:
# Development mode with hot reloading npm run start # Build for production npm run build
使用 Docker
-
构建 Docker 镜像:
docker build -t trend-finder .
-
运行 Docker 容器:
docker run -d -p 3000:3000 --env-file .env trend-finder
使用 Docker Compose
-
使用 Docker Compose 启动应用程序:
docker-compose up --build -d
-
使用 Docker Compose 停止应用程序:
docker-compose down