GithubHelp home page GithubHelp logo

directorylister / directorylister Goto Github PK

View Code? Open in Web Editor NEW
2.1K 70.0 505.0 6.08 MB

πŸ“‚ Directory Lister is the easiest way to expose the contents of any web-accessible folder for browsing and sharing.

Home Page: https://www.directorylister.com

License: MIT License

PHP 84.89% Makefile 1.28% JavaScript 2.60% HTML 0.19% Shell 0.04% Dockerfile 0.76% SCSS 1.45% Twig 8.78%
directory-lister verify directory-browser php

directorylister's Introduction

Directory Lister

Join our Community Become a Sponsor One-time Donation
Packagist PHP Version Support License


Directory Lister is the easiest way to expose the contents of any web-accessible folder for browsing and sharing. With a zero configuration, drag-and-drop installation you'll be up and running in less than a minute.

Directory Lister is created and maintained by Chris Kankiewicz (@PHLAK) with help from community contributions.

Features

  • Simple installation allows you to be up and running in less than a minute.
  • Light and dark themes to suit your professional needs or personal style.
  • Custom sort ordering gives you control of the ordering of your files/folders.
  • File search helps you locate the files you need quickly and efficiently.
  • File hashes instill confidence when downloading files through verification.
  • Readme rendering allows exposing the contents of READMEs directly on the page.
  • Zip downloads for fetching an entire directory of files in a single action.
  • Multi-lingual support brings Directory Lister to the language of your choice.

Requirements

  • Directory Lister requires PHP >= 8.0
    • The Zip extension is required for zip downloads
    • The DOM and Fileinfo extensions are required for README rendering

Installation

  1. Download Directory Lister
  2. Extract the zip/tar archive
  3. Copy extracted files/folders to your web server

Configuration

  1. Copy .env.example to .env
  2. Edit the configuration values in .env

See the Configuration Documentation for more information.

Sponsors

Love Directory Lister? Sponsor development and have your name or logo featured here!

Changelog

A list of changes can be found on the GitHub Releases page.

Troubleshooting

See the Help & Support section of the documentation for troubleshooting instructions.

For general help and support join our GitHub Discussion or reach out on Twitter.

Please report bugs to the GitHub Issue Tracker.

Copyright

This project is licensed under the MIT License.

directorylister's People

Contributors

adan89lion avatar adrianschubek avatar akhmadarief avatar armync avatar arno500 avatar bionicriddle avatar carlos-teles avatar ciscam avatar dependabot-preview[bot] avatar dependabot[bot] avatar devrojod avatar eoghan2t9 avatar evandotpro avatar fynn93 avatar hauhetco avatar insink71 avatar jgranick avatar johse avatar marcinlawnik avatar marioene avatar masteve avatar mikemand avatar morevnaproject avatar ozankurt avatar phlak avatar pierew avatar rpavlik avatar ryzhovau avatar sopor avatar timiwahalahti avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

directorylister's Issues

How size file can be download.

i have problem when i will download file over 27M, example i will download file with size 35M, download running and finish , and when i check file just get 27M, and i has try with more 5 different file and different extension.

any information about thats solution.

Thanks u

Theme System

Implement a theming system similar to the UberGallery theming system.

Parse Error, T_STRING

in default.config.php which you rename to config.php, line 16 reads:

    'download.php,

which doesn't have the closing apostrophe. It will return:

Parse error: syntax error, unexpected 'file_types' (T_STRING), expecting ')' in \resources\config.php on line 20

needs to be changed to:

    'download.php',

show filesize in MB, instead of KB

I think it might be better if the filesize function uses MB instead of KB, or make it dynamic to the situation (like KB for small file less than 10MB, and GB for a file with more than 1000MB size).

Thanks.

Sort by date

Add the ability to sort files by modified date.

strange replace folder name 1 - > 0

http://www.oracle-xe.ru/

═════════════════════════════════════════ \FLYLINKDC-SERV\web\oraclexe ═══
x Name β”‚
.. β”‚
1 β”‚
resources β”‚
Test-folder β”‚
.htaccess β”‚
index.php β”‚

http://www.flickr.com/photos/96019675@N02/9526020100/

IE9 - Activated Compatibility Mode = Wrong list display!

Hi,
If IE9 is used to browse then as soon as the IE feature "Compatibility View" is activated the content of the directory is not shown correct.

This was not tested with other IE versions but I assume it goes into the same.

Correct Display with "Compatibility View" disabled:
directorylister_iecompatibilityview_disabled_correct

Incorrect Display with "Compatibility View" enabled:
directorylister_iecompatibilityview_enabled_incorrect

Markdown Support

Implement the parsing of markdown files on the fly instead of treating them like text.

SECURITY BREACH using ?dir=

I recently came across a security breach today while using this tool on a windows apache server.

You can use it to display any path OUTSIDE of the path the script runs in using the URL, if you know direct paths on the server. For instance, simply adding ?dir=C: to the end of the index.php will display the contents of the C:/ drive, and everything from there! This does not let the user display files in these directories, but seeing the directories themselves is already BAD enough!

Please be sure to patch this in future releases. It should never allow directory listing of parent directories.


Also, a RECOMMENDATION feature:
Would it be possible to run this script on a web-accessible directory, but have it browse files on a directory outside of the web directory? Say, I want to browse C:/My Pictures exclusively through this tool on domain.com/index.php (running your script). So in other words, your script would be a portal to make these files web-accessible.

Thanks!

FTP access

Hi,

I'm trying to use the Directory Lister to retrieve a listing from an FTP directory to a public directory. The directory is password protected, and I'd like to include the username and password for the 'dir'.

Thanks,

  • Nick

DefaultRoot

I think, it's been a good feature, to add a config parameter, called default root.
In that line u can set the directory.

For example, i made a symlink near the index.php. I want only list this folder. And if i can set that, that would be great :D

Google API

I see in the source code, you include Google API.

  • fonts.googleapis.com
  • ajax.googleapis.com

Is it possible to avoid Google API's website connection ?

notice : rawurlencode

Hi sir
i'm using wamp server in windows .
After using the ِDirectory Lister system gives the following message :
" Notice: Use of undefined constant rawurlencode - assumed 'rawurlencode' "
please help me ...
tnx

Missing ' in config.php

I implemented this and I get Parse error: syntax error, unexpected T_STRING, expecting β€˜)’ in /home/content/79/9790479/html/uploads/resources/config.php on line 20

FIX:

edit line 16

β€˜download.php’,

it was missing the β€˜ at the end

Integrate Colorbox to browse files

Integrate Colorbox to come up whenever a "readable" file is selected. Also add a "download" button to each line that utilizes Colorbox for viewing.

Downloads-Counter and MD5Sum

Hello,

I have an idea - one of them is already implemented on a fork of your script, https://github.com/Obihoernchen/DirectoryLister -the Download Counter. it is good, yeah...but i'd like to have it integrated here. This would be the mist useful feature, but wait, there's more... :)

Another one is the Integration of a Button for MD5Sum Generation -so when the user clicks on a file, it generates a md5sum via AJAX. (just an idea)
OR:
To generate a text file/a config file that stores the MD5Sum.

Great script by the way :)

ERROR: Failed to initialize theme

After installation of v2.0.3 I received this error when accessing my root directory -

ERROR: Failed to initialize theme

Unfortunately, there's no other information. Running XAMPP 1.8.1 (PHP 5.4.7) on Windows 7 Ult. 64-bit

bootstrap pull-right bug

the structure is wrong near the size and modified classes.
the right solution:
span class="file-size pull-right"
span class="file-modified pull-right"

Per-directory Reverse Sorting

Add a config option to reverse sort (alphabetically) a directory. Maybe even allow custom sorting per directory with natcase being default.

resources/config.php on line 20

Followed your instructions for installation... error occured
Parse error: syntax error, unexpected T_STRING, expecting ')' in /home/content/d/s/c/dscmaster/html/...resources/config.php on line 20
Do I need to alter file type somewhere? I have .3gp in directory

Google Analytics

Add an easy way to track site analytics via Google Analytics. Make sure to enable file download tracking as an event.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.