Preface¶
When using agents or daily conversations in DeepSeek Harness (DSH), long text often remains something you can only “look at”: you have to hunt for links to public domain books across various sites yourself, and it is difficult to place the EPUBs or PDFs in your hand into the same environment as your conversations and notes. Installing a separate audiobook app also disconnects you from the DSH model and plugin ecosystem.
Here we introduce the community plugin Search & Listen (npm package name dsh-audiobook, repository AIcivilization/dsh-audiobook): search public domain libraries, import local files, and read aloud using Edge Neural TTS, browser system voices, or offline Kokoro within the DSH right sidebar or a standalone Web panel. It supports progress memory, voice notes, and asking AI questions by chapter. Maintained by AIcivilization, licensed under MIT (see repository README).
What is this¶
Search & Listen is positioned to turn a book into an audiobook experience you can listen to within DSH—“Search for a book, or import a book, and read it to you.” Titles, authors, character names, and vague plot points can all be used to find books; voice and speed are adjustable, and it automatically remembers where you left off. The plugin is registered at dsh-plugin.org and can also be used standalone outside of DSH via npx dsh-audiobook.
Runtime requirements (from README): Node.js ≥ 20; DSH web / desktop profile; ffmpeg optional (installing it allows compressing local audio into MP3). Books, progress, notes, and other data are stored in ~/.dsh/dsh-audiobook/ on the machine running DSH.
Core Features¶
Book Search & Sources¶
The search box at the top of the panel supports searching by title, author, or “only remembering a character name / approximate plot.” The flow first guesses candidate books with the help of the selected DSH model, then matches them against book sources; once found, you can “Add to Bookshelf,” and they will appear in the book list after downloading is complete.
| Source | Description |
|---|---|
| Project Gutenberg | ~70,000 public domain books, mainly English, including some ancient Chinese texts (mostly Traditional Chinese) |
| Chinese / English Wikisource | Public domain classics, Republic of China era works, etc.; exporting large EPUBs may take a minute or two |
| Internet Archive | Public domain or CC-licensed books with text versions; scanned OCR may contain typos and will be marked |
| Standard Ebooks | Carefully proofread and formatted English public domain books |
It only integrates with public domain and authorized free sources; if a copyrighted modern book cannot be found, the README suggests purchasing a legitimate e-book and importing it yourself. You can simultaneously use the DSH “Web Search” plugin to get links, or use configurable external links like Baidu, Bing, Google, Douban Read, etc., under the search box; it supports OPDS self-built libraries (Calibre, calibre-web, Kavita, etc.), and results can be merged into the source list for one-click addition to the bookshelf. Actual downloads are initiated by the machine running DSH, and network conditions determine the availability of each source.
Import Local Files¶
Supports drag-and-drop, file selection, or filling in a local path. Formats and processing methods are detailed in the README: TXT (multi-encoding), EPUB (DRM-free), PDF (requires text layer), DOCX, Markdown / HTML; RTF / DOC are converted via textutil only on macOS. Plain text is split into chapters based on common chapter headings, otherwise segmented into paragraphs of approximately 8,000 characters.
Playback & Speed¶
The main text is segmented into chunks of approximately 20–30 seconds. The current segment is highlighted, and you can click any segment to start playing.
| Method | Key Points |
|---|---|
| Browser TTS | Uses device-built-in voices; text does not leave the device |
| Microsoft Edge (edge-tts) | Various Chinese and English neural voices; components are auto-installed on plugin startup, requires internet, text is sent to Microsoft servers |
| Local Offline Kokoro | Completely offline, ~147 MB model on first run; synthesis is slower, initial segment wait is longer |
Playback speed 0.75×–2.5×; Edge and local voices are speed-adjusted by the player without pitch change. Progress for each segment is persisted, allowing you to continue listening on a different device. If the DSH plugin “Understood” (Tingdong) is installed, its Kokoro and Edge components can be reused.
Notes, Ask AI, & Export¶
The playback bar supports voice notes (local SenseVoice, ~241 MB on first download), attaching to listening positions, AI organization of verbal thoughts, auto-titling, and browsing by date. To the left of the playback bar, you can ask the AI questions about the current chapter context, with anti-spoilers enabled by default. The notes book supports viewing by chapter / by time, searching, exporting to Markdown, and discovering import targets such as Obsidian, Logseq, and DSH note-taking plugins. The library page provides cross-book note search and “AI Help Me Review” for records from the last 7 / 30 days.
Tools Invoked in DSH Conversations¶
The README lists 8 registered tools that can be driven directly via natural language, for example:
- Find and download books:
audiobook_search,audiobook_download - Import path:
audiobook_import - Bookshelf and progress:
audiobook_books - Text search and summary:
audiobook_text - Jump to position:
audiobook_goto - Notes:
audiobook_notes,audiobook_add_note
Installation & Activation¶
First, completely exit DSH, replace desktop with your profile name, and execute:
dsh plugin --profile desktop add dsh-audiobook
Reopen DSH, open the right sidebar on the conversation page, and select “Search & Listen · Read to you”. If deploying DSH on a VPS, the README suggests accessing https://<your-domain>/api-dsh-audiobook/panel via a mobile browser; if using nginx in front, you need to increase client_max_body_size (default is about 1 MB). On a VPS, Edge or Browser TTS is recommended, as offline Kokoro has high CPU requirements.
Optional configuration is written in the profile’s cordis.patch.yml (refer to README for fields):
- id: dsh-audiobook
config:
provider: dsh-model-workbuddy-ai
model: workbuddy-ai/deepseek-v4.1-flash-sg
edge: false
ffmpeg: /opt/homebrew/bin/ffmpeg
threads: 2
workers: 2
Update and uninstallation are located in DSH “Settings → Search & Listen”; uninstallation only removes the plugin, data remains in ~/.dsh/dsh-audiobook.
Typical Usage¶
Panel Listening: After installation, enter from the right sidebar, search for public domain books or import files, select the reading method and speed.
Let AI operate in conversation (README example intents):
- “Help me find that book where the protagonist is named Jia Baoyu to listen to”
- “Organize my notes from reading Wuthering Heights“
- “Import ~/Downloads/Three-Body.epub into Search & Listen”
- “Jump to where A-Qing appears”
CLI without starting DSH (package provides the dsh-audiobook command):
npx dsh-audiobook import ~/Downloads/Book.epub
npx dsh-audiobook serve
npx dsh-audiobook list
serve opens http://127.0.0.1:4811 by default. For asking AI or organizing notes which require an OpenAI-compatible interface, you can use --base-url / --api-key / --model or environment variables AUDIOBOOK_BASE_URL, AUDIOBOOK_API_KEY, AUDIOBOOK_MODEL; if not configured, it falls back to the local dsh-model gateway.
Use Cases & Notes¶
Suitable for users who want to complete book searching, listening, note-taking, and model conversation within the same environment running DSH; public domain search, local import, offline reading, and note accumulation are the main values.
Before installation, it is recommended to read the GitHub repository source code and the MIT license yourself. The plugin runs with the permissions of the current dsh process user and can access local paths and the network; Edge reading sends text to Microsoft servers, while browser reading and local Kokoro/SenseVoice recognition are handled locally or within agreed boundaries as described in the README. Microsoft Edge TTS relies on unofficial edge-tts paths and carries a risk of failure. For copyrighted works, please obtain them through legitimate channels and import them; do not expect the plugin to provide unauthorized books.
Community directory page (no official affiliation with DeepSeek / High-Flyer): skillhub.cn plugin page. The DSH ecosystem adheres to “everything is a plugin,” and Search & Listen is a capability implementation for audiobook reading / reading notes; for the current npm version, see package metadata (e.g., 0.6.0).
Conclusion¶
Search & Listen threads public domain book source retrieval, multi-format import, multi-path TTS, progress and notes, and conversation-side tools into DSH, allowing long-form reading to be done by “listening and noting, asking and jumping.” For detailed commands, data directory structure, and development module division, refer to the repository README.
- Directory Page: https://www.skillhub.cn/plugins/AIcivilization/dsh-audiobook
- GitHub: https://github.com/AIcivilization/dsh-audiobook