app / adom-mouser
!

Not installable via adompkg

This app has no published release. adompkg install kyle/adom-mouser will not work until a maintainer publishes a tarball with install.sh and uninstall.sh.

See the publishing docs for the package.json schema and tarball layout required to ship this app.

adom-mouser

Search Mouser Electronics for components, pricing, stock, and datasheets. One Rust binary with three faces:

  • CLI verbsadom-mouser search|part|health return normalized JSON on stdout, ready for | jq.
  • Hydrogen webview appadom-mouser app opens a first-class "Mouser Search" tab with per-card images, price breaks, RoHS / lifecycle / packaging flags, copy-to-clipboard for MPN and Mouser PN, and a backend-health indicator.
  • Backend HTTP serviceadom-mouser serve runs an HTTP proxy (port 8775) with a 10-minute LRU cache. Keeps the Mouser API key server-side; consumer containers point MOUSER_API at it.

Mouser search webview showing STM32F103 results with pricing and stock

Install

curl -fsSL https://wiki-ufypy5dpx93o.adom.cloud/static/apps/adom-mouser/adom-mouser \
  -o /tmp/adom-mouser \
  && chmod +x /tmp/adom-mouser \
  && sudo install -m 0755 /tmp/adom-mouser /usr/local/bin/adom-mouser \
  && adom-mouser install

Installs the binary to /usr/local/bin/adom-mouser, deploys ~/.claude/skills/adom-mouser/SKILL.md and ~/.claude/skills/adom-mouser-build/SKILL.md, and registers bash completions.

For gallia containers, this is done automatically by gallia/install.mjs — adom-mouser is a Tier A app (every Adom user needs component search day-one).

Use

# CLI
adom-mouser search "STM32F103RBT6" --limit 5
adom-mouser part 511-STM32F103RBT6 | jq '.components[0] | {mouser_pn, unit_price, price_tiers, stock}'
adom-mouser health

# UI
adom-mouser app        # opens a Hydrogen webview tab

# Backend
MOUSER_API_KEY=<key> adom-mouser serve    # runs on service-mouser container

Architecture

  any user container             service-mouser (default-light)
  ──────────────────             ──────────────────────────────
  adom-mouser search       ─┐
  adom-mouser app          ─┼──▶ adom-mouser serve (port 8775)
  adom-mouser health       ─┘    + MOUSER_API_KEY
                                 + 10-min LRU cache
                                 + self-heal cron watchdog
                                          │
                                          ▼
                                api.mouser.com / v2

The service container clones only adom-inc/adom-mouser; its service/watchdog.sh runs every 2 min to (1) keep the service healthy and (2) git fetch origin main + rebuild + swap binary when a new release lands. No redeploy step after publishing — publish.sh pushes to main, the service container picks it up within ~5 minutes.

Source

Source at adom-inc/adom-mouser (private). The public artifact is this wiki page's docker-binary asset — source access is not required to install or use the app.

Built following the canonical adom-app-model: single private repo for both client + service code, binary published to the wiki, service on its own default-light container, Tier A distribution via gallia/install.mjs.