kkFileView online preview is a file document online preview project solution built using spring boot. It supports doc, docx, ppt, pptx, xls, xlsx, zip, rar, mp4, mp3 and many types of text such as txt, html, xml, Online preview of java, properties, sql, js, md, json, conf, ini, vue, php, py, bat, gitignore and other files.
Support office, pdf, cad and other office documents
Supports all plain text such as txt, java, php, py, md, js, css, etc.
Support zip, rar, jar, tar, gzip and other compressed packages
Support jpg, jpeg, png, gif and other image previews (flip, zoom, mirror)
Developed using spring boot, the preview service is very easy to build and deploy.
The rest interface provides services and supports cross-platform features (java, php, python, go, php, ...), and application access is simple and convenient.
Abstract preview service interface facilitates secondary development and is very convenient to add preview support for other types of files
The most important thing is that the Apache protocol is open source. Once the code is pulled, you can do whatever you want.
spring boot: spring boot development reference guide
freemarker
redisson
jodconverter
Depend on external environment
redis (optional, not used by default)
OpenOffice or LibreOffice (built-in under Windows, will be installed automatically under Linux, and needs to be installed manually under Mac OS)
kkFileView online preview v4.0.0 update log
1. The underlying integrated OpenOffice is replaced with LibreOffice, the compatibility of Office files is enhanced, and the preview effect is improved.
2. Repair compressed file directory traversal vulnerability
3. Fixed the issue where PPT preview is invalid when using PDF mode.
4. Fixed the abnormal front-end display in PPT picture preview mode
5. New function: The home page file upload function can be enabled or disabled in real time through configuration
6. Optimize and add Office process shutdown log
7. Optimize the search for Office component logic in Windows environment (built-in LibreOffice takes priority)
8. Optimize the startup of the Office process and change the synchronization execution