@GitHub_Daily: 文件格式转换、文档识别、音频转文字,收藏了一堆各种各样的工具,找起来很麻烦。 filewizard 把这些工具封装到一个可自托管的网页,文件拖进去就能转,只需在浏览器点几下。 底层包了 FFmpeg、LibreOffice、Pandoc …
摘要
filewizard是一个自托管的网页工具,集成了FFmpeg、LibreOffice、Pandoc等成熟工具,支持文件格式转换、OCR和音频转录,用户可通过Docker一键部署,文件处理在本地完成。
查看缓存全文
缓存时间: 2026/07/16 06:06
文件格式转换、文档识别、音频转文字,收藏了一堆各种各样的工具,找起来很麻烦。
filewizard 把这些工具封装到一个可自托管的网页,文件拖进去就能转,只需在浏览器点几下。
底层包了 FFmpeg、LibreOffice、Pandoc 这些成熟工具,格式互转覆盖得很全。
图片和 PDF 能做文字识别,音频靠 Whisper 转成文稿,还带后台任务和实时进度。
GitHub:http://github.com/LoredCast/filewizard…
提供 Docker 本地一键部署方式,项目跑在自己机器上,文件不用传给第三方。
经常要倒腾各种文件格式的朋友,自己搭一个当在线工具箱用。
LoredCast/filewizard
Source: https://github.com/LoredCast/filewizard
File Wizard
A self-hosted, browser-based utility for file conversion, OCR and audio transcription. It wraps common CLI and Python converters (FFmpeg, LibreOffice, Pandoc, ImageMagick, etc.), plus faster-whisper and Tesseract OCR.

Features
- Convert between many file formats; extendable via
settings.ymlto add any CLI tool. - OCR for PDFs and images (
tesseract/ocrmypdf). - Audio transcription using Whisper models.
- Simple, responsive dark UI with drag-and-drop and file picker.
- Background job processing with real-time status updates and persistent history.
/settingspage for configuring conversion tools and OAuth (runs without auth in local mode).- CPU-only by default; a
-cudaimage is available for GPU use.
Security
Warning: exposing this app publicly without authentication risks arbitrary code execution. Intended for local use or behind a properly configured OAuth/OIDC provider.
Tech stack
FastAPI, vanilla HTML/JS/CSS frontend.
Installation
Recommended — Docker (pull from Docker Hub)
Images available:
loredcast/filewizard:latest(newest full release without cuda)loredcast/filewizard:0.3-small(omits TeX and other large tools)loredcast/filewizard:0.3-cuda(CUDA-enabled)
# docker-compose.yml
version: "3.9"
services:
web:
image: loredcast/filewizard:latest
environment:
- LOCAL_ONLY=True # False for Auth
- SECRET_KEY= # set if using auth
- UPLOADS_DIR=/app/uploads # inside the container
- PROCESSED_DIR=/app/processed # inside the container
- OMP_NUM_THREADS=1
- DOWNLOAD_KOKORO_ON_STARTUP=true
ports:
- "6969:8000"
volumes:
- ./config:/app/config # settings.yml will be here
- ./uploads_data:/app/uploads
- ./processed_data:/app/processed
volumes:
uploads_data: {}
processed_data: {}
Copy docker-compose.yml from the repo or the above, adjust as needed, then:
docker compose up -d
FileWizard will be available at localhost:6969
Build locally with Docker (new build types)
For different build configurations, use the BUILD_TYPE argument:
# Full build (includes all dependencies but no CUDA)
docker build --build-arg BUILD_TYPE=full -t filewizard:full .
# Small build (excludes TeX and markitdown dependencies for smaller image)
docker build --build-arg BUILD_TYPE=small -t filewizard:small .
# CUDA build (includes CUDA support for GPU acceleration)
docker build --build-arg BUILD_TYPE=cuda -t filewizard:cuda .
Or with docker-compose:
# For full build
docker compose build --build-arg BUILD_TYPE=full
# For small build
docker compose build --build-arg BUILD_TYPE=small
# For CUDA build
docker compose build --build-arg BUILD_TYPE=cuda
For CUDA builds, ensure you have:
- NVIDIA Docker runtime installed (
nvidia-docker2package) - Compatible GPU with appropriate drivers
- Add the GPU configuration to docker-compose.yml if building with compose:
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [gpu]
For troubleshooting GPU issues, make sure:
- Your GPU drivers support the CUDA version (12.1)
- cuDNN libraries are properly installed in the container
- The
nvidia-container-toolkitis properly configured - Test NVIDIA setup with:
docker run --rm --gpus all nvidia/cuda:12.1-base-ubuntu22.04 nvidia-smi
git clone https://github.com/LoredCast/filewizard.git
cd filewizard
docker compose up --build
Note: building can be slow (TeX and other dependencies).
Manual (no Docker)
git clone https://github.com/LoredCast/filewizard.git
cd filewizard
python -m venv venv
source venv/bin/activate # Windows: venv\\Scripts\\activate
pip install -r requirements.txt
chmod +x run.sh
./run.sh
Dependencies include fastapi, uvicorn, sqlalchemy, huey, faster-whisper, ocrmypdf, pytesseract, python-multipart, pyyaml, etc.
Configuration & docs
See the project Wiki for details and examples:
https://github.com/LoredCast/filewizard/wiki
Usage
- Open
http://127.0.0.1:8000. - Drag & drop or choose files.
- Select action: Convert, OCR, or Transcribe.
- Track job progress in the History table (updates automatically).
Tools Table
| Tool | Common inputs (extensions / format names) | Common outputs (extensions / format names) | Notes |
|---|---|---|---|
| LibreOffice (soffice) | .odt, .fodt, .ott, .doc, .docx, .docm, .dot, .dotx, .rtf, .txt, .html/.htm/.xhtml, .xml, .sxw, .wps, .wpd, .abw, .pdb, .epub, .fb2, .lit, .lrf, .pages, .csv, .tsv, .xls, .xlsx, .xlsm, .ods, .sxc, .123, .dbf, .fb2 | .pdf, .pdfa, .odt, .fodt, .doc, .docx, .rtf, .txt, .html/.htm, .xhtml, .epub, .svg, .png, .jpg/.jpeg, .pptx, .ppt, .odp, .xls, .xlsx, .ods, .csv, .dbf, .pdb, .fb2 | Good for office/document conversions; fidelity varies with complex layouts. |
| Pandoc | Markdown flavors (.md, .markdown), .html/.htm, LaTeX (.tex), .rst, .docx, .odt, .epub, .ipynb, .opml, .adoc/asciidoc, .tex, .bib/citation inputs | .html/.html5, .xhtml, .latex/.tex, .pdf (via LaTeX engine), .docx, .odt, .epub, .md (flavors), .gfm, .rst, .pptx, .man, .mediawiki, .docbook | Highly configurable via templates/filters; requires LaTeX for PDF output. |
| Ghostscript (gs) | .ps, .eps, .pdf, PostScript streams | .pdf (various compat levels incl PDF/A), .ps, .eps, raster images (.png, .jpg, .tiff, .bmp, .pnm) | Useful for PDF manipulations, rasterization, and producing PDF/A. |
| Calibre (ebook-convert) | .epub, .mobi, .azw3, .azw, .fb2, .html, .docx, .doc, .rtf, .txt, .pdb, .lit, .tcr, .cbz, .cbr, .odt, .pdf (input with caveats) | .epub, .mobi (legacy), .azw3, .pdf, .docx, .rtf, .txt, .fb2, .htmlz, .pdb, .lrf, .lit, .tcr, .cbz, .cbr | Excellent for ebook format conversions and metadata handling; PDF input/output fidelity varies. |
| FFmpeg | Containers & codecs: .mp4, .mkv, .mov, .avi, .webm, .flv, .wmv, .mpg/.mpeg, .ts, .m2ts, .3gp, audio: .mp3, .wav, .aac/.m4a, .flac, .ogg, .opus, image sequences (.png, .jpg, .tiff), HLS (.m3u8) | Wide set: .mp4, .mkv, .mov, .webm, .avi, .flv, .mp3, .aac/.m4a, .wav, .flac, .ogg, .opus, .gif (animated), .ts, elementary streams, many codec/container combos | Extremely versatile — audio/video transcoding, extraction, container changes, filters. Supported formats depend on build flags and linked libraries. |
| libvips (vips) | .jpg/.jpeg, .png, .tif/.tiff, .webp, .avif, .heif/.heic, .jp2, .gif (frames), .pnm, .fits, .exr, PDF (via poppler delegate) | .jpg/.jpeg, .png, .tif/.tiff, .webp, .avif, .heif, .jp2, .pnm, .v (VIPS native), .fits, .exr | Fast, memory-efficient image processing; great for large images and tiling. |
| GraphicsMagick (gm) | .jpg/.jpeg, .png, .gif, .tif/.tiff, .bmp, .ico, .eps, .pdf (via Ghostscript/poppler), .dpx, .pnm, .svg (if delegate), .webp (if built), .exr | .jpg/.jpeg, .png, .webp (if enabled), .tif/.tiff, .gif, .bmp, .pdf (from images), .eps, .ico, .xpm, .dpx | Similar to ImageMagick but with different performance/behavior; supported formats depend on build/delegates. |
| ImageMagick (convert / magick) | Same as GraphicsMagick (large set; many delegates) | Same as GraphicsMagick | Often used interchangeably; watch for security considerations when processing untrusted images. |
| Inkscape | .svg/.svgz, .pdf, .eps, .ps, .ai (legacy imports), .dxf, raster images (.png, .jpg, .jpeg, .gif, .tiff, .bmp) | .svg, .pdf, .ps, .eps, .png, .emf, .wmf, .xaml, .dxf, .eps | Vector editing and export; CLI useful for batch SVG → PNG/PDF conversions. |
| libjxl (cjxl / djxl) | Raster inputs: .png, .jpg/.jpeg, .ppm/.pbm/.pgm, .gif, etc. | .jxl (JPEG XL) | Encoder/decoder for JPEG XL; availability depends on build. |
| resvg | .svg/.svgz | .png (raster) | Fast, accurate SVG renderer — good for SVG→PNG conversion. |
| Potrace | Bitmaps: .pbm, .pgm, .ppm (PNM family), .bmp (via conversion) | Vector: .svg, .pdf, .eps, .ps, .dxf, .geojson | Traces bitmaps to vector paths; often used with pre-conversion steps. |
| Potrace GUI / autotrace alternatives | — | — | Not included but sometimes available in toolchains; behavior varies. |
| MarkItDown / markitdown | .pdf, .docx, .doc, .pptx, .ppt, .xlsx, .xls, .html, .eml, .msg, .md, .txt, images, .epub | .md (Markdown) | Utility to extract/produce Markdown from various formats; implementation details vary. |
| pngquant | .png (truecolor/rgba) | .png (quantized palette PNG) | Lossy PNG quantization for smaller PNGs. |
| MozJPEG (cjpeg, jpegtran) | .ppm/.pbm/.pgm (PNM), .bmp, existing .jpg | .jpg/.jpeg (MozJPEG-optimized) | Produces smaller JPEGs with improved compression; good for recompression. |
| SoX (Sound eXchange) | .wav, .aiff, .mp3 (if libmp3lame), .flac, .ogg/.oga, .raw, .au, .voc, .w64, .gsm, .amr, .m4a (if libs present) | .wav, .aiff, .flac, .mp3, .ogg, .raw, .w64, .opus, .amr, .m4a | Audio processing, normalization, effects; exact formats depend on linked libraries. |
| Tesseract OCR / ocrmypdf | Image formats (.png, .jpg, .jpeg, .tiff), PDFs (image PDFs) | Plain text (.txt), searchable PDF (PDF with text layer), HOCR, ALTO XML | OCR engine; language/training data required for best accuracy. ocrmypdf is a wrapper for PDF workflows. |
| faster-whisper / OpenAI Whisper (local) | Audio: .mp3, .wav, .m4a, .flac, .ogg, .opus, .aac | Plain text transcripts (.txt), .srt, .vtt, other subtitle formats | Local Whisper implementations for speech-to-text. Models and speed depend on CPU/GPU and model variant. |
Consider spending 30 seconds on the » usage survey « to help improve the app and suggest changes!
相似文章
@yhslgg: 兄弟们,今天给你介绍一个宝藏工具,GitHub 上 21000 颗星,我自己用了之后直呼好家伙! 叫 SingleFile。 它只干一件事:把任何网页,完整打包成一个 HTML 文件,保存到本地。 图片、CSS、字体、样式,全部塞进同一个…
SingleFile 是一个免费开源的浏览器插件和CLI工具,能将任何网页完整打包成一个HTML文件,保存图片、CSS等,永久离线可用,支持自动保存、批量保存和云存储。
@0xQiYan: 兄弟们,平时有没有经常有各种格式转需要会员的情况,还在没有会员而烦恼? 发现一个各种格式转的开源项目,微软谷歌没做到的,一位哲学教授用业余时间搞定了。 Pandoc——文档转换神器,一条命令,几秒钟,50多种格式随便转。Word转PDF,…
介绍开源文档转换神器Pandoc,由哲学教授约翰·麦克法兰用业余时间开发,支持50多种格式互转,免费、开源、纯本地运行。
@GitHub_Daily: 给大模型喂文档,Word、PPT、Excel 格式都不一样,转出来的 Markdown 质量也参差不齐。 Firecrawl 团队用 Rust 写了 anydoc,支持 14 种办公格式转 Markdown,转换速度中位数不到 5 毫秒,…
Firecrawl 团队用 Rust 开发了 anydoc,一个可将 Word、PPT、Excel 等 14 种办公格式快速转换为统一 Markdown 的开源库,中位转换速度不到 5 毫秒,支持 Node.js、Python 和浏览器(WASM)使用。
@grgerwcwetwet: 格式转换工具见过不少,这个「飞鼠格式」是真想把一个软件做成全家桶。 它支持 PDF、Word、Excel、PPT、图片、音视频、电子书、压缩包 等多种格式互转,甚至连 QQ 音乐 mflac/mgg、相机 RAW 都能处理。 GitHub…
「飞鼠格式」是一款鼠鼠主题的开源离线文件格式转换工具,支持 PDF、Office、音视频、电子书等格式互转,并可解密 NCM、mflac、kgma 等加密音乐,兼容 Windows 和 macOS。
@Ryrenz: 论文、合同、PDF——这几个开源工具把所有文档工作打通了: 1、opendatalab/MinerU(68.9k)——上海 AI Lab 出品,PDF/文档一键转 markdown,学术论文排版还原度极高 https://github.c…
这篇推文汇总了6个开源工具,涵盖PDF转markdown、文档理解、OCR、论文翻译和自动文献综述,旨在打通文档工作流。