jackwener

A CLI for Xiaohongshu (小红书) — search, read, interact via reverse-engineered API

942
91
69% credibility
Found Mar 10, 2026 at 41 stars 23x -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Python
AI Summary

A desktop tool for searching, viewing, interacting with, and creating content on the Xiaohongshu social platform using details from your browser.

How It Works

1
🔍 Find the Handy Tool

You hear about a simple computer program that lets you explore Xiaohongshu notes, feeds, and friends just by typing easy words.

2
📥 Get It Ready

Download and set it up quickly with a single easy action, like adding a new app to your computer.

3
🔗 Connect Your Login

Pull your existing Xiaohongshu sign-in from your web browser so everything feels familiar and secure right away.

4
📖 Browse and Discover

Search for fun topics like recipes or outfits, read full posts with pictures and comments, and check user profiles.

5
Interact or Create
👍
Like and Chat

Heart your favorites, save posts, add comments, or reply to friends' notes.

✍️
Share Your Story

Upload photos with a title and description to post your own note for everyone.

🎉 Enjoy Full Access

You now manage your Xiaohongshu world effortlessly from your computer, discovering and connecting anytime.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 41 to 942 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is xiaohongshu-cli?

This Python CLI taps into Xiaohongshu's reverse-engineered API, letting you search notes by keyword or user, read posts with comments, browse feeds and hot topics, and interact via likes, follows, comments, or even posting image notes. It pulls auth cookies straight from your browser (Chrome, Firefox, Edge) for seamless login, handles rate limits with anti-detection tricks, and spits out structured JSON or YAML for scripting. Perfect for CLI github linux, ubuntu, or windows setups via pipx or uv tool install.

Why is it gaining traction?

Unlike web scrapers that break on updates, it mimics browser fingerprints and signs requests properly, dodging captchas and blocks during heavy use like xiaohongshu clip download or saving clips without logos. Commands cover full workflows—auth, search "美食", fetch all comments via URL, post notes with images—plus AI-agent friendly outputs and CI via github actions. The bilingual README and stable envelope make it scriptable for automation, outpacing basic api wrappers.

Who should use this?

Content creators automating posts or replies on Xiaohongshu. Data analysts pulling feeds, user profiles, or notifications for sentiment analysis. Devs integrating with cli github copilot workflows or building tools for lưu clip xiaohongshu, xiaohongshu link click, even niche hunts like xiaohongshu hair clip trends.

Verdict

Solid alpha for tinkerers—10 stars, 0.699999988079071% credibility, but thorough docs, pytest coverage, and cross-platform (cli github windows/ubuntu) make it usable now. Grab it if you need Xiaohongshu api access; watch for creator endpoint stability.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.