-
Notifications
You must be signed in to change notification settings - Fork 51
Create an option to start server with directory listing #6
Comments
+1 this would be awesome. |
If you haven't started on this, would you accept a pull request for it? I might write it out real quick. |
If you want to contribute, your PR should include these changes
Optionally, the renderer could also be a delegated function defaulting to a very basic directory listing renderer. For example :
This way, when used as a third party module, a function may be given to format the output to a predefined format. My2cents |
Hello @pconerly. Sorry about the delay, was on vacation in the last days. 😆 It will be great if you want to contribute. If you want to start implementation and ask for feedback before the pulll-request I will be happy to help. Try to start the implementation using the tests to simplify validation and regression. The tips above are great @yanickrochon, thank you. Att; |
Hi guys, thanks a lot for your help. I decided to retire the project as I no longer have the time to maintain it. If any of you are interested in making a fork, I'd be happy to mention it for others in the community to use. More information about this in the README. |
Directory listing (like apache) is a good feature sometimes we have a directory with a lot of files.
When asked for a directory, instead of opening the default file (index.html), list all files and directories within it.
I think a html page to link each entry is a good idea.
PS: Just to be safe, should only be enabled via parameter not by default.
The text was updated successfully, but these errors were encountered: