npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@maxzhang666/n8n-nodes-sau

v0.1.16

Published

n8n community node for Xiaohongshu (小红书) API integration

Readme

@maxzhang666/n8n-nodes-sau

这是一个n8n社区节点,让你可以在n8n工作流中使用小红书(Xiaohongshu) API。

功能

笔记操作

  • 发布笔记 - 发布一篇小红书笔记(支持图片和视频)
  • 搜索笔记 - 根据关键词搜索小红书笔记
  • 笔记互动 - 对指定笔记进行点赞、收藏、评论等操作
  • 获取互动统计数据 - 获取笔记的点赞、收藏、评论数据
  • 获取图片资源 - 获取笔记中的图片资源链接
  • 获取视频资源 - 获取笔记中的视频资源链接
  • 获取笔记基础信息 - 获取笔记的基础内容信息

用户操作

  • 搜索用户 - 搜索小红书平台的用户
  • 获取用户笔记 - 获取指定用户发布的笔记列表

登录操作

  • 获取登录二维码 - 获取登录用的二维码
  • 二维码登录 - 执行二维码登录

凭证

使用此节点需要依赖一个SAU服务:

API 配置

  1. API Key: 用于认证的 API 密钥
  2. Domain: API 服务地址
    • 格式:http://ip:端口
    • 如果 n8n 和 API 服务在同一个 Docker 容器内,通常使用:http://host.docker.internal:端口
    • 本地测试可以使用:http://localhost:3000

配置步骤

  1. 在 n8n 中,转到"凭证" > "新增"
  2. 搜索"Xiaohongshu API"
  3. 输入你的 API Key
  4. 输入你的 API 服务地址
  5. 点击"测试连接"验证配置
  6. 保存凭证

兼容性

兼容 [email protected] 或更高版本

使用

示例:发布笔记

  1. 添加"Xiaohongshu"节点到你的工作流
  2. 选择凭证
  3. 选择资源:"笔记"
  4. 选择操作:"发布笔记"
  5. 填写笔记标题和内容
  6. 选择媒体类型(图片或视频)
  7. 提供图片或视频的路径/URL
  8. 可选:添加标签、设置隐私选项

示例:搜索笔记

  1. 添加"Xiaohongshu"节点
  2. 选择资源:"笔记"
  3. 选择操作:"搜索笔记"
  4. 输入搜索关键词
  5. 设置结果数量限制
  6. 可选:配置筛选条件(排序方式、内容类型、时间范围等)

示例:获取用户笔记

  1. 添加"Xiaohongshu"节点
  2. 选择资源:"用户"
  3. 选择操作:"获取用户笔记"
  4. 输入用户主页 URL
  5. 设置结果数量限制

资源

许可证

MIT

作者

maxzhang ([email protected])