echo-lalia / MicroHydra

MicroHydra is a simple, 'OS-like', MicroPython based app switcher designed for ESP32 based devices.
GNU General Public License v3.0
155 stars 14 forks source link

Is it possible to add a micropython repl environment to enhance functionality? #31

Closed maysrp closed 4 weeks ago

maysrp commented 7 months ago

I tried to use fbconsole to build the micropython repl environment, but it failed.

echo-lalia commented 7 months ago

Someone has actually built a little repl-like app for MicroHydra, and I think it's pretty shnazzy 😁

I think it might be possible to actually connect to the full micropython repl from an app. It's something I'd like to try eventually, but I'm not sure when I'll be able to get to it.

TheOddCell commented 2 months ago

There is a terminal that echo-lalia (the creator of MicroHydra) has made, however I don't know if it is really a REPL: PR #111: Create simpleterminal

echo-lalia commented 2 months ago

There is a terminal that echo-lalia (the creator of MicroHydra) has made, however I don't know if it is really a REPL: PR #111: Create simpleterminal

I'm happy you're interested in my new changes! Unfortunately, that's not an actual 'terminal' (maybe I should've picked another name? I couldn't think of anything more descriptive, haha).

All that module does is add a lightweight terminal-like graphics object, which apps can use to print status information to the REPL and to the display simultaneously. Currently it's only used by the launcher/getapps.py built-in app.



That said, RealClearwave has also added an actual built-in terminal! It's not a MicroPython REPL however, so it doesn't quite complete this feature request.

echo-lalia commented 4 weeks ago

Hello! The Terminal app has been extended to include REPL functionality (In addition to its linux-style commands). This completes this feature request 😁