Zdir Update: Powerful and Practical Directory Listing Program

Publish: 2018-09-01 | Modify: 2018-10-02

Zdir is a directory listing program developed using PHP. The initial purpose of developing Zdir was to create a frontend library and software library. However, it was found that the existing directory listing programs online were not satisfactory, so Zdir was created. The basic features of Zdir have been introduced in the article "Zdir Practical Directory Listing Program". With continuous feedback and improvement from users, Zdir has become more practical and user-friendly.

Zdir Screenshot

Features of Zdir

  • Directory browsing
  • MarkDown preview
  • CSS/JavaScript one-click copy (including Easter eggs)
  • File hash
  • Image preview
  • Video playback (supports .mp4 format and .m3u8)
  • Text viewer (supports .txt, .sh, .py, .go, .c, .cpp)
  • File indexing
  • QR code generation
  • File deletion
  • Chinese language support (tested only on Linux)

Detailed Explanation of Some Features

Zdir supports video playback. When the file extension is .mp4 or .m3u8, a play button will appear.

Video Playback

Video Playback

The text viewer is a recently added feature. It currently supports viewing text files in the formats .txt, .sh, .py, .go, .c, .cpp (more formats can be added based on user feedback), and it also supports code highlighting. (Click on the images below to enlarge)

Text Viewer

Zdir's file indexing feature may help you quickly find the files you need, simply press Ctrl + F. (Click on the images below to enlarge)

File Indexing

Zdir has many other practical features, such as image preview, MarkDown viewing, and file deletion. These features are not covered in detail here, but you can experience them in the xiaoz software library: http://soft.xiaoz.org/

Other Information

Feedback is welcome to further improve Zdir. Although Zdir is designed to be ready-to-use, it is still recommended to refer to the documentation when deploying, as it can be very helpful during use.


Comments