8 MIT-LICENSED PACKAGES · NO SIGNUP

Free & Open-Source Garment Factory ERP Components

The math layer of a garment factory ERP, published as 8 standalone npm and PyPI packages. Use them in your own tools or as the foundation of a custom ERP build.

The honest version of "free garment ERP"

Search "free garment ERP" and you get vendor pages selling 14-day trials, GitHub repos abandoned in 2019, or generic ERP forks that have never seen a sewing floor. None of these is what factory owners actually need.

The honest answer in 2026 is split. The math layer of a garment factory ERP is genuinely free — and open source. We published it ourselves: AQL sampling, DHU, line efficiency, fabric consumption, CMT cost, SMV, piece-rate, bundle ID. 8 packages on npm and PyPI, MIT licensed, no signup, no usage limits.

The hardware + UX + integration layer is not free — and never will be in any meaningful sense. Printer integration, biometric attendance, real-time supervisor alerts, cheap-Android-phone operator UX that handles 8-hour shifts — these require active maintenance against real factory conditions. Free tools rarely survive 6 months on a real factory floor.

This page covers what is genuinely free, what is not, and how to make the right tradeoff for your factory's size.

The 8 free open-source packages

Each package is production-tested in our own Nepal CMT factory and published independently. Install with npm install or pip install — no account needed.

garment-aql-calculator
ISO 2859-1 AQL sampling. QIMA-verified. 3-tier garment inspection.
$ npm i garment-aql-calculator
$ pip install garment-aql-calculator
garment-dhu-calculator
DHU + defect-type breakdown + multi-checker aggregation + benchmarks.
$ npm i garment-dhu-calculator
$ pip install garment-dhu-calculator
garment-line-efficiency
Efficiency %, target output, line balance + bottleneck analysis.
$ npm i garment-line-efficiency
$ pip install garment-line-efficiency
garment-fabric-consumption
Knit GSM × area + woven marker-length. Wastage, GSM ↔ oz/yd².
$ npm i garment-fabric-consumption
$ pip install garment-fabric-consumption
garment-cmt-cost
CMT cost + 13-country CPM comparison + margin addition.
$ npm i garment-cmt-cost
$ pip install garment-cmt-cost
garment-smv-calculator
Stopwatch SMV / SAM with performance rating + allowance.
$ npm i garment-smv-calculator
$ pip install garment-smv-calculator
garment-piece-rate
Piece-rate earnings + quality bonus + speed bonus + overtime.
$ npm i garment-piece-rate
$ pip install garment-piece-rate
garment-bundle-id
Bundle QR codes — STYLE-LOT-COLOR-SIZE-BUNDLE#-COMPONENT.
$ npm i garment-bundle-id
$ pip install garment-bundle-id

What you get free vs. what costs money

CapabilityFree (our 8 packages)Paid Scan ERP
AQL sampling calculation✓ free✓ included
DHU + benchmark classification✓ free✓ included
Line efficiency math✓ free✓ included
Fabric consumption (knit + woven)✓ free✓ included
CMT cost + country comparison✓ free✓ included
SMV / SAM calculation✓ free✓ included
Piece-rate earnings math✓ free✓ included
Bundle QR generation✓ free✓ included
Operator scanning UX (cheap Android phones)✗ build yourself✓ ready
Real-time WIP dashboard✗ build yourself✓ ready
Label printer integration (TSC, Brother)✗ build yourself✓ ready
Biometric attendance (ZKTeco)✗ build yourself✓ ready
ESP32-CAM hardware scanner firmware✗ not available free✓ included
Supervisor alerts (WhatsApp, FCM)✗ build yourself✓ ready
Pi-based edge cache (internet drop tolerance)✗ build yourself✓ ready
Buyer DPP / BSCI / Sedex export✗ build yourself✓ ready
Production support + updates✗ community only✓ included

When "free garment ERP" actually works

Free + DIY makes sense in three scenarios:

  1. Under 30 machines. Excel + WhatsApp + our free packages is enough. Bundle loss is small enough to absorb. Payment disputes resolve verbally.
  2. Building a software product (not running a factory). If you are a developer building a garment-industry tool, our packages are the math layer — integrate them with your own UI.
  3. Pilot / POC stage. Test the workflow with our free calculators before committing to a paid ERP. If it does not work with the math alone, paid software will not save it either.

When free garment ERP stops working

Free stops working when you cross any of these thresholds:

At this point most factories either build a custom solution (typically $30K-80K project + 6-12 months) or buy an ERP ($100-2,000/month). Building is usually a mistake — the hidden integration work (printers, biometric, ESP32, Pi, WhatsApp bot) eats 80% of the budget. Buying integrated ERP is the realistic answer.

Try the free tools first

Before committing to anything, run our free calculator hub on your factory's actual numbers:

If the math layer covers your needs, install the packages and build. If you need the full data + hardware automation stack, see the automation roadmap.

Related reading