finds.dev

noopkat/avrgirl-arduino

A NodeJS library for flashing compiled sketch files to Arduino microcontroller boards.

View on GitHub

★ 530JavaScriptMITupdated Jun 2023

// the take

A NodeJS library (plus CLI) that flashes precompiled .hex sketches to Arduino and Arduino-compatible boards over serial, implementing the avr109, stk500v1 and stk500v2 programming protocols itself. It's for people building tools around Arduino hardware who need to flash boards from a Node process instead of shelling out to avrdude or driving the Arduino IDE.

It implements the flashing protocols directly rather than wrapping avrdude, so there's no external binary dependency to manage. The board definitions are explicit (signature, product IDs, baud, protocol) and there's a documented custom-board spec for anything not on the built-in list, so unsupported hardware isn't a dead end. It ships both a programmatic API and a CLI with auto port-detection, a pluggable debug hook, and options like manualReset/disableVerify for boards that need non-standard handling.

No commits since mid-2023 and the CI badge points at Travis CI, which is effectively dead, so there's no evidence the test suite still runs against anything. Web Serial support is explicitly called out as alpha and lives in a demo folder rather than the main API, so browser-based flashing isn't something you can rely on. The board list is hardcoded to older Arduino hardware (Uno, Mega, Leonardo-era boards) with no entries for newer boards or bootloaders, meaning anything released in the last few years needs a hand-rolled custom board spec. It also sits on serialport for native USB access, which brings the usual native-module build pain across Node versions and platforms that a stale, unmaintained wrapper won't get ahead of.

We read the README, the directory tree and a key source file in October 2026. Nobody pays to be listed. How we judge →

search the same ground:

// at a glance

Stars
530
Forks
130
Language
JavaScript
License
MIT
Last commit
8 Jun 2023

// nearby

If avrgirl-arduino isn't quite it.

All repos →