<?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: Megh Deb</title>
    <description>The latest articles on DEV Community by Megh Deb (@iammeghdeb).</description>
    <link>https://dev.to/iammeghdeb</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3947029%2Fb1ff88ab-0e9a-4a79-a77a-1496b8275e92.jpg</url>
      <title>DEV Community: Megh Deb</title>
      <link>https://dev.to/iammeghdeb</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/iammeghdeb"/>
    <language>en</language>
    <item>
      <title>ShramPark: Offline-First AI Engineering Companion 'Raghav' Built for My Civil Engineer Friend</title>
      <dc:creator>Megh Deb</dc:creator>
      <pubDate>Fri, 02 Oct 2026 13:19:58 +0000</pubDate>
      <link>https://dev.to/iammeghdeb/shrampark-offline-first-ai-engineering-companion-raghav-built-for-my-civil-engineer-friend-1dp6</link>
      <guid>https://dev.to/iammeghdeb/shrampark-offline-first-ai-engineering-companion-raghav-built-for-my-civil-engineer-friend-1dp6</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-weekend-2026-10-01"&gt;Hacktoberfest Weekend Challenge: Build for a Friend&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;ShramPark&lt;/strong&gt; is an offline-first, mobile-responsive AI engineering companion and construction site safety platform. At its core is &lt;strong&gt;Raghav AI&lt;/strong&gt;—an on-device structural engineering assistant built specifically for my civil engineer friend.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Problem My Friend Faced
&lt;/h3&gt;

&lt;p&gt;My friend works as a structural and site civil engineer on active, high-pressure infrastructure and building projects. He spends hours stationed deep underground in basement excavations, piling pits, tunnel shafts, and remote jobsites where cellular networks and internet connectivity drop to absolute zero.&lt;/p&gt;

&lt;p&gt;On active sites, he constantly needs to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Cross-reference complex Indian Standard (IS) codes (such as IS 456:2000 for reinforced concrete, IS 800:2007 for structural steel, IS 1893:2016 for seismic design, IS 875 for wind and structural loading, and IS 10262:2019 for concrete mix proportioning).&lt;/li&gt;
&lt;li&gt;Perform step-by-step mathematical engineering calculations (limiting moment of resistance, shear capacity, development length, rebar curtailment, and deflection limits).&lt;/li&gt;
&lt;li&gt;Adjust concrete pouring and curing regimes based on real-time micro-climate factors (temperature, relative humidity, wind speed) to prevent thermal cracking and plastic shrinkage as per IS 7861.&lt;/li&gt;
&lt;li&gt;Inspect on-site craftsmanship (rebar placement, cover block clearances, shuttering verticality, honeycombing) and produce stamped technical audit sheets.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In deep basement pits with zero cell reception, conventional cloud-based AI tools are completely unusable. He needed an intelligent, reliable engineering co-pilot that lives directly on his device and never requires an internet connection to solve complex structural problems. To solve this, I built &lt;strong&gt;Raghav AI&lt;/strong&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  What ShramPark Does
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Raghav AI (Offline On-Device Engineering Assistant)&lt;/strong&gt;: Runs Google's open-weight &lt;strong&gt;Gemma 4 E2B&lt;/strong&gt; model 100% locally in the browser using &lt;strong&gt;LiteRT-LM&lt;/strong&gt; and &lt;strong&gt;WebGPU&lt;/strong&gt;. Named 'Raghav', this assistant acts as an on-site engineering colleague that performs limit-state RC beam/slab/column design, shear checks, development length derivations, and mix design checks completely offline with zero server roundtrips.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SiteVision (AI Quality &amp;amp; Safety Inspector)&lt;/strong&gt;: Computer vision diagnostics allowing engineers and supervisors to snap photos of rebar cages, shuttering, or freshly cast concrete to detect honeycombing, cover block placement errors, slurry leaks, and safety non-compliance.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Micro-Climate Engineering Personalization&lt;/strong&gt;: Integrates live site geolocation and micro-climate data (ambient temperature, humidity, wind speed) to automatically calculate evaporation rates, adjust curing durations, and suggest plastic shrinkage precautions as per IS 7861.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Standardized PDF Engineering Memos&lt;/strong&gt;: Generates client-side, formatted technical calculation reports and site inspection checklists with KaTeX mathematical formulas.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tailored for 2 Core Site Roles&lt;/strong&gt;: Streamlined explicitly for &lt;strong&gt;Supervisor&lt;/strong&gt; (field safety and visual audits) and &lt;strong&gt;Engineer&lt;/strong&gt; (structural derivations and IS compliance).&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;The application is deployed and ready to use live in the field:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Live Deployment URL&lt;/strong&gt;: &lt;a href="https://shrampark.vercel.app/" rel="noopener noreferrer"&gt;https://shrampark.vercel.app/&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Core Workflows to Test:
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;/raghav&lt;/strong&gt;: Initialize the on-device Gemma 4 E2B WebGPU engine (download once or select a local &lt;code&gt;.litertlm&lt;/code&gt; artifact) for 100% offline civil engineering derivations and IS code calculations.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;/sitevision&lt;/strong&gt;: Perform image-based field inspections and generate automated IS code compliance checklists.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/Megh2005" rel="noopener noreferrer"&gt;
        Megh2005
      &lt;/a&gt; / &lt;a href="https://github.com/Megh2005/dev-challange-1" rel="noopener noreferrer"&gt;
        dev-challange-1
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      ShramPark is an offline-first, mobile-responsive AI engineering companion and construction site safety platform built specifically for my civil engineer friend, Raghav.
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div class="flash flash-error mb-3"&gt;Error in user YAML: (&amp;lt;unknown&amp;gt;): mapping values are not allowed in this context at line 1 column 17&lt;/div&gt;
&lt;div class="highlight highlight-source-yaml notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;---
&lt;span class="pl-ent"&gt;title&lt;/span&gt;: &lt;span class="pl-s"&gt;ShramPark: Offline-First AI Engineering Companion 'Raghav' Built for My Civil Engineer Friend&lt;/span&gt;
&lt;span class="pl-ent"&gt;published&lt;/span&gt;: &lt;span class="pl-c1"&gt;true&lt;/span&gt;
&lt;span class="pl-ent"&gt;tags&lt;/span&gt;: &lt;span class="pl-s"&gt;devchallenge, weekendchallenge, hf26challenge&lt;/span&gt;
---
&lt;/pre&gt;

&lt;/div&gt;
&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-weekend-2026-10-01" rel="nofollow"&gt;Hacktoberfest Weekend Challenge: Build for a Friend&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;What I Built&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;ShramPark&lt;/strong&gt; is an offline-first, mobile-responsive AI engineering companion and construction site safety platform. At its core is &lt;strong&gt;Raghav AI&lt;/strong&gt;—an on-device structural engineering assistant built specifically for my civil engineer friend.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;The Problem My Friend Faced&lt;/h3&gt;
&lt;/div&gt;
&lt;p&gt;My friend works as a structural and site civil engineer on active, high-pressure infrastructure and building projects. He spends hours stationed deep underground in basement excavations, piling pits, tunnel shafts, and remote jobsites where cellular networks and internet connectivity drop to absolute zero.&lt;/p&gt;
&lt;p&gt;On active sites, he constantly needs to:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Cross-reference complex Indian Standard (IS) codes…&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/Megh2005/dev-challange-1" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;&lt;strong&gt;GitHub Repository&lt;/strong&gt;: &lt;a href="https://github.com/Megh2005/dev-challange-1" rel="noopener noreferrer"&gt;https://github.com/Megh2005/dev-challange-1&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;ShramPark is architected around open-weight on-device AI designed to withstand harsh, disconnected construction jobsite environments:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Open-Source &amp;amp; Open-Weight AI Architecture (Gemma + LiteRT-LM)
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Model&lt;/strong&gt;: &lt;strong&gt;Gemma 4 E2B&lt;/strong&gt; (&lt;code&gt;gemma-4-E2B-it-web.litertlm&lt;/code&gt;), Google's open-weight instruct model quantized and packaged for the LiteRT runtime.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Inference Runtime&lt;/strong&gt;: &lt;strong&gt;LiteRT-LM (&lt;code&gt;@litert-lm/core&lt;/code&gt;)&lt;/strong&gt; executing client-side on-device inference via &lt;strong&gt;WebGPU&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Model Distribution&lt;/strong&gt;: Hosted openly on Hugging Face (&lt;a href="https://huggingface.co/litert-community/gemma-4-E2B-it-litert-lm" rel="noopener noreferrer"&gt;&lt;code&gt;litert-community/gemma-4-E2B-it-litert-lm&lt;/code&gt;&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero Server Overhead&lt;/strong&gt;: The model file is cached client-side using browser Cache Storage or loaded directly via the File System Access API from the user's hard drive. Inference consumes 0 server compute and transmits 0 bytes over the wire.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Engine Optimization&lt;/strong&gt;: Configured with a 4096-token execution context and KV cache recycling to execute step-by-step mathematical proofs and limit-state safety factor derivations without GPU out-of-memory errors.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  2. Full-Stack &amp;amp; Engineering Stack
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Framework&lt;/strong&gt;: &lt;strong&gt;Next.js 14 (App Router)&lt;/strong&gt; with TypeScript and Tailwind CSS.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Multimodal Field Inspections&lt;/strong&gt;: Google Generative AI (&lt;code&gt;@google/generative-ai&lt;/code&gt;) for visual defect analysis and safety compliance audits in SiteVision.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Mathematical Typography&lt;/strong&gt;: &lt;code&gt;react-markdown&lt;/code&gt;, &lt;code&gt;remark-math&lt;/code&gt;, &lt;code&gt;rehype-katex&lt;/code&gt;, and &lt;code&gt;katex&lt;/code&gt; for rendering complex civil engineering formulas and equations cleanly on mobile screens.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Audio &amp;amp; Accessibility&lt;/strong&gt;: Speech synthesis APIs and Cloud Speech for hands-free audio playback on noisy sites.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Document Export&lt;/strong&gt;: &lt;code&gt;jspdf&lt;/code&gt; and &lt;code&gt;@react-pdf/renderer&lt;/code&gt; for instant client-side generation of stamped site inspection logs and structural calculation sheets.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Database &amp;amp; Auth&lt;/strong&gt;: MongoDB Atlas with &lt;code&gt;@auth/mongodb-adapter&lt;/code&gt; and &lt;code&gt;next-auth&lt;/code&gt; for role-based access control (Supervisor, Engineer).&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;p&gt;Open innovation is what made ShramPark viable for real-world construction:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;True Offline Independence in Dead Zones&lt;/strong&gt;:&lt;br&gt;
Closed-source APIs require round-trip internet requests. On construction sites—inside double-basements, metro tunnels, rebar fabrication yards, or remote flyover sites—cellular signals are weak or non-existent. Open weights paired with LiteRT-LM allow my friend and site engineers to carry an entire structural engineering brain directly in their laptop or tablet browser without a single bar of cell reception.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Zero Incurred In-Field Costs&lt;/strong&gt;:&lt;br&gt;
Civil engineers, site supervisors, and independent contractors cannot afford recurring monthly API subscriptions or per-token fees for routine field calculations. Open-weight local inference delivers complete engineering calculations without recurring expenses.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Domain Ownership &amp;amp; Adherence to Local Standards&lt;/strong&gt;:&lt;br&gt;
Generalist closed APIs frequently default to foreign codes (ACI 318, Eurocodes, or British Standards). Open innovation enables us to constrain and instruct open weights exclusively on Indian Standards (Bureau of Indian Standards: IS 456:2000, IS 1893:2016, IS 800:2007, IS 10262:2019) with deterministic formatting and rigorous limit checks.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Privacy and Site Data Sovereignty&lt;/strong&gt;:&lt;br&gt;
Proprietary structural drawings, tender blueprints, and on-site defect photos remain strictly on the engineer’s machine, guaranteeing complete IP protection for builders and contractors.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  My Agent Session
&lt;/h2&gt;

&lt;p&gt;This project was developed with the assistance of agentic workflows in &lt;strong&gt;Google Antigravity&lt;/strong&gt;, which accelerated:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Integration and debugging of &lt;code&gt;@litert-lm/core&lt;/code&gt; WebGPU bindings and KV cache memory cleanup.&lt;/li&gt;
&lt;li&gt;Prompt design for strict IS code adherence, mathematical formula formatting, and micro-climate contextualization.&lt;/li&gt;
&lt;li&gt;Clean Next.js 14 architecture with responsive mobile layouts tailored for high-glare outdoor construction use.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Prize Categories
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Best Build on Gemma&lt;/strong&gt;: ShramPark harnesses Google's open-weight &lt;strong&gt;Gemma 4 E2B&lt;/strong&gt; model running completely on-device in the browser via &lt;strong&gt;LiteRT-LM (&lt;code&gt;@litert-lm/core&lt;/code&gt;)&lt;/strong&gt; and &lt;strong&gt;WebGPU&lt;/strong&gt;. By delivering 100% offline, zero-latency inference directly on client hardware, it solves the critical problem of cellular dead-zones in deep basement excavations and remote civil infrastructure projects, enabling step-by-step IS-code compliant structural calculations without ever pinging a cloud server.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devchallenge</category>
      <category>weekendchallenge</category>
      <category>hf26challenge</category>
    </item>
  </channel>
</rss>
