# jackwener/xiaohongshu-cli

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

Repository: https://github.com/jackwener/xiaohongshu-cli
Canonical: https://ross.abutalabs.com/products/xiaohongshu-cli
Language: Python
License Family: other
Last push: 2026-03-21T05:50:37+00:00

## Health v2 (maintenance only)
Score: 48/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 73, release rhythm 35, longevity 12
- inputs: {"age_days": 178, "days_push": 165, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, young, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2534, forks 263 (observed 2026-08-28T04:06:59.087139+00:00)

## What it is
A Python CLI for Xiaohongshu (小红书/Red) that lets users search, read, and interact with notes, comments, feeds, and profiles via a reverse-engineered API. It supports cookie/QR login, posting, notifications, and structured YAML/JSON output suitable for scripting and AI agents.

## Use cases
- search xiaohongshu notes from the command line
- read xiaohongshu post comments via cli
- post image notes to xiaohongshu programmatically
- automate liking and commenting on xiaohongshu
- export xiaohongshu search results as json or yaml
- check xiaohongshu notifications and followers from terminal

## When to choose
- you want terminal access to Xiaohongshu without a browser
- you need structured output for scripts or AI agent workflows
- you want to manage posting, likes, and comments on Xiaohongshu from the CLI

## When to avoid
- you need an officially supported API with guaranteed stability
- you require a license-protected dependency for commercial use
- you need a GUI or mobile app experience

## Facets
- artifact type: cli-tool
- maturity: active
- function: http-client, web-scraping, search-engine, auth, cli
- domain: social-media, developer-tools
- platform: cli, python, cross-platform
- tags: xiaohongshu, reverse-engineered-api, social-media-cli, structured-output, anti-detection, command-line, automation

## Member repositories
- jackwener/xiaohongshu-cli (main) score 48

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:59.087139+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:25:15.525447+00:00, confidence not recorded.
  - readme: https://github.com/jackwener/xiaohongshu-cli (fetched 2026-08-28T04:06:59.087139+00:00, sha ce38aa1111a3)
  - registry_pypi: https://pypi.org/pypi/xiaohongshu-cli/json (fetched 2026-08-29T10:07:24.155289+00:00, sha c969ceadf1db)
- Data as of 2026-08-30T08:39:29.467469+00:00.
