百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
F

fb2converter

> 编程语言
开源

[已弃用] 将 FB2 文件转换为 epub2、kepub、mobi 和 azw3 格式的统一转换器。

377 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

[已弃用] 将 FB2 文件转换为 epub2、kepub、mobi 和 azw3 格式的统一转换器。

  FB2 converter to EPUB2, KEPUB, MOBI 7/8, AZW3

[!CAUTION]

As of verion 1.78.5 this project has reached End of Life

fb2converter is no longer under active development. This repository is now archived.

Successor projects

This project has been superseded by purpose-built replacements that offer improved functionality and ongoing support:

  • fb2cng — the next-generation FB2 conversion engine, providing faster, more accurate, and actively maintained e-book conversion.
  • sync2kindle — handles device synchronization with capabilities that go well beyond the original "Send to Kindle" workflow.

All users are strongly encouraged to migrate to these projects.

A complete rewrite of fb2mobi

Aims to be faster than python implementation and much easier to maintain. Simpler configuration, zero dependencies, better diagnostics and no installation required.

Russian WiKi and forum.

Essential differences:

  • no UI: use Libro or MyHomeLib
  • no XSL pre-processing (see document.transform configuration instead)
  • no XML configuration - use TOML, YAML or JSON format instead
  • no "default" external configuration, path to configuration file has to be supplied - always
  • no overwriting of configuration parameters from command line, options either specified in configuration file or on command line
  • slightly different hyphenation algorithm (no hyphensReplaceNBSP)
  • fixes and enhancements in toc.ncx generation
  • go differs in how it processes images, it is less forgiving than Python's PILLOW and do not have lazy decoding (see use_broken_images configuration option)
  • small changes in result formatting, for example:
    • chapter-end vignette would not be added if chapter does not have text paragraphs
    • html tags unknown to fb2 spec may be dropped depending on context
    • page size is calculated based on proper Unicode code points rather than byte size
    • ...
  • full support for kepub format
  • processing of files, directories, zip archives and directories with zip archives - no special consideration is made for .fb2.zip files.
  • flexible output path/name formatting (starting with 1.78.0 formatting could be specified using proper template language, rather than fb2mobi #tag(s))
  • fb2c could be build for any platform supported by go language. If mobi or azw3 are required additional limitations are imposed by Amazon's kindlegen
  • fb2c has no dependencies and does not require installation or any kind

Installation:

Download from the releases page and unpack it in a convenient location.

  • Starting with v1.60.1 macOS releases for Intel and Apple silicon are build separately. I do not have kindlegen for Apple Silicon - not sure if one even exists, so manage your expectations.

  • Starting with v1.58.0 releases are packed with zip and signed with minisign. Here is public key for verification:

      RWTNh1aN8DrXq26YRmWO3bPBx4m8jBATGXt4Z96DF4OVSzdCBmoAU+Vq

Usage:

Configuration is fully documented here. In order to customize program behavior use "export" command to the directory of your choice and then supply path to your configuration file during program run.

Program has detailed logging configured by default (by default conversion.log in current working directory) - in case of problems, take a look there first.

…

Additional help for any command could be obtained by running ./fb2c help COMMAND-NAME.

Examples:

In order to convert all fb2 files in c:\books\to-read directory and get results in d:\out directory without keeping original subdirectory structure sending files to Kindle via e-mail in process execute

fb2c.exe convert --nodirs --stk --to epub c:\books\to-read d:\out

If you want resulting mobi files to be located alongside with original files, do something like

fb2c.exe convert --to mobi c:\books\to-read c:\books\to-read

MyHomeLib support:

Windows builds come with full MyHomeLib support. Just make sure that your MyHomeLib\converters directory does not contain old fb2mobi and/or fb2epub subdirectories and unpack Windows distribution file for your archtecture there. It is a drop-in replacement and should be functional out of the box in most cases.

NOTE:

  • fb2mobi.exe looks for fb2mobi.toml in its directory (similarly fb2epub.exe looks for fb2epub.toml), so any additional customization is easy.
  • Do not install MyHomeLib in either %ProgramFiles% or %ProgramFiles(x86)% directory - it is bad idea. Since for regular user accounts In Windows those places are write-protected you will have difficulties copying converters there and converters will have problems creating conversion logs which are enabled by default.

BREAKING CHANGES:

  • Starting with version 1.62.0 "Send to Kindle" functionality supported for EPUB files only. This reflects current Amazon intention to completely drop MOBI support on backend. As the result converter drops "transfer" subcommand, disables sending of MOBI files via e-mail and moves support for this from fb2mobi to fb2epub.
  • Starting with version 1.64.0 --debug flag produces zip archive with artifacts for debugging either in directory of the converter or if it is inaccessible in temporary directory. Environment variable FB2C_DEBUG set to "Yes" could be used with fb2epub.exe and fb2mobi.exe for similar effect. Resulting archive could be shared to facilitate troubleshooting.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Goazwazw3converterebooks

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言