Description
Great tool. In case you were looking for some things to make it better, here are two thoughts I had while using it:
-
cli_repl: I don't like using a web page as a terminal. It's pretty slick, but I'm very good at using a terminal. I would like to be able to do the webREPL from the command line. Sort of how miniterm.py works, but over wifi. Maybe there's an easy way to do with with node.js, and the term.js? I'm not good enough with javascript to know.
-
put mpy: I found out rather quickly that importing .py files takes a lot of RAM. I ended up converting to .mpy bytecode files. It would be nice if the webrepl_cli.py had a -m flag to convert them while transferring them. Some reasonable additional subfeatures would be: a) deleting the .py version if pushing with -m, or deleting the .mpy if pushing without -m. b) having a nice error message, with some simple instructions in case the bytecode conversion script isn't installed or available. c) warn, or refuse to do the conversion with main.py and boot.py (in my experience, they don't work if they are the .mpy versions, maybe that's really the bug here).
I would promise to help, but the Internet is riddled with my false promises. I could probably work on 2) but tty stuff always gets the best of me, so 1) is probably a lot easier for one you.
Just my $0.02. Thanks for the work so far. It's a great tool for the kit.