Supporting online browsing of files in more than 20 major formats, this project is worth learning.
Programming navigation open source repository: github.com/liyupi/code…
Hi, I’m Fishskin and today I’m sharing a great, 100% open source, constantly updated project that’s great to study or write on your resume.
Project introduction
KkFileView is an online document preview project based on Java SpringBoot framework, which supports online browsing of various mainstream formats of files or documents in the browser.
It is not easy to develop a web site for viewing files online, and each format needs to be treated differently, so it is good to support several formats in a typical project. But kkFileView project supports up to dozens of formats! Such as:
-
Word, Excel, PPT, PDF and other office documents
-
TXT, Java, PHP, PY, MD, JS, CSS, Vue, bat and other plain text or code files
-
Supports zip, RAR, JAR, tar, and gzip packages
-
Supports JPG, JPEG, PNG, GIF and other image preview and operation
-
Supports preview of mp3, MP4, FLV and other multimedia files
File List page:
Text browsing effect:
Project features
The project has many good features, such as one-click deployment, fast access, download the source code locally, you can deploy on Windows and Linux platforms with one click, and two lines of JavaScript code can preview the file access. It even supports Docker container deployment, which is very convenient.
The completion of the project is extremely high, as mentioned above, support dozens of common file formats, text, documents, pictures, multimedia are not a problem, but also compatible with the new version of Office documents, WPS documents!
The project supports flexible switching of various preview modes. For example, when viewing Word, PPT, and PDF documents, you can browse and copy them by picture, or browse pages by PDF document.
Let’s open a Word document and use image browsing mode:
One-click switch to PDF browsing mode:
The use of the project is very flexible, in addition to the full deployment, but also provides a Restful HTTP interface, so that developers can use a variety of different programming languages, cross-platform access to file browsing services, suitable for microservice scenarios.
If I can develop such a complete and practical system, there will be a great improvement in technology, fortunately, the author provides us with the opportunity to learn!
Learn to use
The project is fully open source on GitHub and Gitee, and currently has up to 5000 stars on GitHub!
The project’s technology stack is based entirely on Java, with the FreeMarker template engine at the front end and the mainstream development framework SpringBoot, project management tool Maven, and the mainstream Redis and Redisson caching technologies at the back end. Moreover, as the core appeal of the project is file browsing and rendering, we used various file format processing libraries, such as POI, Office-Plugin and so on. It is no exaggeration to say that after learning this project, basic processing of any file format is not at all!
In order to facilitate everyone to learn, the author compiled a detailed project documentation, including deployment guide, use guide and so on.
Also sorted out some small white often encountered problems, very intimate.
Interested students can directly download the source code to learn, if this article is helpful to you, please also help click a like! ❤ ️
🔍 Project Address: www.code-nav.cn/rd/?rid=cbd…
In the programming navigation can also find more high-quality programming learning resources, welcome to share with the students who need it!
How did I get the offer from Tencent, Byte and other big companies through self-study in college? You can read this article and no longer feel confused!
I learn computer four years, mutual encouragement!