Discover and explore top open-source AI tools and projects—updated daily.
comeonzhjAutomated social media content generation and publishing skills
Top 50.7% on SourcePulse
Summary
This project provides a set of skills for automating Xiaohongshu (Little Red Book) content creation. It addresses the need for generating visually appealing, themed posts by automating note writing, image generation (covers and cards), and optional direct publishing. It benefits users by streamlining the content production workflow for the platform.
How It Works
The system leverages Python or Node.js scripts, utilizing Playwright for browser automation to render Markdown content into styled image cards. It offers extensive customization through eight distinct visual themes and four pagination modes (separator, auto-fit, auto-split, dynamic) to manage content layout and scaling. A unified card structure ensures consistent design, with themes automatically applying to cover images, title gradients, and body card backgrounds. The generated assets (cover and body cards) can then be published directly to Xiaohongshu via a dedicated script, requiring user authentication through a cookie.
Quick Start & Requirements
Clone the repository, then install dependencies using pip install -r requirements.txt (Python) or npm install (Node.js). Both require playwright install chromium. A valid Xiaohongshu user cookie is mandatory for publishing. Setup involves cloning, dependency installation, and Playwright browser download.
Highlighted Details
separator, auto-fit, auto-split, and dynamic for flexible content rendering.Maintenance & Community
The README mentions assistance from "Cursor" during the refactoring. No specific community channels (like Discord/Slack) or detailed contributor information are provided.
Licensing & Compatibility
Licensed under the MIT License, which generally permits commercial use and integration with closed-source projects without significant restrictions.
Limitations & Caveats
Publishing functionality requires a user-specific Xiaohongshu cookie, which is prone to expiration and necessitates re-fetching. High posting frequency may trigger platform risk controls. The project's reliance on external API interactions means it could be affected by Xiaohongshu platform updates.
3 weeks ago
Inactive