Discover and explore top open-source AI tools and projects—updated daily.
autoclaw-ccBrowser automation for social media content operations
New!
Top 63.6% on SourcePulse
This project provides a Python-based automation engine for Xiaohongshu (Little Red Book), enabling AI Agents and developers to programmatically interact with the platform. It addresses the need for automated content creation, discovery, and social engagement, targeting AI platforms like OpenClaw and Claude Code, as well as users requiring CLI automation for repetitive tasks. The primary benefit is the ability to control complex Xiaohongshu operations through natural language commands or scripts.
How It Works
The system employs a two-layer architecture. The top layer consists of SKILL.md files, which define the capabilities and intent routing for AI Agents, allowing them to understand and orchestrate Xiaohongshu tasks. The engine layer is a Python-based automation framework using the Chrome DevTools Protocol (CDP) to directly control a Google Chrome browser instance. This approach allows for robust interaction with the web application, including sophisticated anti-detection mechanisms and human-like behavior simulation.
Quick Start & Requirements
Installation involves placing the project directory into an AI Agent's skills folder (e.g., OpenClaw/skills/xiaohongshu-skills/) or cloning it directly. After placing the files, install Python dependencies using uv sync within the project directory.
scripts/cli.py and scripts/chrome_launcher.py.Highlighted Details
xhs/selectors.py, simplifying updates when Xiaohongshu's UI changes.window.__INITIAL_STATE__ for efficient data retrieval.Licensing & Compatibility
The project is released under the MIT license. This permissive license generally allows for commercial use, modification, and distribution, including integration into closed-source applications.
Limitations & Caveats
This automation tool is dependent on the Google Chrome browser and the stability of the Chrome DevTools Protocol. Xiaohongshu's frequent UI updates may necessitate ongoing maintenance of the CSS selectors and automation logic. While anti-detection measures are in place, aggressive platform-side bot detection could still lead to account issues or operational failures.
4 days ago
Inactive
browserbase