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

claude-slack-off

v0.1.2

Published

A CLI tool disguised as Claude Code for reading ebooks and browsing the web

Downloads

360

Readme

claude-slack-off

English

一个伪装成 Claude Code 的程序员摸鱼 CLI 工具。看起来你在用 AI 辅助编程 —— 实际上你在看小说。

功能特性

  • 电子书阅读器 — 在终端中阅读 .txt.epub 文件,支持 vim 风格导航
  • 网页浏览器 — 抓取网页并渲染为 Markdown,数字键跟踪链接
  • 伪装模式 — 一键 (Ctrl+S) 将阅读内容变成 Claude Code 风格的代码输出
    • 文本隐藏在代码注释中,周围包裹真实的代码骨架
    • 打字机效果,随机速度波动
    • 假状态消息("Reading file..."、"Running tests...")
    • 多语言模板:TypeScript、Python、Go、Rust
  • 书签与历史 — 阅读进度自动保存,网页浏览历史和收藏夹

安装

npm install -g claude-slack-off

使用方法

# 阅读电子书
claude-slack-off read ~/books/三体.txt

# 直接以伪装模式启动
claude-slack-off read ~/books/小说.txt -d --lang py

# 浏览网页
claude-slack-off browse https://news.ycombinator.com

# 查看阅读历史和收藏
claude-slack-off list

快捷键

全局

| 按键 | 功能 | |------|------| | Ctrl+S | 切换伪装模式 | | Tab | 切换阅读/浏览模式 | | q | 退出 |

阅读器(正常模式)

| 按键 | 功能 | |------|------| | j / | 下一页 | | k / | 上一页 | | g / G | 跳到开头 / 末尾 | | / | 搜索文本 | | n / N | 下/上一个搜索结果 | | t | 目录(EPUB 章节列表) |

浏览器(正常模式)

| 按键 | 功能 | |------|------| | o | 输入 URL | | 1-9 | 跟踪链接 | | H / L | 后退 / 前进 | | r | 刷新 | | Ctrl+B | 添加收藏 |

伪装模式

仅以下按键有效,其余全部静默忽略:

| 按键 | 功能 | |------|------| | Ctrl+S | 退出伪装模式 | | j / | 下一段代码 | | k / | 上一段代码 | | q | 退出 |

命令行选项

选项:
  -d, --disguise     以伪装模式启动
  --speed <n>        打字速度 1-10(默认: 5)
  --lang <lang>      代码语言: ts/py/go/rs(默认: ts)
  -h, --help         显示帮助
  -v, --version      显示版本

伪装模式原理

你的阅读内容会被嵌入到看起来真实的代码注释中:

async function processRequest(handler: RequestContext): Promise<void> {
  // 汪淼骑着自行车穿过喧闹的城市街道
  // 心中充满了困惑
  const result = await this.handleEvent();
  // 那些科学家接连自杀的消息
  // 如同一记记重锤
  if (events.impact > THRESHOLD) {
    // 敲打着他原本平静的生活
    rider.state = 'confused';
  }
  return handler;
}

开发

git clone https://github.com/user/claude-slack-off
cd claude-slack-off
npm install
npm run dev -- read tests/fixtures/sample.txt
npm test

技术栈

许可证

MIT