# Directory Lister

Directory Lister is a simple PHP web application that exposes the contents of any web-accessible folder for browsing and sharing.

Canonical page: https://ourlocalhost.com/app/8414/directory-lister

## Description

Directory Lister is a simple PHP web application that exposes the contents of any web-accessible folder for browsing and sharing. It generates clean file listings with light/dark themes, built-in file search, file hashes for verifying downloads, and README rendering. It suits homelab users who want a fast, zero-configuration way to share files over a web server without setting up a full file manager.

## Platform availability

Available on 1 of 10 platforms: Any server.

## Health score

72/100 (Good), based on 4 of 5 factors.
- Maintained: 95 (last commit 25 days ago)
- Popular: 68 (2,545 GitHub stars)
- Easy to install: 25 (1 install platform, install notes)
- Security check: 76 (no serious findings, 1 minor, CI, tests, OpenSSF Scorecard 4.8/10)

## Links

- Official website: https://www.directorylister.com/
- GitHub: https://github.com/DirectoryLister/DirectoryLister
- Documentation: https://docs.directorylister.com

## Common questions

### Can I use Directory Lister to share private or sensitive files?

No. Directory Lister is designed for public file sharing only, and every file in the configured path, including hidden files, will be publicly accessible. There is an explicit warning against using it for private or sensitive files.

### How do I configure Directory Lister after installing it?

Copy the .env.example file to .env and edit the configuration values there. The documentation site covers the configuration options, including advanced settings and file matching patterns.

### I installed Directory Lister in a sub-directory and paths resolve incorrectly — is this a known issue?

Yes, request path resolution for sub-directory installs was fixed in version 5.8.3, so upgrading to that release or later resolves it.

### Which PHP extensions are required?

The Multibyte String (mbstring) extension is required, the Zip extension is needed for zip downloads, and the DOM and Fileinfo extensions are required for README rendering, all on PHP 8.2 or newer.

## Alternatives

- FileBrowser Quantum: FileBrowser Quantum is a free, self-hosted, web-based file manager.
- h5ai: h5ai · a modern HTTP web server index for Apache httpd, lighttpd, nginx and Cherokee.

---
Source: Our Local Host (https://ourlocalhost.com/app/8414/directory-lister), the self-hosted and open-source app directory.
