explaingit

duliangkuan/fengyun-publish

13PythonAudience · writerComplexity · 4/5Setup · hard

TLDR

A 19-stage Python pipeline that automates a WeChat Official Account from trending topic selection through AI writing, three-track review, layout, illustration, and final draft submission, no human steps in between.

Mindmap

mindmap
  root((fengyun-publish))
    What it does
      WeChat article automation
      19-stage pipeline
      Topic to draft in one run
    Key Stages
      Topic discovery via RSS
      AI article drafting
      Three-track review loop
      Layout and illustration
      WeChat API submission
    Review Tracks
      Engagement score
      Voice consistency check
      Opening quality check
    Use Cases
      Solo content creator
      WeChat account operator
      AI writing pipeline
    Setup
      Windows required
      Docker for RSS services
      Anthropic API key needed
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Run the full WeChat article pipeline automatically from trending topic selection to a finished draft sitting in the drafts inbox ready to publish.

USE CASE 2

Use the three-track AI review loop to score engagement, check voice consistency, and evaluate the opening before any draft moves forward.

USE CASE 3

Generate cover images and in-article illustrations automatically as part of the publishing pipeline using an image generation service.

USE CASE 4

Pull trending topics from RSS feeds of other public accounts and academic paper lists and score them to pick the best one for the day.

Tech stack

PythonDockerAnthropic Claude

Getting it running

Difficulty · hard Time to first run · 1day+

Requires Windows, Docker for RSS feed services, an Anthropic API key, and a configured WeChat Official Account with API access credentials.

No license information is mentioned in the explanation.

In plain English

fengyun-publish is a Python-based automation pipeline that runs the full publishing workflow for a solo-operated WeChat Official Account called "Research Agent Cloud." The pipeline takes a topic from initial selection all the way to a finished draft sitting in the WeChat drafts inbox, ready for the author to approve and publish with one tap. No human steps are required in between. The process has 19 stages, each building on the previous. It starts by gathering trending topics from several sources, including RSS feeds from other public accounts and academic paper lists, then picks the most relevant one using a scoring system. An AI writing assistant then drafts the full article based on the selected topic and the account's established writing style. Once a draft exists, it goes through a three-track review. One track scores the article numerically on dimensions like predicted engagement. A second track asks whether the article fits the voice and sensibility of the account. A third track checks whether the opening reads like something the author would genuinely publish. All three tracks vote independently, and a set of rules decides whether the draft proceeds, needs revision, or is stopped. If revisions are needed, the system loops up to three times before making an automatic final decision. After passing review, the pipeline handles layout using a specific typographic style with warm ivory backgrounds and clay-orange accents, generates cover images and in-article illustrations via an image generation service, and pushes the assembled draft to WeChat via its API. A gating script checks that each previous step actually ran and did not produce a placeholder result before allowing the publish call to proceed. The setup requires Windows, Python, Docker for RSS feed services, and an Anthropic API key. Configuration is done through a single environment file. The repository includes 48 scripts in a tools folder, documentation for technical decisions, and research reports from earlier development phases. Corpus data from other authors and private drafts are not included in the public release.

Copy-paste prompts

Prompt 1
Set up fengyun-publish with my Anthropic API key and WeChat credentials, then run the full 19-stage pipeline to produce a draft article on a trending AI research topic.
Prompt 2
Modify the review loop configuration in fengyun-publish to raise the maximum revision cycles from 3 to 5 and lower the engagement score threshold for proceeding.
Prompt 3
Add a new RSS feed source to the topic discovery stage in fengyun-publish pointing to a specific newsletter so it competes with the existing sources during scoring.
Open on GitHub → Explain another repo

← duliangkuan on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.