All Projects → rupor-github → Fb2converter

rupor-github / Fb2converter

Licence: gpl-3.0
Unified converter of FB2 files into epub2, kepub, mobi and azw3 formats.

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Fb2converter

Kepubify
Fast, standalone EPUB to KEPUB converter CLI app / library (and a few other utilities).
Stars: ✭ 225 (+171.08%)
Mutual labels:  ebooks, converter
Fb2mobi
[DEPRECATED] fb2mobi - derived from fb2conv 1.5.4
Stars: ✭ 89 (+7.23%)
Mutual labels:  ebooks, thumbnails
Node Quill Converter
Convert HTML to a Quill Delta or a Quill Delta to HTML
Stars: ✭ 61 (-26.51%)
Mutual labels:  converter
Mt
yet another media thumber. Generate Video Contat Sheets easily. http://mutschler.github.io/mt
Stars: ✭ 76 (-8.43%)
Mutual labels:  thumbnails
Instatrack
Convert Instagram user ID to username & vice versa
Stars: ✭ 70 (-15.66%)
Mutual labels:  converter
Inspec tools
A command-line and ruby API of utilities, converters and tools for creating, converting and processing security baseline formats, results and data
Stars: ✭ 65 (-21.69%)
Mutual labels:  converter
Musicdownloader
Material design YouTube mp3/mp4 downloader
Stars: ✭ 70 (-15.66%)
Mutual labels:  converter
Tsvoiceconverter
A Swift VoiceConverter between AMR format and WAV format
Stars: ✭ 58 (-30.12%)
Mutual labels:  converter
Perun
A command-line validation tool for AWS Cloud Formation that allows to conquer the cloud faster!
Stars: ✭ 82 (-1.2%)
Mutual labels:  converter
Fast Youtube To Mp3 Converter Api
Very Fast YouTube to MP3 & MP4 Converter API
Stars: ✭ 69 (-16.87%)
Mutual labels:  converter
Seonbi
SmartyPants for Korean language
Stars: ✭ 76 (-8.43%)
Mutual labels:  converter
Youtubeexplode.converter
Muxes and converts videos from YoutubeExplode
Stars: ✭ 68 (-18.07%)
Mutual labels:  converter
Json Ditto
Declarative JSON-to-JSON mapper .. shape-shift JSON files with Ditto 👻
Stars: ✭ 66 (-20.48%)
Mutual labels:  converter
The Python Standard Library By Example
《Python3 标准库》电子书和配套代码 "The Python Standard Library by Example" ebook and source code 一本又厚又全的讲解Python3标准库的书籍(1000多页)适合当作字典参考或者闲暇时慢慢阅读。
Stars: ✭ 74 (-10.84%)
Mutual labels:  ebooks
Cifar2png
Convert CIFAR-10 and CIFAR-100 datasets into PNG images
Stars: ✭ 64 (-22.89%)
Mutual labels:  converter
Currencyconverter
Utilities for doing currency conversion with the Money library
Stars: ✭ 78 (-6.02%)
Mutual labels:  converter
I18n Generator
i18n json files generator for node, web browser and command line
Stars: ✭ 60 (-27.71%)
Mutual labels:  converter
Linkify Markdown
🚀 A cli tool which automatically add references to issues, pull requests, user mentions and forks to a markdown file.
Stars: ✭ 67 (-19.28%)
Mutual labels:  converter
Gluon2pytorch
Gluon to PyTorch deep neural network model converter
Stars: ✭ 70 (-15.66%)
Mutual labels:  converter
Jalali.py
Persian and Gregorian Date Converter for Python 2 and Python 3
Stars: ✭ 82 (-1.2%)
Mutual labels:  converter

fb2converter

converts fb2 files to epub, kepub, mobi, azw3

GoDoc Go Report Card


A complete rewrite of fb2mobi.

Russian WiKi

Russian forum.

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

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 echancements in toc.ncx generation
  • epub processing was separated into its own command "transfer" and any attempts to process epub content were dropped
  • 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
  • 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.58.0 releases are packed with zip and signed with minisign. Here is public key for verification: key 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.

>>> ./fb2c
NAME:
   fb2converter - fb2 conversion engine

USAGE:
   fb2c.exe [global options] command [command options] [arguments...]

VERSION:
   "program version" ("go runtime version") : "git sha string"

COMMANDS:
     convert     Converts FB2 file(s) to specified format
     transfer    Prepares EPUB file(s) for transfer (Kindle only!)
     synccovers  Extracts thumbnails from documents (Kindle only!)
     dumpconfig  Dumps active configuration (JSON)
     export      Exports built-in resources for customization
     help, h     Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --config FILE, -c FILE  load configuration from FILE (YAML, TOML or JSON). if FILE is "-" JSON will be expected from STDIN
   --debug, -d             leave behind various artifacts for debugging (do not delete intermediate results)
   --help, -h              show help
   --version, -v           print the version

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 mobi files to Kindle via e-mail in process execute

fb2c.exe convert --nodirs --stk --to mobi 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 fb2c-win32.7z or fb2c-win64.7z there. It is a drop-in replacement and should be functional out of the box. Note, that fb2mobi.exe looks for fb2mobi.toml in its directory (similarly fb2epub.exe looks for fb2epub.toml), so any additional customizations are easy.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].