跳到内容
当前位置:首页>电子书资讯>开源的电子书编辑器,把自己的文章和图片做成一本带目录的 EPUB

开源的电子书编辑器,把自己的文章和图片做成一本带目录的 EPUB

  • 2026-10-08 11:31:16
开源的电子书编辑器,把自己的文章和图片做成一本带目录的 EPUB

Sigil 是一款开源的 EPUB 电子书编辑器,可以整理章节、插入图片、设置封面与目录,把自己的文字资料保存成能在阅读器里打开的书。

文章和图片分散在不同文件里时,前后翻阅与查找章节不太方便。按主题排成一本电子书,再加上目录和统一样式,就能把一组资料完整带在手机或阅读器里。

🟢 上手难度:下载双击就能用 —— Windows 包 Sigil-2.8.1-Windows-x64-Setup.exe 为 140.07 MB;软件有成品,章节排版仍需学习。

🌐 界面语言:简体中文 —— 主界面提供中文,正文排版里的 HTML 与 CSS 标记仍用英文,可以对照预览理解。

能拿它干什么

  • • 把自己的长文章整理成电子书。按章节放进 EPUB,保存后用手机或电脑阅读器打开,得到一份完整可携带的资料。
  • • 给书里的章节生成可点击目录。使用正确的标题层级生成目录,读者可以直接跳到要看的部分,不用一直翻页。
  • • 把说明图片放进对应的段落里。将图片加入书内资源,再在正文引用,让文字与示意图留在同一份文件中。
  • • 给整本电子书设置统一的样式。用样式表调整标题、段落和图片呈现方式,后面改一处可以影响对应内容。
  • • 为电子书补上封面和基本信息。设置书名、作者等元数据,整理封面与资源,让文件在阅读器里更容易辨认。

它的做法不一样

  • • 能看到书的实际组成。章节、图片、字体和样式分开列在书籍浏览器里,出问题时可以找到对应文件,而不是只能改一张页面截图。
  • • 正文编辑与预览并排使用。章节内容采用 XHTML、样式采用 CSS,右侧预览帮助核对效果;标记不熟悉时,可以从简单段落和标题开始。
  • • 标准文件可以交给其他阅读器。保存的是 EPUB 2 或 EPUB 3,不要求读者安装 Sigil;实际显示还会受目标阅读器的支持程度影响。

要什么配置

  • • 一句话。Windows 10 1809 及以上的 64 位电脑,可以取得官方安装包,先制作一本小型电子书。
  • • 素材准备。用自己的文字与有使用权限的图片;大量高清图会增加书的体积,先按实际阅读需要选择分辨率。
  • • 排版学习。它不直接把一份 Word 文件完整变成同版式 EPUB,先理解段落、标题与图片引用;复杂布局再逐步加入样式。
  • • 不用什么。普通本地编辑不用注册账号、搭数据库或购买云订阅;不使用额外插件时,不需要先搭一套开发环境。

怎么跑起来

下载双击就能用,从一篇短文开始,一共四步:

  1. 1. 安装官方 x64 包并新建 EPUB,确认书籍浏览器、正文编辑区与预览区的位置。
  2. 2. 在初始章节中用段落和标题标记放入自己的文字,对照预览检查;不熟悉标记可请 AI 解释简单示例再修改。
  3. 3. 加入一张自己的图片,设置章节标题和书名,生成目录,检查目录链接是否跳到正确位置。
  4. 4. 保存 EPUB,用计划阅读的手机或电脑阅读器打开,核对中文、图片与目录;之后再添第二章。

用之前先知道这几点

  • • 它以代码编辑为主要路径。可视化预览不是完全像 Word 那样拖放排版,先做简单章节;需要额外可视化编辑时再查官方 PageEdit 路径。
  • • 不同阅读器可能呈现不同效果。复杂字体、排版和 EPUB 3 特性不一定一致,交付前在实际要用的阅读器里打开一次。
  • • 受保护的电子书不能直接当素材改写。先用自己的文本和可编辑资料练习;若 Windows 打开时提示缺少运行组件,按官方支持说明补对应运行库。

仓库地址:https://github.com/Sigil-Ebook/Sigil

基本 文件 流程 错误 SQL 调试
  1. 请求信息 : 2026-10-11 09:47:40 HTTP/1.1 GET : http://g.15386.cn/a/475486.html
  2. 运行时间 : 0.050179s [ 吞吐率:19.93req/s ] 内存消耗:4,420.66kb 文件加载:140
  3. 缓存信息 : 0 reads,0 writes
  4. 会话信息 : SESSION_ID=f301e3a82cdcd03e7eda669cdda6d907
  1. /www/wwwroot/g.15386.cn/public/index.php ( 0.79 KB )
  2. /www/wwwroot/g.15386.cn/vendor/autoload.php ( 0.17 KB )
  3. /www/wwwroot/g.15386.cn/vendor/composer/autoload_real.php ( 2.49 KB )
  4. /www/wwwroot/g.15386.cn/vendor/composer/platform_check.php ( 0.90 KB )
  5. /www/wwwroot/g.15386.cn/vendor/composer/ClassLoader.php ( 14.03 KB )
  6. /www/wwwroot/g.15386.cn/vendor/composer/autoload_static.php ( 4.90 KB )
  7. /www/wwwroot/g.15386.cn/vendor/topthink/think-helper/src/helper.php ( 8.34 KB )
  8. /www/wwwroot/g.15386.cn/vendor/topthink/think-validate/src/helper.php ( 2.19 KB )
  9. /www/wwwroot/g.15386.cn/vendor/topthink/think-orm/src/helper.php ( 1.47 KB )
  10. /www/wwwroot/g.15386.cn/vendor/topthink/think-orm/stubs/load_stubs.php ( 0.16 KB )
  11. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/Exception.php ( 1.69 KB )
  12. /www/wwwroot/g.15386.cn/vendor/topthink/think-container/src/Facade.php ( 2.71 KB )
  13. /www/wwwroot/g.15386.cn/vendor/symfony/deprecation-contracts/function.php ( 0.99 KB )
  14. /www/wwwroot/g.15386.cn/vendor/symfony/polyfill-mbstring/bootstrap.php ( 8.26 KB )
  15. /www/wwwroot/g.15386.cn/vendor/symfony/polyfill-mbstring/bootstrap80.php ( 9.78 KB )
  16. /www/wwwroot/g.15386.cn/vendor/symfony/var-dumper/Resources/functions/dump.php ( 1.49 KB )
  17. /www/wwwroot/g.15386.cn/vendor/topthink/think-dumper/src/helper.php ( 0.18 KB )
  18. /www/wwwroot/g.15386.cn/vendor/symfony/var-dumper/VarDumper.php ( 4.30 KB )
  19. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/App.php ( 15.30 KB )
  20. /www/wwwroot/g.15386.cn/vendor/topthink/think-container/src/Container.php ( 15.76 KB )
  21. /www/wwwroot/g.15386.cn/vendor/psr/container/src/ContainerInterface.php ( 1.02 KB )
  22. /www/wwwroot/g.15386.cn/app/provider.php ( 0.19 KB )
  23. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/Http.php ( 6.04 KB )
  24. /www/wwwroot/g.15386.cn/vendor/topthink/think-helper/src/helper/Str.php ( 7.29 KB )
  25. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/Env.php ( 4.68 KB )
  26. /www/wwwroot/g.15386.cn/app/common.php ( 0.03 KB )
  27. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/helper.php ( 18.78 KB )
  28. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/Config.php ( 5.54 KB )
  29. /www/wwwroot/g.15386.cn/config/app.php ( 0.95 KB )
  30. /www/wwwroot/g.15386.cn/config/cache.php ( 0.78 KB )
  31. /www/wwwroot/g.15386.cn/config/console.php ( 0.23 KB )
  32. /www/wwwroot/g.15386.cn/config/cookie.php ( 0.56 KB )
  33. /www/wwwroot/g.15386.cn/config/database.php ( 2.48 KB )
  34. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/facade/Env.php ( 1.67 KB )
  35. /www/wwwroot/g.15386.cn/config/filesystem.php ( 0.61 KB )
  36. /www/wwwroot/g.15386.cn/config/lang.php ( 0.91 KB )
  37. /www/wwwroot/g.15386.cn/config/log.php ( 1.35 KB )
  38. /www/wwwroot/g.15386.cn/config/middleware.php ( 0.19 KB )
  39. /www/wwwroot/g.15386.cn/config/route.php ( 1.89 KB )
  40. /www/wwwroot/g.15386.cn/config/session.php ( 0.57 KB )
  41. /www/wwwroot/g.15386.cn/config/trace.php ( 0.34 KB )
  42. /www/wwwroot/g.15386.cn/config/view.php ( 0.82 KB )
  43. /www/wwwroot/g.15386.cn/app/event.php ( 0.25 KB )
  44. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/Event.php ( 7.67 KB )
  45. /www/wwwroot/g.15386.cn/app/service.php ( 0.13 KB )
  46. /www/wwwroot/g.15386.cn/app/AppService.php ( 0.26 KB )
  47. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/Service.php ( 1.64 KB )
  48. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/Lang.php ( 7.35 KB )
  49. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/lang/zh-cn.php ( 13.70 KB )
  50. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/initializer/Error.php ( 3.31 KB )
  51. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/initializer/RegisterService.php ( 1.33 KB )
  52. /www/wwwroot/g.15386.cn/vendor/services.php ( 0.14 KB )
  53. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/service/PaginatorService.php ( 1.52 KB )
  54. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/service/ValidateService.php ( 0.99 KB )
  55. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/service/ModelService.php ( 2.04 KB )
  56. /www/wwwroot/g.15386.cn/vendor/topthink/think-trace/src/Service.php ( 0.77 KB )
  57. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/Middleware.php ( 6.72 KB )
  58. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/initializer/BootService.php ( 0.77 KB )
  59. /www/wwwroot/g.15386.cn/vendor/topthink/think-orm/src/Paginator.php ( 11.86 KB )
  60. /www/wwwroot/g.15386.cn/vendor/topthink/think-validate/src/Validate.php ( 63.20 KB )
  61. /www/wwwroot/g.15386.cn/vendor/topthink/think-orm/src/Model.php ( 23.55 KB )
  62. /www/wwwroot/g.15386.cn/vendor/topthink/think-orm/src/model/concern/Attribute.php ( 21.05 KB )
  63. /www/wwwroot/g.15386.cn/vendor/topthink/think-orm/src/model/concern/AutoWriteData.php ( 4.21 KB )
  64. /www/wwwroot/g.15386.cn/vendor/topthink/think-orm/src/model/concern/Conversion.php ( 6.44 KB )
  65. /www/wwwroot/g.15386.cn/vendor/topthink/think-orm/src/model/concern/DbConnect.php ( 5.16 KB )
  66. /www/wwwroot/g.15386.cn/vendor/topthink/think-orm/src/model/concern/ModelEvent.php ( 2.33 KB )
  67. /www/wwwroot/g.15386.cn/vendor/topthink/think-orm/src/model/concern/RelationShip.php ( 28.29 KB )
  68. /www/wwwroot/g.15386.cn/vendor/topthink/think-helper/src/contract/Arrayable.php ( 0.09 KB )
  69. /www/wwwroot/g.15386.cn/vendor/topthink/think-helper/src/contract/Jsonable.php ( 0.13 KB )
  70. /www/wwwroot/g.15386.cn/vendor/topthink/think-orm/src/model/contract/Modelable.php ( 0.09 KB )
  71. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/Db.php ( 2.88 KB )
  72. /www/wwwroot/g.15386.cn/vendor/topthink/think-orm/src/DbManager.php ( 8.52 KB )
  73. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/Log.php ( 6.28 KB )
  74. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/Manager.php ( 3.92 KB )
  75. /www/wwwroot/g.15386.cn/vendor/psr/log/src/LoggerTrait.php ( 2.69 KB )
  76. /www/wwwroot/g.15386.cn/vendor/psr/log/src/LoggerInterface.php ( 2.71 KB )
  77. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/Cache.php ( 4.92 KB )
  78. /www/wwwroot/g.15386.cn/vendor/psr/simple-cache/src/CacheInterface.php ( 4.71 KB )
  79. /www/wwwroot/g.15386.cn/vendor/topthink/think-helper/src/helper/Arr.php ( 16.63 KB )
  80. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/cache/driver/File.php ( 7.84 KB )
  81. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/cache/Driver.php ( 9.03 KB )
  82. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/contract/CacheHandlerInterface.php ( 1.99 KB )
  83. /www/wwwroot/g.15386.cn/app/Request.php ( 0.09 KB )
  84. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/Request.php ( 55.78 KB )
  85. /www/wwwroot/g.15386.cn/app/middleware.php ( 0.25 KB )
  86. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/Pipeline.php ( 2.61 KB )
  87. /www/wwwroot/g.15386.cn/vendor/topthink/think-trace/src/TraceDebug.php ( 3.40 KB )
  88. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/middleware/SessionInit.php ( 1.94 KB )
  89. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/Session.php ( 1.80 KB )
  90. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/session/driver/File.php ( 6.27 KB )
  91. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/contract/SessionHandlerInterface.php ( 0.87 KB )
  92. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/session/Store.php ( 7.12 KB )
  93. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/Route.php ( 23.73 KB )
  94. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/route/RuleName.php ( 5.75 KB )
  95. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/route/Domain.php ( 2.53 KB )
  96. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/route/RuleGroup.php ( 22.43 KB )
  97. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/route/Rule.php ( 26.95 KB )
  98. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/route/RuleItem.php ( 9.78 KB )
  99. /www/wwwroot/g.15386.cn/route/app.php ( 1.72 KB )
  100. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/facade/Route.php ( 4.70 KB )
  101. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/route/dispatch/Controller.php ( 4.74 KB )
  102. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/route/Dispatch.php ( 10.44 KB )
  103. /www/wwwroot/g.15386.cn/app/controller/Index.php ( 4.81 KB )
  104. /www/wwwroot/g.15386.cn/app/BaseController.php ( 2.05 KB )
  105. /www/wwwroot/g.15386.cn/vendor/topthink/think-orm/src/facade/Db.php ( 0.93 KB )
  106. /www/wwwroot/g.15386.cn/vendor/topthink/think-orm/src/db/connector/Mysql.php ( 5.44 KB )
  107. /www/wwwroot/g.15386.cn/vendor/topthink/think-orm/src/db/PDOConnection.php ( 52.47 KB )
  108. /www/wwwroot/g.15386.cn/vendor/topthink/think-orm/src/db/Connection.php ( 8.39 KB )
  109. /www/wwwroot/g.15386.cn/vendor/topthink/think-orm/src/db/ConnectionInterface.php ( 4.57 KB )
  110. /www/wwwroot/g.15386.cn/vendor/topthink/think-orm/src/db/builder/Mysql.php ( 16.58 KB )
  111. /www/wwwroot/g.15386.cn/vendor/topthink/think-orm/src/db/Builder.php ( 24.06 KB )
  112. /www/wwwroot/g.15386.cn/vendor/topthink/think-orm/src/db/BaseBuilder.php ( 27.50 KB )
  113. /www/wwwroot/g.15386.cn/vendor/topthink/think-orm/src/db/Query.php ( 15.71 KB )
  114. /www/wwwroot/g.15386.cn/vendor/topthink/think-orm/src/db/BaseQuery.php ( 45.13 KB )
  115. /www/wwwroot/g.15386.cn/vendor/topthink/think-orm/src/db/concern/TimeFieldQuery.php ( 7.43 KB )
  116. /www/wwwroot/g.15386.cn/vendor/topthink/think-orm/src/db/concern/AggregateQuery.php ( 3.26 KB )
  117. /www/wwwroot/g.15386.cn/vendor/topthink/think-orm/src/db/concern/ModelRelationQuery.php ( 20.07 KB )
  118. /www/wwwroot/g.15386.cn/vendor/topthink/think-orm/src/db/concern/ParamsBind.php ( 3.66 KB )
  119. /www/wwwroot/g.15386.cn/vendor/topthink/think-orm/src/db/concern/ResultOperation.php ( 7.01 KB )
  120. /www/wwwroot/g.15386.cn/vendor/topthink/think-orm/src/db/concern/WhereQuery.php ( 19.37 KB )
  121. /www/wwwroot/g.15386.cn/vendor/topthink/think-orm/src/db/concern/JoinAndViewQuery.php ( 7.11 KB )
  122. /www/wwwroot/g.15386.cn/vendor/topthink/think-orm/src/db/concern/TableFieldInfo.php ( 2.63 KB )
  123. /www/wwwroot/g.15386.cn/vendor/topthink/think-orm/src/db/concern/Transaction.php ( 2.77 KB )
  124. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/log/driver/File.php ( 5.96 KB )
  125. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/contract/LogHandlerInterface.php ( 0.86 KB )
  126. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/log/Channel.php ( 3.89 KB )
  127. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/event/LogRecord.php ( 1.02 KB )
  128. /www/wwwroot/g.15386.cn/vendor/topthink/think-helper/src/Collection.php ( 16.47 KB )
  129. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/facade/View.php ( 1.70 KB )
  130. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/View.php ( 4.39 KB )
  131. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/Response.php ( 8.81 KB )
  132. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/response/View.php ( 3.29 KB )
  133. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/Cookie.php ( 6.06 KB )
  134. /www/wwwroot/g.15386.cn/vendor/topthink/think-view/src/Think.php ( 8.38 KB )
  135. /www/wwwroot/g.15386.cn/vendor/topthink/framework/src/think/contract/TemplateHandlerInterface.php ( 1.60 KB )
  136. /www/wwwroot/g.15386.cn/vendor/topthink/think-template/src/Template.php ( 46.61 KB )
  137. /www/wwwroot/g.15386.cn/vendor/topthink/think-template/src/template/driver/File.php ( 2.41 KB )
  138. /www/wwwroot/g.15386.cn/vendor/topthink/think-template/src/template/contract/DriverInterface.php ( 0.86 KB )
  139. /www/wwwroot/g.15386.cn/runtime/temp/fd050d5bc34eb608e84a078b5af10b7a.php ( 8.21 KB )
  140. /www/wwwroot/g.15386.cn/vendor/topthink/think-trace/src/Html.php ( 4.42 KB )
  1. CONNECT:[ UseTime:0.000581s ] mysql:host=172.18.0.4;port=3306;dbname=g_15386;charset=utf8mb4
  2. SHOW FULL COLUMNS FROM `fenlei` [ RunTime:0.000980s ]
  3. SELECT * FROM `fenlei` WHERE `fid` = 0 [ RunTime:0.000393s ]
  4. SELECT * FROM `fenlei` WHERE `fid` = 63 [ RunTime:0.000491s ]
  5. SHOW FULL COLUMNS FROM `set` [ RunTime:0.000587s ]
  6. SELECT * FROM `set` [ RunTime:0.000330s ]
  7. SHOW FULL COLUMNS FROM `article` [ RunTime:0.000671s ]
  8. SELECT * FROM `article` WHERE `id` = 475486 LIMIT 1 [ RunTime:0.000427s ]
  9. UPDATE `article` SET `lasttime` = 1791683260 WHERE `id` = 475486 [ RunTime:0.001254s ]
  10. SELECT * FROM `fenlei` WHERE `id` = 66 LIMIT 1 [ RunTime:0.000308s ]
  11. SELECT * FROM `article` WHERE `id` < 475486 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000548s ]
  12. SELECT * FROM `article` WHERE `id` > 475486 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000374s ]
  13. SELECT * FROM `article` WHERE `id` < 475486 ORDER BY `id` DESC LIMIT 10 [ RunTime:0.000625s ]
  14. SELECT * FROM `article` WHERE `id` < 475486 ORDER BY `id` DESC LIMIT 10,10 [ RunTime:0.000658s ]
  15. SELECT * FROM `article` WHERE `id` < 475486 ORDER BY `id` DESC LIMIT 20,10 [ RunTime:0.000714s ]
0.051621s