owulveryck / goMarkableStream

A utility to stream (and record) from a Remarkable2 without hack or third party dependencies
MIT License
593 stars 24 forks source link

feat: skip HTTP auth when connected via USB #104

Open mpldr opened 10 months ago

mpldr commented 10 months ago

When connected via USB it doesn't make a whole lot of sense to ask for a password.

owulveryck commented 10 months ago

Nice!

owulveryck commented 10 months ago

I had a deeper though about it.

I think we can leave it as a choice to the user. People connecting only via USB should be able to combine the BIND_ADDRESS and the -unsafe option.

It is useful to people using both, and to be honest, the browser are querying only once.

What is the use case you are fulfilling with this feature?

mpldr commented 10 months ago

It's useful when starting the server once and then "forgetting" about it. My employers network does not allow for LAN (PC) to WIFI (remarkable) access, while most other networks do. Thus I am required to connect via USB. When connecting via WIFI however I want the authentication to be required.