文件文档在线预览工具-kkFileView

 

kkFileView是国人开源的一款文件文档在线预览项目,支持主流办公文档的在线预览,如 doc、docx、Excel、pdf、txt、zip、rar、 图片等格式。项目基于spring boot搭建,遵守Apache 2.0开源协议。

特性:
    支持 office, pdf, cad 等办公文档
    支持 txt, xml(渲染), md(渲染), java, php, py, js, css 等所有纯文本
    支持 zip, rar, jar, tar, gzip 等压缩包
    支持 jpg, jpeg, png, gif, tif, tiff 等图片预览(翻转,缩放,镜像)
    支持mp3,wav,mp4,flv 多媒体播放和预览.
    rest 接口提供服务,跨语言、跨平台特性(java,php,python,go,php,….)都支持,应用接入简单方便.
    抽象预览服务接口,方便二次开发,方便添加其他类型文件预览支持.

https://github.com/kekingcn/kkFileView

-------------------------------

Universal File Online Preview Project based on Spring-Boot 。

  kkview.cn

kkFileView

Introduction

Document online preview project solution, built using the popular Spring Boot framework for easy setup and deployment. This versatile open source project provides basic support for a wide range of document formats, including:

  1. Supports Office documents such as doc, docx, xls, xlsx, xlsm, ppt, pptx, csv, tsv, , dotm, xlt, xltm, dot, xlam, dotx, xla, etc.
  2. Supports domestic WPS Office documents such as wps, dps, et , ett, wpt.
  3. Supports OpenOffice, LibreOffice office documents such as odt, ods, ots, odp, otp, six, ott, fodt and fods.
  4. Supports Visio flowchart files such as vsd, vsdx.
  5. Supports Windows system image files such as wmf, emf.
  6. Supports Photoshop software model files such as psd.
  7. Supports document formats like pdf, ofd, and rtf.
  8. Supports software model files like xmind.
  9. Support for bpmn workflow files.
  10. Support for eml mail files
  11. Support for epub book documents
  12. Supports 3D model files like obj, 3ds, stl, ply, gltf, glb, off, 3dm, fbx, dae, wrl, 3mf, ifc, brep, step, iges, fcstd, bim, etc.
  13. Supports CAD model files such as dwg, dxf, 'dwf'.
  14. Supports all plain text files such as txt, xml (rendering), md (rendering), java, php, py, js, css, etc.
  15. Supports compressed packages such as zip, rar, jar, tar, gzip, 7z, etc.
  16. Supports image previewing (flip, zoom, mirror) of jpg, jpeg, png, gif, bmp, ico, jfif, webp, etc.
  17. Supports image information model files such as tif and tiff.
  18. Supports image format files such as tga.
  19. Supports vector image format files such as svg.
  20. Supports mp3,wav,mp4,flv .
  21. Supports many audio and video format files such as avi, mov, wmv, mkv, 3gp, and rm.
  22. Supports for dcm .
  23. Supports for drawio .

Features

  • Build with the popular frame spring boot
  • Easy to build and deploy
  • Basically support online preview of mainstream office documents, such as Doc, docx, Excel, PDF, TXT, zip, rar, pictures, etc
  • REST API
  • Abstract file preview interface so that it is easy to extend more file extensions and develop this project on your own

Official website and DOCS

URL:https://kkview.cn

Live demo

Please treat public service kindly, or this would stop at any time.

URL:https://file.kkview.cn

Quick Start

Technology stack

Dependencies

  • Redis(Optional, Unnecessary by default)
  • OpenOffice or LibreOffice(Integrated on Windows, will be installed automatically on Linux, need to be manually installed on Mac OS)
  1. First step:git pull https://github.com/kekingcn/kkFileView.git

  2. second step:Run the main method of /server/src/main/java/cn/keking/ServerMain.java. After starting,visit http://localhost:8012/.

from 

https://github.com/kekingcn/kkFileView