Zdir 1.0 Released: Open-Source PHP Directory Listing Tool with File Search

zdirphp directory listingfile searchopen source file managermarkdown preview
Published·Modified·

Zdir is a directory listing program developed using PHP. It is completely open-source and free, first released on June 20, 2018. After more than half a year of development, Zdir 1.0 is complete, and users are advised to upgrade to the latest version as soon as possible.

v1.0 Update Content

  • File search support added
  • Partial file structure reorganization
  • Bug fixes

Features Supported by Zdir

  • Directory browsing
  • Markdown file preview
  • One-click copy for CSS/JavaScript
  • File hash generation
  • Image preview
  • Video playback (MP4 format only)
  • Text viewer (supports .txt, .sh, .py, .go, .c, .cpp)
  • Online Office preview (supports .doc, .docx, .xls, .xlsx, .ppt, .pptx)
  • File indexing
  • QR code generation
  • File deletion
  • File search

Installing Zdir

Zdir is ready to use out of the box 😄 and requires almost no dependencies. Complete the following two steps:

  1. Download the source code and place it in the root directory of your site.
  2. Rename config.simple.php to config.php.

File Search

In previous versions, Zdir only provided file indexing to locate files. Version 1.0 adds a file search feature (dependent on file indexing). Simply enter the file name in the search box at the top right corner.

Special Note

A XSS vulnerability existed in versions prior to Zdir 1.0 (before January 17, 2019). Please refer to the Help Documentation to upgrade to the latest version as soon as possible.

Other Information

Open-source development is not easy. If you find Zdir useful, please scan the QR code below to make a donation.