app
DigiKey Electronics Search
Public Made by Adomby adom
DigiKey component search in your workspace — millions of parts with real-time stock, quantity pricing and datasheets. CLI verbs, a Hydrogen app, and a shared backend service.
#!/usr/bin/env bash
# Local build + install for adom-digikey.
set -euo pipefail
cd "$(dirname "$0")"
echo "==> cargo build --release"
cargo build --release
BIN=target/release/adom-digikey
if [ ! -x "$BIN" ]; then
echo "ERROR: build did not produce $BIN" >&2
exit 1
fi
DEST=/usr/local/bin/adom-digikey
echo "==> installing $DEST (sudo)"
sudo install -m 0755 "$BIN" "$DEST"
echo "==> adom-digikey install (skill + completions)"
adom-digikey install
echo
echo "Done. Try:"
echo " adom-digikey --help"
echo " adom-digikey search 'STM32F103'"
echo " adom-digikey app"