An open API service indexing awesome lists of open source software.

https://github.com/rknightuk/file-lister

Display a list of files in a directory with PHP
https://github.com/rknightuk/file-lister

Last synced: 3 months ago
JSON representation

Display a list of files in a directory with PHP

Awesome Lists containing this project

README

        

# File Indexer

Display a list of files in a directory with PHP. Uses [Featherlight](http://noelboss.github.io/featherlight/) for image lightboxes.

![](http://rbbl.ws/shr/BGjX3.png)

## Installation

Copy `index.php` and `inc` to the directory on your server where your files are. That's it.

## Configuration

Update the variables at the top of `index.php` to update the page title, url (used for redirecting to non-image files), allowed file type as well as changing the colour of the file icon.

## To do

- Different coloured icons for different filetypes