executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
epub-exporter将小说章节导出为 EPUB 格式电子书。支持合并所有章节、生成目录、自定义封面和元数据。
Independent GitHub snapshot · Automated classification · Original documentation governs
将 Time Weaver 创作的小说章节导出为 EPUB 格式电子书,方便在手机、平板、电子阅读器上阅读。
导出小说为电子书
系统会自动:
chapters/ 目录下的所有章节文件.learnings/PUBLISH_STATUS.md 获取书名信息导出小说,书名叫《XXX》,作者 XXX
可以指定:
首次使用前需要安装 Node.js 依赖:
cd ~/.openclaw/workspace/skills/time-weaver/scripts
npm install epub-gen
生成的 EPUB 文件保存在:
~/.openclaw/workspace/skills/time-weaver/output/
文件名格式:{书名}_{日期}.epub
使用 epub-gen npm 包生成 EPUB:
const Epub = require('epub-gen');
const options = {
title: '烂尾之王',
author: 'Time Weaver',
publisher: 'Time Weaver Studio',
description: '穿越小说',
tocTitle: '目录',
content: [
{
title: '第一章:金光',
data: '<h1>第一章:金光</h1><p>...</p>'
},
// ... 更多章节
]
};
new Epub(options, outputPath);
支持的章节文件命名:
chapter_01.md, chapter_02.md ...第1章.md, 第2章.md ...chapter-1.md, chapter-2.md ...章节内容应为 Markdown 格式,会被自动转换为 HTML 嵌入 EPUB。
按优先级读取:
.learnings/PUBLISH_STATUS.md 中的书名✅ 开始导出《烂尾之王》
📖 读取到 8 个章节
📝 解析章节内容...
🎨 生成 EPUB...
✅ 导出成功!
📂 文件路径: ~/.openclaw/workspace/skills/time-weaver/output/烂尾之王_2026-03-30.epub
EPUB Exporter - 让小说随时随地可读