Working on enhancing the webrepl html client

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
joelhoro
Posts: 5
Joined: Wed Feb 27, 2019 2:37 pm

Working on enhancing the webrepl html client

Post by joelhoro » Sat Mar 02, 2019 4:27 pm

I worked a bit on enhancing the webrepl client, as per https://github.com/micropython/micropython/issues/4566

I have a few technical issues so wouldn't mind some help, but so far I am pretty happy about the results.

See the screenshot attached - let me know if you are interested in trying it out

Image

cefn
Posts: 230
Joined: Tue Aug 09, 2016 10:58 am

Re: Working on enhancing the webrepl html client

Post by cefn » Thu Mar 21, 2019 5:40 pm

Thanks for your work on this. The WebREPL is a fantastic starting point, but certainly needs some love from a maintainer and you've already made some visible improvements from this screenshot. I'm assuming https://github.com/micropython/webrepl/ ... oro:master shows your changes.

To make computing more accessible for those without Administrator access and technical support for a home computer. WebREPL promises to allow anyone with a browser to get hacking (micro)python which is great.

I'm keen to develop the WebREPL further as I'd like to use it to support learners with cheap Micropython projects on ESP (with the WebREPL served direct from the ESP itself). See for example https://vgkits.org/blog/2018/05/08/intr ... -tutorial/

Not long after doing that work I was contracted as a software developer which doesn't leave me a lot of spare time. Having work is a nice problem to have, but I do want to achieve some specific outcomes with the WebREPL.

* Having fewer complicated steps for a default setup - e.g. having to know how to type the IP address of the device, and provide a challenge password. Better that these are autocompleted or DNS-aliased in the typical home-network configuration.
* Facilitating editing Micropython code in a dedicated and persistent text editor, but which can be easily sent as code to the micropython shell.

Curious about the serial.js file, server.js file and the Angular dependency. Can you share more about your thinking?

Post Reply