Hacker News new | ask | show | jobs
by raihansaputra 1790 days ago
Can you share what apps you use? I saw an editor on the tweet image, So I guess there's some different setups using different apps out there.

Chrome on Android also has DevTools internally (through chrome://inspect when you connect a debuggable android to a laptop). I don't know whether that's possible to expose or not on the phone, but would be very helpful.

VSCode/Monaco should also be "runnable" as they're running on JS / V8. That will open a lot of extensibility.

2 comments

For most starting out it's editors in playstore, There are editors for different langugages, I started with the pydroid editor. There you can write code and hit compile to show the output. As traversing menus by hand gets quite hard, the next approach is probably to learn termux and terminal as everything is keyboard driven.

I have tried jupyternotebooks, vscode on browser but the small screen is the real blocker and you can barely see the editing field.

I use termux for everything now, for websites I just open a localhost port and see it in my browser or do live reload in spare phone. Video and images are also redirected by the termux to respective apps.

Yeah, desktop oriented apps such as jupyternotebook and VSCode will need UI adjustments to make it usable on the phone.

That's cool to know that you can run localhost and expose the port to another phone.

Thanks for sharing. Wishing you the best on your journey!

Chrome's DevTools don't have a mobile UI AFAIK, so the best available option for debugging in a mobile browser is probably Liriliri's Eruda https://eruda.liriliri.io/ which is a kind of embeddable debugger that runs as part of the website you're debugging.
I just knew about this, definitely very cool.