Stealth Read Book — 状态栏小说阅读器
✨ 功能特性
📦 安装在 VS Code 插件市场搜索
🚀 快速开始1. 配置书籍路径按
2. 开始阅读打开任意代码文件,按 3. 鼠标点击翻页 / 隐藏插件启动时默认为隐藏状态,状态栏从左到右排布如下,直接点击图标即可操作,不依赖快捷键:
⌨️ 快捷键
⏩ 两种自动翻页模式模式一:固定间隔翻页(
|
| 编码 | 支持情况 |
|---|---|
| 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.
✨ 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
.epubfiles 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.epubfiles.
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
CtrlwithCmd
⏩ 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