redbook is a command-line tool designed for interacting with Xiaohongshu (also known as Little Red Book), a popular social media platform. It enables users to search for notes, read content, analyze bloggers, and publish image-and-text posts directly from the terminal. The tool is intended for users who require programmatic or automated access to Xiaohongshu content, such as researchers or developers seeking to conduct competitive analysis, study influencers, or explore trending topics.
Authentication is handled via browser cookies, specifically by reading session cookies from Chrome using the sweet-cookie method. This approach eliminates the need for an API key, browser automation, or headless Chrome, relying solely on HTTP requests for its operations. The tool employs a dual-signature system: the primary API for data retrieval uses a 144-byte x-s signature, while the creator API for publishing content utilizes AES-128-CBC signatures.
redbook provides a variety of commands, including checking the current user connection, searching for notes by keyword, reading individual notes, retrieving note comments, viewing user profiles, listing all notes by a user, accessing recommended feed content, searching for topic tags, and posting image-and-text notes. After installation, it also registers itself as a Claude Code skill, allowing users to leverage AI-driven research features within Claude Code, such as competitor analysis, influencer studies, and topic research, by using the /redbook command.
The tool is distributed via npm and can be installed globally for use in the terminal.
In the CLI tools & terminal space, redbook takes a focused approach. 让开发者和研究者通过命令行高效访问和操作小红书内容。. It is built as an open-source project for 开发者和数据分析师. redbook is open source under the MIT license. The product ships for the command line.
lucasygu builds and maintains redbook, and the product first shipped in 2026. Development happens publicly on GitHub with 359 stars and 7 commits in the last 90 days. Key capabilities include 搜索笔记, 阅读内容, and 分析博主. The interface is available in English and Chinese.
Latest indexed changes and source events
Other apps tracked under the same category.