<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: safab-research</title>
    <description>The latest articles on DEV Community by safab-research (@ankurtube51781210hue).</description>
    <link>https://dev.to/ankurtube51781210hue</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3974306%2Fbed8886c-50cf-486a-8fb7-a0565da473c8.png</url>
      <title>DEV Community: safab-research</title>
      <link>https://dev.to/ankurtube51781210hue</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ankurtube51781210hue"/>
    <language>en</language>
    <item>
      <title>How We Built a JSON API for 450-Year-Old Natural Dye Formulas</title>
      <dc:creator>safab-research</dc:creator>
      <pubDate>Mon, 08 Jun 2026 13:56:43 +0000</pubDate>
      <link>https://dev.to/ankurtube51781210hue/how-we-built-a-json-api-for-450-year-old-natural-dye-formulas-4fa5</link>
      <guid>https://dev.to/ankurtube51781210hue/how-we-built-a-json-api-for-450-year-old-natural-dye-formulas-4fa5</guid>
      <description>&lt;h2&gt;
  
  
  Bridging the Gap Between Ancient Craft and Web Architecture
&lt;/h2&gt;

&lt;p&gt;At &lt;strong&gt;&lt;a href="https://handblockprintsbagru.com" rel="noopener noreferrer"&gt;SA Fab&lt;/a&gt;&lt;/strong&gt;, 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.&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Problem with Modern Dyes
&lt;/h3&gt;

&lt;p&gt;Modern fast fashion relies on synthetic direct dyes and toxic reducing agents like Sodium Hydrosulfite. Our architecture relies entirely on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;Indigofera tinctoria&lt;/strong&gt; (Natural Blue)&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Rubia cordifolia&lt;/strong&gt; (Natural Red / Madder)&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Myrobalan&lt;/strong&gt; (Natural Yellow / Harda)&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  The API Architecture
&lt;/h3&gt;

&lt;p&gt;We utilized Postman to structure our data into a clean, queryable JSON format.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"process"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"Cold Vat Fermentation"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"alkali"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"Calcium Hydroxide (Chuna)"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"reducing_agent"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"Organic Dates / Jaggery"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"sustainability_score"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"100% Closed Loop"&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



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

&lt;h3&gt;
  
  
  Open Source Manufacturing
&lt;/h3&gt;

&lt;p&gt;If you are building a sustainable supply chain, you can view our full B2B/B2C catalog and verify our zero-chemical processes directly at &lt;strong&gt;&lt;a href="https://handblockprintsbagru.com" rel="noopener noreferrer"&gt;SA Fab Handblock Prints Bagru&lt;/a&gt;&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;We believe that the future of sustainable fashion lies in the open-source distribution of ancient engineering.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>api</category>
      <category>json</category>
      <category>sustainable</category>
      <category>engineering</category>
    </item>
  </channel>
</rss>
