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

URL parameters for host and auto_connect #25

Open
askvictor opened this issue Dec 31, 2016 · 3 comments
Open

URL parameters for host and auto_connect #25

askvictor opened this issue Dec 31, 2016 · 3 comments

Comments

@askvictor
Copy link

askvictor commented Dec 31, 2016

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

@dpgeorge
Copy link
Member

dpgeorge commented Jan 4, 2017

There is a PR for this, see #16. It just does the host IP address bit. Does that PR work for you?

@siriuspal
Copy link

siriuspal commented Jun 1, 2017

@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/" />

@theredkoala21
Copy link

I added a pull req - #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

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

4 participants