Paste an Amazon URL, get a fully populated Homebox inventory item -- product image, cleaned-up name, specs, price, and manuals included.
- Scrapes product data from Amazon (title, price, manufacturer, model, specs, image)
- Cleans up SEO-stuffed product names into something readable
- Searches for product manuals (ManualsLib, manufacturer sites, Internet Archive)
- Creates the item in Homebox with all metadata and attachments
Requires Python 3.10+ and Playwright (Chromium).
make setup
cp config/config.example.yaml ~/.config/homebox-tools/config.yaml
# Edit with your Homebox URL and credentials
chmod 0600 ~/.config/homebox-tools/config.yamlOne-time Amazon login (saves session to disk):
make login# Add an Amazon product
python -m homebox_tools "https://amazon.com/dp/BXXXXXXXX"
# Preview without creating
python -m homebox_tools "https://amazon.com/dp/BXXXXXXXX" --dry-run
# JSON output for scripting
python -m homebox_tools "https://amazon.com/dp/BXXXXXXXX" --dry-run --json
# From a local folder with product files
python -m homebox_tools --folder ./my-product/
# Specify location and tags
python -m homebox_tools "https://amazon.com/dp/BXXXXXXXX" --location "Office" --tags electronics networking
# Skip manual search
python -m homebox_tools "https://amazon.com/dp/BXXXXXXXX" --no-manualsConfig file: ~/.config/homebox-tools/config.yaml
Environment variables override the config file: HOMEBOX_URL, HOMEBOX_USERNAME, HOMEBOX_PASSWORD.
- Opens Amazon in a real browser (headed Playwright) to avoid bot detection
- Extracts product data from the page
- Strips Amazon SEO junk from the title
- Searches multiple sources for product manuals/PDFs
- Creates the item in Homebox via REST API
- Uploads the product image and any manuals as attachments
MIT