Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fengzehao/docPreview

Repository files navigation

docPreview

轻量级 Java 文件预览工具,暂时支持PDF / 图片预览

WIP License Tech

核心简介

docPreview 是基于Java 25 + Spring Boot 4.0 开发的文件预览解决方案,核心解决移动端场景下的PDF和图片预览需求:

  • PDF 文件:通过 PDFBox 转为图片后,使用 FTL 模板渲染展示
  • 图片文件:直接通过 FTL 模板适配移动端渲染

技术栈

  • 核心框架:Spring Boot 4.0.0
  • PDF 处理:Apache PDFBox
  • 模板渲染:FreeMarker (FTL)
  • 开发语言:Java 25

项目状态

🔨 正在建设中

  • 目前已支持图片预览,后续会增加pdf预览

许可证

本项目采用 MIT LicenseApache License 2.0(二选一,最终以项目根目录 LICENSE 文件为准),允许个人 / 商业使用、修改、分发,仅需保留原始版权声明。


📫 如有问题或建议,可通过 GitHub Issues 联系作者

About

A lightweight Java solution for seamless mobile preview of documents—currently supporting pdf and images, all rendered via html.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

AltStyle によって変換されたページ (->オリジナル) /