webrepl
webrepl copied to clipboard
URL parameters for host and auto_connect
It would be nice to be able to go to something like: http://micropython.org/webrepl?host=192.168.1.66&auto_connect=True and have the webrepl go directly to that host (rather than the default of 192.168.4.1), and optionally auto-connect. This would allow browser bookmarks to be easily set
There is a PR for this, see #16. It just does the host IP address bit. Does that PR work for you?
@askvictor Meanwhile that can be done by editing webrepl.html to point to desired IP address
<input type="text" name="webrepl_url" id="url" value="ws://192.168.4.1:8266/" />
I added a pull req - https://github.com/micropython/webrepl/pull/45
Which adds a few functions: +added ability to auto connect and auto login ( self ) +add logo ( 99a568d ) +add version display on connect ( 8e59ff0 )
Allows the usage of:
webrepl.html#{"url":"ws://192.168.1.1:8266","pass":"123456","autoconnect":true