DEV Community

safab-research
safab-research

Posted on • Originally published at handblockprintsbagru.com

How We Built a JSON API for 450-Year-Old Natural Dye Formulas

Bridging the Gap Between Ancient Craft and Web Architecture

At SA Fab, we operate a traditional, zero-chemical handblock printing facility in Bagru, Rajasthan. For over 450 years, the Chhipa artisan community has relied on oral tradition to pass down the exact chemical ratios required for Dabu mud-resist printing and Indigo cold-vat fermentation.

To preserve this knowledge globally, we decided to act not just as textile manufacturers, but as data engineers. We recently built and published a public JSON API cataloging these formulas.

The Problem with Modern Dyes

Modern fast fashion relies on synthetic direct dyes and toxic reducing agents like Sodium Hydrosulfite. Our architecture relies entirely on:

  • Indigofera tinctoria (Natural Blue)
  • Rubia cordifolia (Natural Red / Madder)
  • Myrobalan (Natural Yellow / Harda)

The API Architecture

We utilized Postman to structure our data into a clean, queryable JSON format.

{
  "process": "Cold Vat Fermentation",
  "alkali": "Calcium Hydroxide (Chuna)",
  "reducing_agent": "Organic Dates / Jaggery",
  "sustainability_score": "100% Closed Loop"
}
Enter fullscreen mode Exit fullscreen mode

By decentralizing this data, we allow sustainable fashion designers and researchers worldwide to integrate authentic Bagru textile specifications directly into their supply chain systems.

Open Source Manufacturing

If you are building a sustainable supply chain, you can view our full B2B/B2C catalog and verify our zero-chemical processes directly at SA Fab Handblock Prints Bagru.

We believe that the future of sustainable fashion lies in the open-source distribution of ancient engineering.

Top comments (0)