Skip to content

Commit 254509d

Browse files
committed
chore: restore calibre
1 parent 4e4c029 commit 254509d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ A self-hosted online file converter. Supports over a thousand different formats.
3131
| [Vips](https://github.com/libvips/libvips) | Images | 45 | 23 |
3232
| [libheif](https://github.com/strukturag/libheif) | HEIF | 2 | 4 |
3333
| [XeLaTeX](https://tug.org/xetex/) | LaTeX | 1 | 1 |
34+
| [Calibre](https://calibre-ebook.com/) | E-books | 26 | 19 |
3435
| [Pandoc](https://pandoc.org/) | Documents | 43 | 65 |
3536
| [GraphicsMagick](http://www.graphicsmagick.org/) | Images | 167 | 130 |
3637
| [Inkscape](https://inkscape.org/) | Vector images | 7 | 17 |
3738
| [Assimp](https://github.com/assimp/assimp) | 3D Assets | 77 | 23 |
3839
| [FFmpeg](https://ffmpeg.org/) | Video | ~472 | ~199 |
3940
| [Potrace](https://potrace.sourceforge.net/) | Raster to vector | 4 | 11 |
4041

41-
<!-- | [Calibre](https://calibre-ebook.com/) | E-books | 26 | 19 | -->
4242

4343
<!-- many ffmpeg fileformats are duplicates -->
4444

src/converters/main.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { convert as convertPandoc, properties as propertiesPandoc } from "./pand
88
import { convert as convertresvg, properties as propertiesresvg } from "./resvg";
99
import { convert as convertImage, properties as propertiesImage } from "./vips";
1010
import { convert as convertxelatex, properties as propertiesxelatex } from "./xelatex";
11-
// import { convert as convertCalibre, properties as propertiesCalibre } from "./calibre";
11+
import { convert as convertCalibre, properties as propertiesCalibre } from "./calibre";
1212
import { convert as convertLibheif, properties as propertiesLibheif } from "./libheif";
1313
import { convert as convertpotrace, properties as propertiespotrace } from "./potrace";
1414

@@ -63,10 +63,10 @@ const properties: Record<
6363
properties: propertiesxelatex,
6464
converter: convertxelatex,
6565
},
66-
// calibre: {
67-
// properties: propertiesCalibre,
68-
// converter: convertCalibre,
69-
// },
66+
calibre: {
67+
properties: propertiesCalibre,
68+
converter: convertCalibre,
69+
},
7070
pandoc: {
7171
properties: propertiesPandoc,
7272
converter: convertPandoc,

0 commit comments

Comments
 (0)