mufeedvh / binserve

A fast production-ready static web server with TLS (HTTPS), routing, hot reloading, caching, templating, and security in a single-binary you can set up with zero code.

Home Page:https://mufeedvh.gumroad.com/l/binserveplus

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add some CLI flags for typical config options

NightMachinery opened this issue · comments

E.g., the port, whether to have dir listings, whether to follow symlinks, etc.

Writing a config file is kind of overkill for firing up a throwaway HTTP server.

PS: Adding some screenshots of the directory listings will also help adoption.

Hey @NightMachinary, first of all sorry for the late response.

I agree with that, I am adding CLI configuration which will override the JSON config in v0.2.0. And I should mention, the second version is more than a throwaway HTTP server, it's currently in a state where it exceeds capabilities of a production-ready static web server. I haven't touched that code base in a while due to different reasons but I will be releasing the second version (v0.2.0) very soon.

Thank You for opening this issue, I will be adding CLI config flags in the next release. 🙌

Thanks!