kkfileview file Preview Online
This project file documents online preview of project solutions, project using the popular spring boot set up, difficulty of use and deployment, may provide a preview service independent Once deployed, use the http interface to access, do not need and application integration, cross-language cross-system use features. Provides zip / tar.gz distribution package, custom configuration files, and start / stop scripts, etc., greatly facilitate the deployment of use, while the official release Docker mirror, easy to use container environment deployment. Basic support for mainstream office documents online preview, such as doc, docx, xls, xlsx, ppt, pptx, pdf, txt, zip, rar, 7z, mp3, mp4, flv pictures and more.
Project Address: https://gitee.com/kekingcn/file-online-preview
Project official website: https://kkfileview.keking.cn
Docker Mirror: https://hub.docker.com/r/keking/kkfileview
The v2.1.0 update:
- 1, supports HTTP / HTTPS file download link, HTTP / HTTPS stream links to download a variety of sources preview, FTP download links
- 2, the new .7z compressed files, .flv video file preview support
- 3, support for file-level automatic cache cleanup preview
- 4. Build and publish the official support Docker Docker image
Project Features
- Support word, excel, ppt, pdf and other office documents
- Support txt, java, php, py, md, js, css and all plain text
- Support for zip, rar, jar, tar, gzip, 7z archive, etc.
- Support jpg, jpeg, png, gif and other image preview (flipping, scaling, mirroring)
- Support mp3, mp4, flv and other multimedia files preview
- Use spring boot develop, deploy very easy to set up the service preview
- rest interface provides services, cross-platform (java, php, python, go, php, ....) are supported, application access easy and convenient
- Support the general http / https file download url, http / https file download stream url, ftp download url and other sources Preview
- Provide zip, tar.gz distribution package, providing a key to start the script and a wealth of configuration items, easy to use deployment
- Docker mirroring provides distribution package, easy to deploy in a container environment
- Preview abstract service interface to facilitate the secondary development, is very easy to add support for other file types Preview
- The most important open source Apache protocol, code, pull down and think of town
Document preview
1. Text Preview
It supports all types of text document preview, because too many types of text documents, you can not enumerate all of the default type open as follows txt, html, xml, properties, md, java, py, c, cpp, sql
if there are no comprehensive coverage You can configure the type of text file
as text preview
2. Picture Preview
Support jpg, jpeg, png, gif and other image preview (flip, zoom, mirror image), as follows preview
3. word document preview
Support doc, docx document preview, preview word has two modes: one is the word into each page preview picture, the other is the entire word document converted into pdf, and then preview the pdf. Apply the following two modes Scene
- Picture Preview: word file large, front load the entire pdf is too slow
- pdf Preview: network access, fast loading pdf
The default for each page preview picture into word, pdf by clicking the icon on the right turn, can also set the default preview mode profile
picture preview mode to preview the effect the following
pdf preview mode to preview the effect is as follows
4. ppt document preview
Support ppt, pptx document preview, and as word document, there are two preview mode
image preview mode to preview the effect the following
pdf preview mode to preview the effect is as follows
5. pdf document preview
Support pdf document preview, and as word document, there are two preview mode
image preview mode to preview the effect the following
pdf preview mode to preview the effect is as follows
6. excel document preview
Support xls, xlsx document preview, preview below
7. compressed file preview
Support for zip, rar, jar, tar, gzip and other archive, preview below
click on the name of the compressed file package, direct preview file, preview the effect is as follows
8. multimedia file preview
Theoretically support all video, audio files, inability to enumerate all file formats, enabled by default type as
mp3, wav, mp4, flv
if there are no comprehensive coverage, you can specify the media type through configuration files
video preview below
Audio Preview results are as follows