Discover and explore top open-source AI tools and projects—updated daily.
lucasyguAutomate Xiaohongshu content analysis and workflows with an AI-powered CLI
Top 99.3% on SourcePulse
Summary
Redbook is a powerful Command Line Interface (CLI) tool designed for interacting with Xiaohongshu (RED) content. It enables users and AI agents to search notes, analyze creators and topics, extract content templates, manage comments, and even render Markdown into Xiaohongshu-style image cards. By leveraging browser cookies for authentication, it bypasses the need for API keys, offering a direct and efficient way to access and process Xiaohongshu data for research, competitive analysis, and content strategy development.
How It Works
Redbook operates by reading authentication cookies directly from a user's Chrome browser session. It employs a three-tier cookie extraction strategy, including direct database access (sweet-cookie), a headless Chrome DevTools Protocol fallback for newer Chrome versions, and manual cookie string input. API requests are signed using TypeScript implementations of Xiaohongshu's proprietary signing algorithms for both the main API (using an x-s signature) and the creator API (using AES-128-CBC). The tool's core functionality is built around 13 composable analysis modules (A-M) that facilitate deep dives into keyword performance, audience insights, content trends, and creator strategies.
Quick Start & Requirements
npm install -g @lucasygu/redbook) or through the OpenClaw ecosystem (clawhub install redbook).Highlighted Details
Maintenance & Community
The project is integrated with AI agent ecosystems like Claude Code and OpenClaw, indicating active development and community interest in leveraging its capabilities within broader AI workflows. Specific details on core maintainers or community forums beyond these integrations are not explicitly detailed in the README.
Licensing & Compatibility
Limitations & Caveats
The tool utilizes unofficial APIs, meaning Xiaohongshu could alter or disable them at any time, potentially breaking functionality. The post command for publishing notes is noted as unreliable and prone to triggering CAPTCHAs. Users must exercise caution regarding Xiaohongshu's rate limits, even with the tool's built-in safety measures like randomized reply delays.
2 weeks ago
Inactive
portiaAI