返回顶部
🇺🇸 English
🇨🇳 简体中文
🇨🇳 繁體中文
🇺🇸 English
🇯🇵 日本語
🇰🇷 한국어
🇫🇷 Français
🇩🇪 Deutsch
🇪🇸 Español
🇷🇺 Русский
a

ai-content-pipeline

An end-to-end AI Content Pipeline that crawls articles, rewrites them using Google Gemini, and automatically publishes to Facebook Fanpage.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
134
下载量
0
收藏
概述
安装方式
版本历史

ai-content-pipeline

# 🤖 OpenClaw AI Content Pipeline (Analyze + Publish) ## Purpose This is a production-ready OpenClaw Skill that merges a Web Crawler, an AI Rewriter (Google Gemini), and a Facebook Auto-Publisher into one seamless pipeline. It reads URLs (news articles or Facebook posts), rewrites them into engaging social media captions, and posts them directly to your Fanpage. ## Core Capabilities - **Analyze Mode**: Extracts data from URLs via Python `requests`/`BeautifulSoup` (for static news) or `Apify` (for JS-heavy content like Facebook). Generates localized rewritten text via Gemini 2.5 Flash. - **Publish Mode**: Pushes the generated content directly to a Facebook Page via Graph API v21.0. - **Batch Processing**: Can ingest URLs line-by-line from a text file, process them in bulk, and save JSON reports. ## Architecture Map - `run.bat` / `main.py` ← Central Orchestrators (CLI Entry points) - `agents/crawler_agent.py` ← Hybrid Crawler (Native + Apify API) - `agents/writer_agent.py` ← AI Content Generator (Gemini Integration) - `agents/fb_publisher_agent.py` ← Graph API Poster (Messages & Images) - `config.py` ← Environment Loader & System Validation ## Setup & Environment Ensure you create a `.env` file at the root with the following variables: ```env # AI Models GEMINI_API_KEY=... OPENAI_API_KEY=... # Optional: For DALL-E 3 image generation # Scraping APIFY_API_TOKEN=... # Facebook Graph API FB_APP_ID=... FB_APP_SECRET=... FB_PAGE_ID=... FB_PAGE_ACCESS_TOKEN=... ``` ## Usage commands From your terminal, run the following commands (Windows `run.bat` wrappers): ### 1. Analyze (Test scrape and text rewrite) ```cmd # Analyze a single URL run.bat analyze "https://vnexpress.net/..." # Analyze and save as JSON run.bat analyze "https://dantri.com.vn/..." --save # Batch analyze from a text file run.bat analyze-file urls.txt ``` ### 2. Publish (Post directly to Facebook) ```cmd # Test Graph API Token connection run.bat test run.bat test-post # Full pipeline (Crawl -> Rewrite -> Post to Fanpage) run.bat run "https://dantri.com.vn/..." # Pipeline dry-run (No actual post) run.bat dry "https://dantri.com.vn/..." ```

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 asdsadasd-1776088155 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 asdsadasd-1776088155 技能

通过命令行安装

skillhub install asdsadasd-1776088155

下载 Zip 包

⬇ 下载 ai-content-pipeline v1.0.0

文件大小: 31.32 KB | 发布时间: 2026-4-17 14:07

v1.0.0 最新 2026-4-17 14:07
ai-content-pipeline 2.0.0 introduces an all-in-one automated workflow for AI-based article rewriting and social media publishing.

- Combines web crawling, AI rewriting (Google Gemini), and Facebook posting into a seamless pipeline.
- Supports extraction from both static news sites and dynamic content (e.g., Facebook) using BeautifulSoup or Apify.
- Generates engaging, localized captions automatically via Gemini 2.5 Flash.
- Enables batch processing of URLs and JSON reporting.
- Simple command-line interface for analyzing, rewriting, and posting content directly to your Facebook Fanpage.
- Configuration via `.env` file for API and platform integration.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部