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

More modern webrepl interface #4566

Open
joelhoro opened this issue Mar 1, 2019 · 5 comments
Open

More modern webrepl interface #4566

joelhoro opened this issue Mar 1, 2019 · 5 comments

Comments

@joelhoro
Copy link

joelhoro commented Mar 1, 2019

The webrepl is great to get started and the websocket implementation seem like a reasonable foundation, but I think the GUI could be enhanced without much (if any) alteration to the server. And I would gladly volunteer doing that, with some support from the experts.

I am thinking of

  • ability to view file hierarchy / add folders / files
  • simple text editor allowing editing particular files
  • scratch pad allowing sending multi-line code to the REPL in one go
  • buttons with predefined snippets

All of the enhancements I have in mind seem quite straightforward as they should mostly be done in javascript. They should be doable with the current client/server model.

@joelhoro
Copy link
Author

joelhoro commented Mar 2, 2019

This is what I have in mind - I am facing some issues w.r.t. communicating with the server, but so far things have been pretty straightforward to implement

image

@joelhoro
Copy link
Author

joelhoro commented Mar 3, 2019

Further progress - would love to get some feedback from people who would use a tool like this

image

@pfalcon
Copy link
Contributor

pfalcon commented Mar 3, 2019

@joelhoro: As a quick reply. Thanks for the post. Unless you hear something else from the maintainer(s), I'd suggest to treat that as you own separate project, to maintain, promote, support, etc. You posted on the forum, that's right step.

I'd draw your attention to the fact that by now, there're ~ a couple of dozens of various "IDEs" for MicroPython, among them there're also web-based IDEs.

@joelhoro
Copy link
Author

joelhoro commented Mar 4, 2019

Thanks for that and yeah - it did look like the project was abandoned.

I could not find a decent IDE tbh.

uPyCraft is the best and it is really pretty flimsy (mine would be better if it were not for the fact that it is not working on serial, but that should be fixable)
pyCharm has a plugin which did not recognize my esp.

I'll look more into the forum threads about micropython IDEs, maybe I'll get some luck.

This being said, I had fun and learned a bunch playing around for a few evenings to where I got :)

@hcoohb
Copy link

hcoohb commented Mar 24, 2019

@joelhoro Love the new interface with new functionality. It feels a lot more mature than the current one. Way to go!
I hope that micropython developers will take onboard some/all of the feature you suggest.
As I disagree, it is not because there are other options out there that the official version should be half-baked and missing functionality when people are offering to help... (I do understand though that it takes time to ensure code robustness and sustainability)

tannewt pushed a commit to tannewt/circuitpython that referenced this issue Apr 8, 2021
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

3 participants