TRIAL 2026-11-18
- Python 46.9%
- JavaScript 40.8%
- HTML 12.3%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01X3rSFQDJYjX6bGw3aeA4iy |
||
| data | ||
| schema | ||
| scripts | ||
| site | ||
| .gitignore | ||
| LICENSE | ||
| README.md | ||
catalog-graph
Turns a vendor's product catalog (Shelly, Ubiquiti/UniFi, ham radio gear) into a typed "upgrade / downgrade / sidegrade" graph and a single-file browser SPA: for each product and each capability delta (+metering, +PoE budget, legacy->current, another band...), find the nearest product that realizes that delta while changing the least else, and say why you'd want it. The ham domain also carries an inventory/band-ledger planner and a hedonic price model.
Pipeline (per domain, data/<domain>/):
- fetch -
scripts/shelly_fetch.py,scripts/ubiquiti_fetch.py, DXE/Shopify scrapes for ham ->data/<domain>/raw/(not committed; re-fetchable) ->catalog.json - normalize -
scripts/shard.pysplits the catalog; an LLM fills each record perschema/features*.md->data/<domain>/features/<slug>.json(ant_prep.py/shopify_ant.py/ant_post.pyfor ham antennas,eham_join.pyadds review ratings) - graph -
scripts/build_graph.py data/<domain>with domain rules inscripts/rules/<domain>.py->graph.json;pairs_from_features.py->pairs.json - site -
scripts/build_site.py data/<domain> site/<domain>.html(inlinessite/template.html+inventory.js/inv_<domain>.js/pricing.js)
python3 scripts/build_graph.py data/ubiquiti
python3 scripts/build_site.py data/ubiquiti site/ubiquiti.html && open site/ubiquiti.html
The built graph.json / features/ for each domain are committed; raw scrape
caches and built HTML are not. Personal inventory is stored outside the repo.
License: MIT (code). Product data belongs to the respective manufacturers.