Read novels disguised as JavaScript code comments in VS Code. Looks like coding, reads like a book.
Features
- Stealth Reading — Novel text is embedded inside
//comments of valid-looking JavaScript code - Boss Key — Press
Alt+Qto instantly hide the novel tab and switch back to your previous file - Page Navigation —
Alt+Right/Alt+Leftfor next/previous page (customizable) - Chapter Navigation — Auto-detects Chinese chapter markers (
第X章/第X回) and jumps to the exact line - Encoding Detection — Automatically detects GBK, UTF-8, and Big5 encoding — no manual conversion needed
- Multi-Book Support — Open
.txtfiles from anywhere, recent books are remembered for quick switching - Progress Persistence — Reading progress is automatically saved per book
Keybindings
| Key | Command | Description |
|---|---|---|
Ctrl+Alt+, / Cmd+Alt+, |
Open Novel | Open or restore the last reading session |
Alt+Right |
Next Page | Turn to the next page |
Alt+Left |
Previous Page | Turn to the previous page |
Alt+Q |
Boss Key | Hide / restore the novel instantly |
All keybindings can be customized via VS Code's keybindings.json.
Usage
- Press
Ctrl+Alt+,to start- First time: a file picker will open — choose any
.txtfile - Afterwards: resumes from your last reading position
- First time: a file picker will open — choose any
- Use the status bar buttons or keyboard shortcuts to navigate
- Click the progress indicator on the bottom-right to switch between recent books
Credits
This project is a rewrite of code-novel with TypeScript, modular architecture, boss key, chapter navigation, encoding detection, and customizable shortcuts.
Thanks to the original author for the inspiration 🙌