Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Stealth Read BookNew to Visual Studio Code? Get it now.
Stealth Read Book

Stealth Read Book

wanxiong

|
1 install
| (0) | Free
摸鱼看书神器 — 在状态栏隐藏阅读小说。支持书架管理、章节跳转、EPUB 格式、多编码自动识别、速度阅读、无操作隐藏、网络小说、阅读周报统计。
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Stealth Read Book — 状态栏小说阅读器

在 VS Code / Cursor 状态栏里偷偷看小说,支持书架管理、章节跳转、EPUB、多编码自动识别、速度阅读、无操作隐藏、阅读周报统计。

version license

✨ 功能特性

  • 📖 状态栏显示 — 小说内容显示在编辑器底部,极度隐蔽;启动时默认隐藏,点击眼睛图标即可显示
  • 🖱️ 鼠标点击操作 — 状态栏左侧固定 ◀ 👁 ▶ 三个按钮,鼠标点击即可翻页与隐藏内容,按钮位置不随内容长短变化;眼睛图标与隐藏/显示状态实时联动
  • 🗂️ 书架管理 — 支持多本书切换,各自独立记忆阅读进度
  • 📑 智能章节识别 — 自动识别章/回/卷/篇/部/集/节、楔子、序章、序幕、引子、尾声、番外、后记等格式
  • 🔤 多编码自动识别 — 自动兼容 UTF-8、GBK、GB2312,无需手动转码
  • 📚 EPUB 格式支持 — 直接加载 .epub 文件,按章节顺序解析正文
  • 💾 进度记忆 — 每本书单独保存进度,切换后自动恢复
  • ⏩ 固定间隔翻页 — 设置固定秒数自动翻页,解放双手
  • 📖 速度阅读模式 — 根据阅读速度(字/分钟)动态计算翻页间隔
  • 🙈 无操作自动隐藏 — 非自动翻页时,超时无操作后内容自动消失,有操作立即恢复
  • 🌐 网络小说 — 输入 URL 直接加载在线小说,自动识别页面编码
  • 📊 阅读周报 — 记录每日阅读字数,显示 7 天柱状图统计
  • 🔴 老板键 — 一键隐藏内容,状态栏清空

📦 安装

在 VS Code 插件市场搜索 Stealth Read Book 安装,或运行:

ext install wanxiong.stealth-read-book

🚀 快速开始

1. 配置书籍路径

按 Ctrl+, 打开设置,搜索 stealth-read-book:

{
    "stealthReadBook.filePath": "C:\\novels\\book.txt",
    "stealthReadBook.bookshelf": [
        "C:\\novels\\book1.txt",
        "C:\\novels\\book2.epub"
    ]
}

支持 .txt(自动识别 UTF-8 / GBK / GB2312 编码)和 .epub 格式

2. 开始阅读

打开任意代码文件,按 Ctrl+Alt+. 翻到下一页,状态栏即显示内容。

3. 鼠标点击翻页 / 隐藏

插件启动时默认为隐藏状态,状态栏从左到右排布如下,直接点击图标即可操作,不依赖快捷键:

[◀] [👁] [▶] [章节标题 小说正文 ...    页码/总页]
  ↑   ↑   ↑        ↑
上一页 隐/显 下一页  点击打开书架
  • 三个按钮固定在左侧,不随内容文字长短移动
  • 点击 👁‍🗨(眼睛关闭)显示内容,图标变为 👁
  • 点击 👁(眼睛开启)隐藏内容,图标变为 👁‍🗨
  • 老板键(Ctrl+M)、无操作自动隐藏均会同步更新眼睛图标状态

⌨️ 快捷键

快捷键 功能
Ctrl+Alt+. 下一页
Ctrl+Alt+, 上一页
Ctrl+Alt+; 跳转到指定页码
Ctrl+Alt+T 选择章节
Ctrl+Alt+B 打开书架
Ctrl+Alt+A 固定间隔自动翻页 开/关
Ctrl+Alt+R 速度阅读模式 开/关
Ctrl+Alt+O 加载网络小说
Ctrl+Alt+W 阅读周报
Ctrl+M 老板键(隐藏内容)

Mac 用户将 Ctrl 替换为 Cmd

⏩ 两种自动翻页模式

模式一:固定间隔翻页(Ctrl+Alt+A)

按固定秒数翻页,适合挂机:

{ "stealthReadBook.autoFlipInterval": 10 }

模式二:速度阅读模式(Ctrl+Alt+R)

根据阅读速度动态计算翻页间隔,速度越快翻页越快:

翻页间隔(秒)= 每页字数 ÷ 阅读速度(字/分钟)× 60

示例:每页 50 字 ÷ 300 字/分钟 × 60 = 每 10 秒翻一页

{ "stealthReadBook.readingSpeed": 300 }

两种模式互斥,开启一种会自动停止另一种。

🙈 无操作自动隐藏

非自动翻页模式下,超过设定时间无操作后内容自动从状态栏消失:

{ "stealthReadBook.autoHideMinutes": 5 }
  • 设为 0 禁用此功能
  • 任意翻页操作均会立即恢复显示并重置倒计时
  • 自动翻页/速度阅读模式开启时不触发隐藏

🌐 加载网络小说

按 Ctrl+Alt+O,输入小说 URL,自动获取内容、识别编码、去除 HTML 标签,缓存到本地后开始阅读。

📊 阅读周报

按 Ctrl+Alt+W 打开周报面板:

════════════════════════════════════════════════════
         📚 Stealth Read Book — Weekly Report
════════════════════════════════════════════════════
  Mon 5/6     ████████░░░░░░░░    3,200 chars
  Tue 5/7     ██████░░░░░░░░░░    2,400 chars
  Wed 5/8     ░░░░░░░░░░░░░░░░        0 chars
  Thu 5/9     ████████████████    6,400 chars  ★ best
  Fri 5/10    ████░░░░░░░░░░░░    1,600 chars
  Sat 5/11    ██░░░░░░░░░░░░░░      800 chars
  Sun 5/12    ████████░░░░░░░░    3,200 chars  ← today
════════════════════════════════════════════════════
  This week: 17,600 chars    Daily avg: 2,514 chars
════════════════════════════════════════════════════

每次翻页(手动或自动)均自动记入当日字数。

📚 EPUB 支持

书架路径直接填 .epub 文件即可:

{
    "stealthReadBook.bookshelf": [
        "E:\\books\\novel.epub",
        "E:\\books\\another.txt"
    ]
}

🔤 编码支持

编码 支持情况
UTF-8(含 BOM) ✅
GBK ✅ 自动识别
GB2312 ✅ 自动识别

📑 章节识别格式

类型 示例
数字章节 第一章、第123章、第一百零八章
章/回/卷/篇/部/集/节 第三卷 天魔现世、第五回
开篇类 楔子、序章、序幕、序言、引子、前言、前传
结尾类 尾声、番外、后记、外传、终章、完结、致谢

⚙️ 完整配置说明

配置项 说明 默认值
stealthReadBook.filePath 单本模式书籍路径(.txt / .epub) ""
stealthReadBook.bookshelf 书架路径列表(.txt / .epub) []
stealthReadBook.pageSize 每页显示字数 50
stealthReadBook.autoFlipInterval 固定间隔翻页秒数 10
stealthReadBook.readingSpeed 速度阅读模式(字/分钟) 300
stealthReadBook.autoHideMinutes 无操作隐藏时间(分钟),0 禁用 5
stealthReadBook.isEnglish 英文书籍模式(加宽每页字数) false
stealthReadBook.lineBreak 换行替换符 " "
stealthReadBook.readStats 每日阅读字数(自动维护) {}

📝 注意事项

  • 快捷键需在代码编辑区域获得焦点时生效(老板键和书架除外)
  • 点击状态栏可直接打开书架
  • 网络小说缓存于系统临时目录,重启后需重新加载

📄 License

MIT


Stealth Read Book — Novel Reader for VS Code

Read novels discreetly in the VS Code / Cursor status bar while you work.
Supports bookshelf management, chapter navigation, EPUB, automatic encoding detection, speed-based auto-read, idle auto-hide, and weekly reading statistics.

version license

✨ Features

  • 📖 Status Bar Display — Content appears quietly at the bottom; hidden by default on startup, revealed with a single click
  • 🖱️ Click-to-Operate — Three buttons (◀ 👁 ▶) are pinned to the left of the status bar; click to flip pages or toggle visibility without touching the keyboard — eye icon stays in sync with every hide/show action
  • 🗂️ Bookshelf — Manage multiple books, switch instantly, each remembers its own position
  • 📑 Smart Chapter Detection — Recognizes numbered chapters, prologues, epilogues, interludes, and more
  • 🔤 Auto Encoding — Handles UTF-8, GBK, and GB2312 automatically — no manual conversion needed
  • 📚 EPUB Support — Load .epub files directly; chapters parsed in spine order
  • 💾 Progress Memory — Each book saves its own reading position independently
  • ⏩ Fixed Interval Flip — Pages turn automatically at a set number of seconds
  • 📖 Speed-Based Auto-Read — Calculates flip interval from your reading speed (chars/min)
  • 🙈 Auto-Hide on Idle — Content disappears after configurable inactivity; any action restores it instantly
  • 🌐 Online Novel — Paste a URL to load and read web novels directly
  • 📊 Weekly Report — Tracks daily reading volume and shows a 7-day bar chart
  • 🔴 Focus Mode — One key to instantly clear the status bar

📦 Installation

Search Stealth Read Book in the VS Code Extension Marketplace, or run:

ext install wanxiong.stealth-read-book

🚀 Quick Start

1. Configure your book

Open Settings (Ctrl+,), search stealth-read-book:

{
    "stealthReadBook.filePath": "C:\\novels\\book.txt",
    "stealthReadBook.bookshelf": [
        "C:\\novels\\book1.txt",
        "C:\\novels\\book2.epub"
    ]
}

Supports .txt (UTF-8 / GBK / GB2312 auto-detected) and .epub files.

2. Start reading

Open any code file and press Ctrl+Alt+. to turn to the next page. Content appears in the status bar.

3. Click-to-flip / Hide in the status bar

The plugin starts hidden by default. The status bar layout from left to right — just click the icons:

[◀] [👁] [▶] [Chapter  Novel text ...    page/total]
  ↑   ↑   ↑        ↑
prev hide next  open bookshelf
  • The three buttons are pinned to the left and never shift with content length
  • Click 👁‍🗨 (eye closed) to reveal content — icon changes to 👁
  • Click 👁 (eye open) to hide content — icon changes to 👁‍🗨
  • Focus mode (Ctrl+M) and auto-hide on idle both sync the eye icon automatically

⌨️ Keyboard Shortcuts

Shortcut Action
Ctrl+Alt+. Next page
Ctrl+Alt+, Previous page
Ctrl+Alt+; Jump to page number
Ctrl+Alt+T Chapter navigator
Ctrl+Alt+B Open bookshelf
Ctrl+Alt+A Fixed interval auto-flip On/Off
Ctrl+Alt+R Speed-based auto-read On/Off
Ctrl+Alt+O Load online novel
Ctrl+Alt+W Weekly reading report
Ctrl+M Focus mode (hide content)

Mac: replace Ctrl with Cmd

⏩ Two Auto-Flip Modes

Mode 1 — Fixed Interval (Ctrl+Alt+A)

Flips at a fixed number of seconds:

{ "stealthReadBook.autoFlipInterval": 10 }

Mode 2 — Speed-Based Auto-Read (Ctrl+Alt+R)

Calculates flip interval from your reading speed:

Interval (seconds) = pageSize ÷ readingSpeed × 60

Example: 50 chars ÷ 300 chars/min × 60 = 10 seconds per page

{ "stealthReadBook.readingSpeed": 300 }

The two modes are mutually exclusive — starting one stops the other.

🙈 Auto-Hide on Idle

Content hides automatically after N minutes of inactivity (non-auto-flip mode only):

{ "stealthReadBook.autoHideMinutes": 5 }

Set to 0 to disable. Any reading action instantly restores content and resets the timer.

🌐 Online Novel

Press Ctrl+Alt+O, enter a URL. Stealth Read Book fetches the page, strips HTML, auto-detects encoding, and saves it locally for reading.

📊 Weekly Reading Report

Press Ctrl+Alt+W to open the report panel showing the past 7 days. Every page turn (manual or auto) counts toward the day's total.

📚 EPUB Support

Add .epub paths directly to your bookshelf. The plugin parses the EPUB structure and extracts chapters in spine order. All features work identically with EPUB and TXT files.

🔤 Encoding Support

Encoding Support
UTF-8 (with or without BOM) ✅
GBK ✅ Auto-detected
GB2312 ✅ Auto-detected

📑 Chapter Formats Recognized

Type Examples
Numbered 第一章, 第123章, 第一百零八章
Variants 第X回, 第X卷, 第X篇, 第X部
Opening 楔子, 序章, 序幕, 序言, 引子, 前言, 前传
Closing 尾声, 番外, 后记, 外传, 终章, 完结, 致谢

⚙️ Full Configuration

Setting Description Default
stealthReadBook.filePath Single book path (.txt or .epub) ""
stealthReadBook.bookshelf List of book paths []
stealthReadBook.pageSize Characters per page 50
stealthReadBook.autoFlipInterval Fixed flip interval (seconds) 10
stealthReadBook.readingSpeed Auto-read speed (chars/min) 300
stealthReadBook.autoHideMinutes Idle hide timeout in minutes, 0 = off 5
stealthReadBook.isEnglish English mode (wider page) false
stealthReadBook.lineBreak Line break replacement " "
stealthReadBook.readStats Daily reading records (auto-maintained) {}

📝 Notes

  • Keyboard shortcuts require the code editor to be focused (except Focus Mode and Bookshelf).
  • Click the status bar to open the bookshelf directly.
  • Online novel content is cached in the system temp directory and must be reloaded after restart.

📄 License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft