[Feature Request] Disable CSS / Simple index
Robtom5 opened this issue · 2 comments
Robtom5 commented
To facilitate automation and minimize having to parse a ton of html it would be nice if there was a flag when starting miniserve to disable the javascript and just have a list of the available files/folders bereft of any styling
That would make is easy to run curl $URL_FOR_FOLDER
to get a list of available files and folders without having to deal with regexes for content of some but not all tags
Robtom5 commented
Looking through the code I think the easiest way would be to have an alternative directory renderer that can be applied in lieu of the existing renderer
wrenix commented
you could easy curl with:
curl $URL_FOR_FOLDER?raw=true