Hacker News new | ask | show | jobs
by rewq4321 2075 days ago
Hey Oliver, looks interesting! Any reason it's not available as a web app? It looks like it's HTML/JS anyway? At least going off your alpha code on github.

That would be helpful for students who often aren't able to install software on school computers, people who have chromebooks, or people like me who don't like running native apps unless they're sandboxed somehow.

In any case, I hope you're successful here - very exciting project!

1 comments

Hey! Thanks a lot for the appreciation! Yes, as we need access to the serial port to connect with the Arduino, we currently need to rely on a native app, the browser does not allow us to do so at the moment. If this would be the case in the future, we would consider this of course as well.
There's an on-going origin trial of the web serial API - https://web.dev/serial/ - if you can get a token you could probably run the code in a browser (specifically Chrome at the moment).
Thank you for the tip! We will have a look at it!
I wrote small webserver for proxying serial port requests from the browser to solve a similar problem about 10 years ago. It's not generic enough for what you're doing, but something similar would be quick to code.

https://github.com/learc83/adapter

Thanks for sharing!
Doesn't the Arduino web IDE access the serial ports? I'm possibly missing something here but why not do it how they do it?
Arduino requires you to install a software to bridge this serial port issue.