Repolode
kekingcn

kekingcn/kkFileView

Self-hosted Spring Boot service that renders online previews of Office, PDF, CAD, 3D, media, archive and many other file formats.

Stars
14,834
Forks
3,341
Open issues
41
Last commit
last month

What is it?

kkFileView is a document online preview service built on Spring Boot. Users point it at a file, either by URL or from its local storage, and it renders the content in the browser without requiring the viewer to have the original application installed.

The project covers a wide range of formats: Microsoft Office and WPS documents, OpenOffice/LibreOffice files, PDF, OFD, Visio, Photoshop and vector images, Markdown and plain-text code files, EPUB, email (eml and msg), BPMN, XMind, drawio, DICOM, CAD drawings such as dwg and dxf, 3D models such as obj, stl and gltf, compressed archives, and audio and video files. Office conversion relies on LibreOffice or OpenOffice, which is bundled on Windows and installed automatically on Linux.

The service exposes a REST API for integration and provides a file preview interface that developers can extend to support additional extensions. Optional Redis is available for caching and queueing, and the project includes trusted-host filtering and demo-storage controls. Requires JDK 21 or higher.

Key features

  • 01Previews Office, WPS, OpenDocument, PDF and OFD files in the browser.
  • 02Renders CAD, DICOM, 3D model and Visio drawings.
  • 03Supports email (eml, msg), EPUB, BPMN, XMind and drawio files.
  • 04Browses compressed archives such as zip, rar and 7z.
  • 05Provides a REST API and an extensible file preview interface.
  • 06Offers trusted-host filtering and optional Redis caching.

Use cases

  • Embedding document preview in an internal file management or OA system.
  • Letting users view attachments without installing Office or CAD software.
  • Previewing medical imaging or engineering drawings on a self-hosted server.
  • Serving as a shared preview backend for a team's document workflow.

In collections

Topics

FAQ

What is kkFileView?
Self-hosted Spring Boot service that renders online previews of Office, PDF, CAD, 3D, media, archive and many other file formats. kkFileView is a document online preview service built on Spring Boot. Users point it at a file, either by URL or from its local storage, and it renders the content in the browser without requiring the viewer to have the original application installed.
Is kkFileView free to use? What license does it have?
kkFileView has no declared license. Its code is public, but without a license you have no explicit permission to reuse it; ask the author before relying on it.
Is kkFileView still maintained?
Updated within 6 months. The last commit to kkFileView was on Oct 8, 2026.
What can I use kkFileView for?
Embedding document preview in an internal file management or OA system. Letting users view attachments without installing Office or CAD software. Previewing medical imaging or engineering drawings on a self-hosted server. Serving as a shared preview backend for a team's document workflow.
Where can I get kkFileView?
The source code and installation instructions are on GitHub: https://github.com/kekingcn/kkFileView

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects