user61459: I need to compile generated source code in js runtime then upload it to my device.
Compiling:
I have found arduino-cli
Uploading:
There is only avrgirl but it doesn't work in browser. What should I do?

user7508: You can't, and that's a good thing. If the browser could let a Web site access your hardware, that would be a huge security breach. You may be able to bypass this security restriction if you can write an extension (plugin) for your browser.

61459: <p>I need to compile generated source code in js runtime then upload it to my device.</p>

<h3>Compiling:</h3>

<p>I have found <a href="https://github.com/arduino/arduino-cli" rel="nofollow noreferrer">arduino-cli</a></p>

<h3>Uploading:</h3>

<p>There is only <a href="https://github.com/noopkat/avrgirl-arduino" rel="nofollow noreferrer">avrgirl</a> but it doesn't work in browser. What should I do?</p>
 7508: <p>You can't, and that's a good thing. If the browser could let a Web site access your hardware, that would be a huge security breach. You may be able to bypass this security restriction if you can write an extension (plugin) for your browser.</p>
