Repository navigation
v0.1.0 -- Initial Release
Tray v0.1.0 -- CLI-first inventory management for makers
First release. 216 tests, 75MB binary, ~50ms per command.
Features
- Parts -- CRUD with hierarchical categories, tags, FTS5 search, SI prefix parametric filtering
- Stock -- Lot-based tracking with multi-location support, low stock alerts
- Suppliers -- Price breaks, best-price comparison across vendors
- Attachments -- Content-addressed file storage with automatic thumbnail generation
- Projects & BOMs -- Build orders that deduct stock, purchase orders that receive stock
- KiCad -- HTTP Library API for using your inventory as a KiCad symbol library
- Import/Export -- CSV, JSON, KiCad BOM import
- Backup -- Binary backup via VACUUM INTO, restore with pre-restore safety copy
Installation (macOS Apple Silicon)
# Download and install
curl -L https://github.com/willwillems/tray/releases/download/v0.1.0/tray-darwin-arm64 -o /usr/local/bin/tray
chmod +x /usr/local/bin/tray
tray --versionQuick Start
tray add "NE555" --category "ICs/Timers" --stock 25 --manufacturer "TI"
tray add "10k Resistor" --category "Passives" --stock 100
tray list
tray search "555"
tray stock lowBuild from Source
Requires Deno v2+.
git clone https://github.com/willwillems/tray.git
cd tray
deno task test # 216 tests
deno compile -A --output ./tray packages/cli/src/mod.ts