# Cloxl/xhshow

小红书xs纯算 小红书x-s x-s-common xsc 等字段 纯算逆向

Repository: https://github.com/Cloxl/xhshow
Canonical: https://ross.abutalabs.com/products/xhshow
Language: Python
License: MIT
License Family: permissive
Last push: 2026-06-11T11:35:34+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 87, release rhythm 76, longevity 51
- inputs: {"age_days": 721, "days_push": 83, "days_rel": 83, "gap_med": 32, "n_releases_24m": 10}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1052, forks 269 (observed 2026-08-28T04:03:23.558463+00:00)

## What it is
A pure-algorithm Python library that generates Xiaohongshu (XHS/RedNote) request signature headers such as x-s, x-s-common, x-t, and x-rap-param without a browser. It is distributed on PyPI as 'xhshow' and supports both GET and POST API signing plus helper fields like a1/web_id cookies and search IDs.

## Use cases
- sign xiaohongshu api requests with x-s headers
- generate x-s-common header for xhs api
- scrape xiaohongshu notes without a browser
- compute x-rap-param risk control header
- generate a1 and web_id cookies for xhs
- get search_id for xiaohongshu search api

## When to choose
- you need to call Xiaohongshu web APIs programmatically with valid signature headers
- you want a pure-algorithm signer instead of running headless browsers or JS hooks
- you need both GET and POST signing plus x-rap-param for feed/search/publish endpoints

## When to avoid
- you target platforms other than Xiaohongshu
- you need a maintained official API client rather than reverse-engineered signing
- your use case may violate the platform's terms of service or anti-bot policies

## Facets
- artifact type: library
- maturity: active
- function: security, http-client, web-scraping, cryptography
- domain: web-development, security, developer-tools, crawlers
- platform: python, cross-platform
- tags: xiaohongshu, request-signing, reverse-engineering, api-signature, x-s-header, anti-bot

## Member repositories
- Cloxl/xhshow (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:23.558463+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-30T06:59:40.588037+00:00, confidence not recorded.
  - readme: https://github.com/Cloxl/xhshow (fetched 2026-08-28T04:03:23.558463+00:00, sha b25c9ed2cecd)
  - registry_pypi: https://pypi.org/pypi/xhshow/json (fetched 2026-08-29T13:01:12.756682+00:00, sha 849350edffb4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
