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

@reconcrap/boss-chat-cli

v1.0.5

Published

Boss chat education screening and outreach CLI

Readme

boss-chat

基于 Chrome DevTools Protocol 和 OpenAI 兼容 LLM 的 Boss 直聘聊天页教育筛选与自动沟通 CLI。

功能

  • 连接已登录、已打开聊天页的 Chrome
  • 遍历聊天列表客户卡片,读取教育信息
  • 用自定义 baseUrl + apiKey + model 调用大模型判断是否符合教育要求
  • 命中时自动生成简短话术并写入聊天框,随后发送
  • 默认记录已处理客户,避免重复触达
  • 支持选择从未读全部列表开始处理
  • 支持 --dry-run 先验证页面稳定性和命中效果

依赖

  • Node.js(建议 18+)
  • Google Chrome(需开启远程调试端口)
  • npm 包依赖:
    • chrome-remote-interface@^0.33.3

使用前准备

  1. 用远程调试模式启动 Chrome:
chrome.exe --remote-debugging-port=9222
  1. 登录 Boss 直聘并打开聊天页:
https://www.zhipin.com/web/chat/index
  1. 全局安装:
npm install -g @reconcrap/boss-chat-cli

运行

首次运行会交互式询问教育要求、话术样例、LLM 参数等配置;每次运行也可选择从未读全部开始:

boss-chat run

建议先用 dry-run:

boss-chat run --dry-run --targetCount 3

运行中控制

程序运行时可以直接用键盘控制:

  • p: 暂停;再次按 p 或按 r 继续
  • r: 继续运行
  • q: 请求停止,当前步骤结束后安全退出
  • Ctrl+C: 请求停止,当前步骤结束后安全退出

停止后仍会写入本次运行报告,已记录的客户状态也会保留。

常用参数

  • --profile <name>: 使用指定 profile
  • --dry-run: 只检查和生成文案,不实际发送
  • --no-state: 不记录已处理客户
  • --targetCount <n>: 覆盖本次检查人数
  • --educationRequirement <text>: 覆盖教育要求
  • --messageSample <text>: 覆盖话术样例
  • --start-from <unread|all>: 本次从未读或全部列表开始
  • --baseurl <url>: 覆盖 LLM base URL
  • --apikey <key>: 覆盖 LLM API key
  • --model <name>: 覆盖 LLM 模型
  • --port <n>: 覆盖 Chrome 远程调试端口

数据目录

运行产生的数据默认保存在项目下的 .boss-chat/

  • profiles/: 保存 profile 配置
  • state/: 保存已处理客户状态
  • reports/: 保存每次运行的 JSON 报告