AIWriteX  by iniwap

微信公众号自动化文章生成与发布

Created 5 months ago
309 stars

Top 86.9% on SourcePulse

GitHubView on GitHub
Project Summary

AIWriteX is an automated WeChat public account content generation and publishing tool. It leverages CrewAI and AIForge to fetch trending topics from platforms like Douyin and Weibo, then uses a "search + reference + AI" approach to create timely, high-quality articles with advanced formatting, and automatically publishes them to WeChat. This tool is designed for content creators and marketers seeking to streamline their WeChat official account operations.

How It Works

The system orchestrates multiple AI agents using CrewAI to perform tasks like topic research, content generation, and formatting. AIForge, a custom library, enhances the search capabilities by employing multi-stage search strategies to ensure content freshness and relevance. The process integrates user-defined topics, reference articles, and customizable templates to produce articles that are then published to WeChat, with options for automated or manual publishing.

Quick Start & Requirements

  • Installation: Clone the repository (git clone https://github.com/iniwap/AIWriteX.git), install dependencies using uv (uv venv, uv pip install ./PySimpleGUI-4.60.5-py3-none-any.whl, uv pip install -r requirements.txt). Alternatively, download and run the AIWriteX_云盘版_Setup.exe installer for a software mode.
  • Prerequisites: WeChat Official Account AppID/AppSecret, API keys for LLM providers (e.g., OpenRouter), Python environment.
  • Configuration: Requires editing config.yaml and aiforge.toml or using the UI for setup.
  • Running:
    • Dev Mode (Recommended): python .\main.py -d (UI mode) or python -m src.ai_write_x.crew_main (CLI mode).
    • Software Mode: Run the installed executable.
  • Links: Article Preview, Quick Start

Highlighted Details

  • Supports multiple LLM providers via OpenRouter, allowing model selection and account switching.
  • Features a UI for visual management of configurations, templates, and article publishing.
  • Offers two modes: "Development Mode" for customization and "Software Mode" for non-technical users.
  • Includes built-in templates for various categories and supports custom templates for advanced formatting.

Maintenance & Community

The project is actively developed, with recent updates focusing on the AIForge library. Community support and contributions are encouraged. Contact is available via QQ (522765228) for inquiries and commercial licensing.

Licensing & Compatibility

Licensed under Apache License 2.0 with additional restrictions detailed in the NOTICE file. Commercial use and linking with closed-source projects may be subject to these restrictions.

Limitations & Caveats

WeChat's platform has limitations on CSS (e.g., position: absolute removal) and animation support, affecting template rendering. Dark mode rendering is suboptimal due to WeChat's handling. Uncertified accounts may face publishing restrictions after July 2025, potentially limiting automated posting to drafts. WeChat API requires IP whitelisting, which can be an issue for dynamic IPs.

Health Check
Last Commit

20 hours ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
5
Star History
37 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.