Publish: 2022-10-18 | Modify: 2022-10-18
Zdir is an open-source project started by Xiaoz in June 2018. It was initially developed using PHP and has gone through multiple version iterations. Although there was a long period of inactivity, the project was never abandoned. Now, Zdir 3.0.0, a refactored version, has been officially released. It is developed using Golang + Vue3 and is available for download and testing.

Zdir 3 is a lightweight directory listing program developed using Golang + Vue3. It supports deployment on Linux, Docker, and Windows. It supports previewing common file types such as videos, audios, and code files. It is suitable for personal file sharing or as a lightweight cloud storage solution.
.mp4 format and .m3u8)Powerful global search functionality:

Automatic documentation generation:

Convenient code preview:

File details page:

One-click installation on Linux:
If you want to quickly install Zdir, you can use the one-click installation script provided by Zdir. Just execute the following command:
# For CentOS
yum -y install curl
curl -s "http://soft.xiaoz.org/zdir/sh/zdir.sh" | bash -s install
# For Debian or Ubuntu
apt-get install curl
curl -s "http://soft.xiaoz.org/zdir/sh/zdir.sh" | bash -s install
/data/apps/zdir/data/apps/zdir/data/publicAfter installation, access http://IP:6080 to use Zdir.
The one-click installation script is suitable for those who are not familiar with Linux or want to quickly experience Zdir. You can also refer to the documentation for more installation methods.
I come from China and I am a freelancer. I specialize in Linux operations, PHP, Golang, and front-end development. I have developed open-source projects such as Zdir, ImgURL, CCAA, and OneNav.