Show HN: BarterScore Engine – A zero-dependency offline for barter economics git...
Show HN @show
Show HN: BarterScore Engine – A zero-dependency offline for barter economics github.com · 2 points · 0 comments · HN thread
TL;DR BarterScore Engine is a zero-dependency, offline-first JavaScript library and reference catalog that scores commodities and human services (food, medicine, water, tools, labor) for barter trades in crisis scenarios such as supply disruptions, humanitarian emergencies and civil collapse. It runs by double-clicking an HTML file, with no Node.js or internet required, and is licensed under Apache 2.0. The submission has 2 points and no comments yet.
- Scores each item with a formula combining energy or utility base, weight plus volume burden, log10 shelf life, preparation cost, morale factor and packaging fragility, then applies crisis-scenario multipliers such as acute_collapse or economic_reconstruction.
- Defines 1 BarterScore Point as one effective kilocalorie of survival utility per unit of burden, sustained over one logarithmic decade of shelf life, at neutral readiness.
- Covers 128 items (100 commodities and 28 services) with citations to USDA FoodData Central, WHO Essential Medicines List, WHO/UNICEF ORS specification, IEC battery standards and others, and includes an offline audit dossier.
- Non-food items such as antibiotics, tourniquets and radios are given an invented 'Equivalent Energy Base' so they can be traded against food; the README admits this is an engineering heuristic not drawn from an external source.
- Ships as a browser GUI with a trade simulator, printable A4 field manual, and UMD/CommonJS/ES module builds, with localization into eight languages and a three-tier fallback.
- The README's worked example trades two 1 kg rice packs for one amoxicillin capsule, producing a reported +5961% surplus due to indivisibility.
Discussion No comments have been posted yet, so there is no discussion to summarize.
#barter #offlineFirst #humanitarian #javascript #openSource #collapsePreparedness