Skip to content

Add Linux WOFF2 compressor binary using fonteditor-core#3

Open
ethan-phu wants to merge 6 commits intoxincmm:mainfrom
ethan-phu:main
Open

Add Linux WOFF2 compressor binary using fonteditor-core#3
ethan-phu wants to merge 6 commits intoxincmm:mainfrom
ethan-phu:main

Conversation

@ethan-phu
Copy link

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.

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
@ethan-phu
Copy link
Author

支持了下mobi, azw, azw3格式

@xincmm
Copy link
Owner

xincmm commented Oct 10, 2025

@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.
@ethan-phu
Copy link
Author

找到了编译成deb包后,安装软件后出现,书籍不能正常读取的问题,已经修复了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants