aradotso avatar

Awawausb Webusb Firefox

Firefox doesn't support WebUSB natively, so if you need navigator.usb to work in Firefox for hardware projects or testing, this is the bridge you want. It's a two-part system: a browser extension plus a Rust-compiled native stub that talks to OS USB APIs through native messaging. Cross-platform (macOS, Linux, Windows) with prebuilt binaries, though you'll need to handle udev rules on Linux or WinUSB drivers on Windows. The setup is a bit fiddly with manifest files and registry keys, but once configured the API matches Chrome's WebUSB exactly. Good for teams that can't force users onto Chromium or need to support Firefox in production hardware tools.

skills.sh installs
195
GitHub stars
26
last updated
Jun 3, 2026

Install

$ npx -y skills add aradotso/trending-skills --skill awawausb-webusb-firefox --agent claude-code

Installs into .claude/skills of the current project.

Files

awawausb — WebUSB Extension for Firefox

Skill by ara.so — Daily 2026 Skills collection.

awawausb adds WebUSB (navigator.usb) to Firefox via a two-part system: a browser extension (.xpi) and a native stub binary (compiled Rust) that communicates over native messaging.

Architecture

Web Page (navigator.usb)
    ↕  WebExtension API
Firefox Extension (extension/)
    ↕  Native Messaging (stdio, JSON-framed)
Native Stub Binary (native-stub/ — Rust)
    ↕  OS USB APIs (WinUSB / libusb / IOKit)
USB Device

Installation (End Users)

1. Install the Extension

  • Signed release: Download .xpi from GitHub Releases, open in Firefox.
  • Developer/testing: about:debugging → "This Firefox" → "Load Temporary Add-on…" → select extension/manifest.json.

2. Install the Native Stub

Download and unzip the release archive for your platform, then run:

# Linux / macOS
./install.sh

# Windows
install.bat

Supported platforms: macOS x86_64/ARM64, Linux x86_64/aarch64, Windows AMD64/ARM64.

Building from Source

# Clone
git clone https://github.com/ArcaneNibble/awawausb
cd awawausb/native-stub

Sponsors

Details

Repository
github.com/aradotso/trending-skills
First seen
Jun 3, 2026

More from aradotso/trending-skills

All 251

Recommended

1juliusbrussee avatarcavemanjuliusbrussee/cavemanUltra-compressed communication mode. Cuts output tokens 65% (measured) by speaking like caveman while keeping full technical accuracy. Supports intensity levels618.3Kskills.sh installs
2mattpocock avatargrill-memattpocock/skillsA relentless interview to sharpen a plan or design.1.5Mskills.sh installs
3shadcn avatarimproveshadcn/improveSurvey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute. Strictly read-only on s40Kskills.sh installs
4obra avatarsystematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes326.7Kskills.sh installs
5forrestchang avatarkarpathy-guidelinesforrestchang/andrej-karpathy-skillsBehavioral guidelines to reduce common LLM coding mistakes through explicit assumptions, simplicity, and verifiable success criteria.17.9Kskills.sh installs
6vercel-labs avatarfind-skillsvercel-labs/skillsHelps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express int4.3Mskills.sh installs