Add Linux WOFF2 compressor binary using fonteditor-core#3
Open
ethan-phu wants to merge 6 commits intoxincmm:mainfrom
Open
Add Linux WOFF2 compressor binary using fonteditor-core#3ethan-phu wants to merge 6 commits intoxincmm:mainfrom
ethan-phu wants to merge 6 commits intoxincmm:mainfrom
Conversation
This provides a Node.js-based alternative to the native woff2_compress binary for Linux platforms, converting TTF fonts to WOFF2 format using fonteditor-core library. Also expands asset protocol scope to include additional system directories for proper resource access.
- Add EPUB file discovery logic to handle non-standard filenames - Support MOBI format upload with automatic EPUB derivation - Update file upload to accept multiple formats including MOBI - Add derived file handling for MOBI to EPUB conversion
- Add format detection and MIME types for AZW/AZW3 - Handle language normalization for book metadata using Intl API - Improve file loading with fallback from rename to copy operations - Update document loader to distinguish between MOBI formats - Extend supported file extensions to include AZW/AZW3
Author
|
支持了下mobi, azw, azw3格式 |
Owner
|
@ethan-phu 之前没有时间测试就只支持了 epub,我得测试一下 |
When renaming cover files fails due to missing source files, fall back to copying instead. Also improve cover URL generation by reading files directly as data URLs rather than using convertFileSrc, which provides better reliability for cover images.
Author
|
找到了编译成deb包后,安装软件后出现,书籍不能正常读取的问题,已经修复了 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This provides a Node.js-based alternative to the native woff2_compress binary for Linux platforms, converting TTF fonts to WOFF2 format using fonteditor-core library.
Also expands asset protocol scope to include additional system directories for proper resource access.