Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Disable CSS / Simple index #1088

Open
Robtom5 opened this issue Mar 29, 2023 · 2 comments
Open

[Feature Request] Disable CSS / Simple index #1088

Robtom5 opened this issue Mar 29, 2023 · 2 comments

Comments

@Robtom5
Copy link

Robtom5 commented Mar 29, 2023

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
Copy link
Author

Robtom5 commented Mar 30, 2023

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
Copy link

wrenix commented Aug 26, 2023

you could easy curl with:
curl $URL_FOR_FOLDER?raw=true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants