Skip to main content

Product Vibe-Coder

Design hardware products end-to-end: search components via Octopart, build a BOM, auto-generate enclosures, layout PCBs, and scaffold firmware.

Status: planned. This feature is not currently in the codebase (prototype removed 2026-07).

The sections below describe the intended design. No product store, panel, or octopartProxy Cloud Function currently ships.

Workflow

  1. Search components — query the Octopart database by keyword or MPN
  2. Build BOM — add components to a bill of materials
  3. Generate enclosure — auto-compute bounding box from BOM dimensions + padding
  4. Layout PCB — define board outline shape and thickness
  5. Scaffold firmware — select target MCU and language

A planned octopartProxy Cloud Function would wrap the Nexar/Octopart GraphQL API (returning mock data such as the following until wired):

  • ESP32-WROOM-32E
  • BME280 (temperature/humidity sensor)
  • SSD1306 (OLED display)

Enclosure Generation

The planned generateEnclosureFromBom() helper would compute:

  • Width = max component width + 2 * wall thickness
  • Height = max component height + 2 * wall thickness
  • Depth = sum of component depths + padding

Materials: PLA, ABS, PETG, Aluminum

Supported Firmware Targets

MCULanguages
ESP32C++, MicroPython
RP2040C++, MicroPython
STM32F4C++, Rust
nRF52C++, Rust