<?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: Pankaj Garg</title>
    <description>The latest articles on DEV Community by Pankaj Garg (@skipversed).</description>
    <link>https://dev.to/skipversed</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%2F4151569%2F493e1820-00dd-40e1-8f9d-b5952ecd0e78.jpg</url>
      <title>DEV Community: Pankaj Garg</title>
      <link>https://dev.to/skipversed</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/skipversed"/>
    <language>en</language>
    <item>
      <title>How I Built UNREACHABLE: The Emergency Route Intelligence Platform Cities Will Pay For</title>
      <dc:creator>Pankaj Garg</dc:creator>
      <pubDate>Sun, 25 Oct 2026 19:15:15 +0000</pubDate>
      <link>https://dev.to/skipversed/how-i-built-unreachable-the-emergency-route-intelligence-platform-cities-will-pay-for-52i9</link>
      <guid>https://dev.to/skipversed/how-i-built-unreachable-the-emergency-route-intelligence-platform-cities-will-pay-for-52i9</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week2-2026-10-12"&gt;Hacktoberfest Open-Source AI Challenge Week 2: Side Hustle&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

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

&lt;p&gt;Commercial navigation platforms (Google Maps, Waze, Apple Maps) answer only one question: &lt;em&gt;"What is the fastest route for an ordinary passenger car?"&lt;/em&gt; &lt;/p&gt;

&lt;p&gt;In an emergency, this assumption is dangerous and often fatal. In dense urban quarters, historic wards, and rapidly growing urban fringes across India and the developing world:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A &lt;strong&gt;16-tonne Type 1 Fire Tender&lt;/strong&gt; (requiring $\ge 3.5\text{m}$ clearance) gets physically wedged in 2.2m-wide gullies or snagged by low-hanging electrical wire bundles.&lt;/li&gt;
&lt;li&gt;An &lt;strong&gt;ALS Ambulance&lt;/strong&gt; (requiring $\ge 3.0\text{m}$) meets unmapped bollards, narrow gate curfews, or construction trenches.&lt;/li&gt;
&lt;li&gt;Up to 70% of municipal GIS and OpenStreetMap records lack road width tags (&lt;code&gt;width=null&lt;/code&gt;), leading conventional mapping apps to assume roads are passable simply because a centerline vector exists.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;UNREACHABLE&lt;/strong&gt; is a deterministic emergency accessibility intelligence platform and side-hustle micro-SaaS built for municipal corporations, emergency dispatch centers (112/101/108), urban planning consultancies, and private industrial complexes.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Side Hustle Product &amp;amp; Who Pays For It:
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Municipal Urban Councils &amp;amp; Smart City Missions ($2,500 – $10,000 / ward audit):&lt;/strong&gt; 

&lt;ul&gt;
&lt;li&gt;Uses the platform's &lt;strong&gt;Single Point of Failure (SPOF) Sensitivity Engine&lt;/strong&gt; to rank choke points and identify which single road bottlenecks cut off the most homes.&lt;/li&gt;
&lt;li&gt;Generates automated &lt;strong&gt;Field Audit Work Orders&lt;/strong&gt; (&lt;code&gt;.csv&lt;/code&gt; export &amp;amp; print-ready clipboard checklists) prioritizing which unmeasured roads surveyors must measure first.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Emergency Dispatch Operations &amp;amp; Fire Brigades ($499 / station / month):&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;Evaluates apparatus clearance across 3 emergency vehicle profiles before dispatch.&lt;/li&gt;
&lt;li&gt;Live route recalculation with dynamic in-memory incident obstruction overlays and Server-Sent Events (SSE) telemetry.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Simulation Bench for Capital Works:&lt;/strong&gt; 

&lt;ul&gt;
&lt;li&gt;Urban engineers toggle hypothetical street interventions (e.g. wire bundle clearing, bollard removal) to preview the exact number of buildings "rescued" before committing municipal budget.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;




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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Video Walkthrough Demo:&lt;/strong&gt; &lt;a href="https://drive.google.com/file/d/1WSaQ2wPVNFKtvxH-kamM_aK3rJC_LmAl/view?usp=drivesdk" rel="noopener noreferrer"&gt;Watch the Video Demo on Google Drive&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Local / Single-Command Interactive Console:&lt;/strong&gt; Can be run locally via &lt;code&gt;scripts/start_demo.sh&lt;/code&gt; or in dual mode (&lt;code&gt;demo&lt;/code&gt; synthetic campus vs &lt;code&gt;real&lt;/code&gt; 497-facility Punjab regional dataset).&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/Garg-Pankaj29" rel="noopener noreferrer"&gt;
        Garg-Pankaj29
      &lt;/a&gt; / &lt;a href="https://github.com/Garg-Pankaj29/UNREACHABLE" rel="noopener noreferrer"&gt;
        UNREACHABLE
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      AI-powered emergency accessibility mapping that identifies unreachable buildings, detects road bottlenecks, and helps emergency services plan feasible routes and prioritize safety improvements.
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;UNREACHABLE&lt;/h1&gt;
&lt;/div&gt;
&lt;blockquote&gt;
&lt;p&gt;An AI-powered, deterministic emergency accessibility intelligence platform designed for dense urban environments and Indian cities. Evaluates physical road geometry, bottleneck pinch-points, overhead utility wire bundles, and apparatus clearances before an emergency unfolds.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;a href="https://github.com/Garg-Pankaj29/UNREACHABLE/LICENSE" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/08cef40a9105b6526ca22088bc514fbfdbc9aac1ddbf8d4e6c750e3a88a44dca/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d626c75652e737667" alt="License-MIT"&gt;&lt;/a&gt;
&lt;a href="https://github.com/Garg-Pankaj29/UNREACHABLE#technical-details" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/cd47d579775d01d527fb8fc69b2579edd57af45aeda231aa1a2f0cbedaa90a07/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4261636b656e642d466173744150492d7465616c2e737667" alt="FastAPI"&gt;&lt;/a&gt;
&lt;a href="https://github.com/Garg-Pankaj29/UNREACHABLE#technical-details" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/eb5da50e0b2ed66db30da1a876d7d0b15c097c7994e9dd41a867680733fbadb4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f46726f6e74656e642d52656163745f31382d3631444146422e737667" alt="React_18"&gt;&lt;/a&gt;
&lt;a href="https://github.com/Garg-Pankaj29/UNREACHABLE#technical-details" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/33becd4571cd02e6fac9a60ed5043be36641e7dc3dd567ba9db24949ffddb82b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c616e67756167652d547970655363726970745f352d3331373843362e737667" alt="TypeScript"&gt;&lt;/a&gt;
&lt;a href="https://github.com/Garg-Pankaj29/UNREACHABLE#technical-details" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/2908a75bc15b08dc535f2945d69605045c870143848f8510fa317f8f2b6753a1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d6170732d4c6561666c65745f312e392d3139393930302e737667" alt="Leaflet"&gt;&lt;/a&gt;
&lt;a href="https://github.com/Garg-Pankaj29/UNREACHABLE#technical-details" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/8b6ad6f4d11ea84acbb25a552f8e637d190b2dd788cfe3d912eab3df38eafdfb/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5374796c696e672d5461696c77696e645f332e342d3338423241432e737667" alt="TailwindCSS"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Concept&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;In dense urban environments—from historic core wards in Indian cities to rapidly densifying metropolitan settlements—emergency response times are frequently defeated not by highway traffic, but by the "last 500 meters":&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Narrow residential gullies under 2.5 meters wide where heavy fire water tenders become physically wedged.&lt;/li&gt;
&lt;li&gt;Low-hanging overhead electrical and telecommunication wire bundles snagging apparatus ladders.&lt;/li&gt;
&lt;li&gt;Unmapped bollards, gate curfews, street market encroachments, and construction trenches.&lt;/li&gt;
&lt;li&gt;Municipal GIS datasets that mark a building as "reachable" simply because a centerline road vector exists in OpenStreetMap or cadastre records.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;UNREACHABLE&lt;/strong&gt; changes how cities prepare for emergencies:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;"Know the access. Find the constraint. Fix it before an emergency."&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;UNREACHABLE runs on local loopback (&lt;code&gt;127.0.0.1&lt;/code&gt;). It ingests road corridor…&lt;/p&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/Garg-Pankaj29/UNREACHABLE" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Repository:&lt;/strong&gt; &lt;a href="https://github.com/Garg-Pankaj29/UNREACHABLE" rel="noopener noreferrer"&gt;https://github.com/Garg-Pankaj29/UNREACHABLE&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Stack:&lt;/strong&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Backend:&lt;/strong&gt; Python 3.10+, FastAPI, Pydantic v2, SQLite spatial indexing, Server-Sent Events (SSE).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Frontend:&lt;/strong&gt; React 18, TypeScript 5, Vite, Tailwind CSS 3.4, Leaflet 1.9 vector mapping, Lucide Icons.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI / LLM:&lt;/strong&gt; Local inference via LM Studio running open-weight &lt;strong&gt;Gemma 3 4B&lt;/strong&gt; (OpenAI-compatible local endpoint).&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;




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

&lt;h3&gt;
  
  
  1. The Core Architectural Philosophy: Deterministic Physics Decides, AI Explains
&lt;/h3&gt;

&lt;p&gt;In life-safety systems, probabilistic AI models must &lt;strong&gt;never&lt;/strong&gt; make access or routing decisions. An LLM hallucinating that a 3.8-meter-wide fire truck can squeeze through a 2.1-meter alley can cost lives.&lt;/p&gt;

&lt;p&gt;UNREACHABLE enforces an unshakeable boundary:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Routing &amp;amp; Feasibility are 100% Deterministic Python:&lt;/strong&gt; Pure graph theory via a custom &lt;strong&gt;Modified Penalty Dijkstra algorithm&lt;/strong&gt;, Great-Circle Haversine calculations, and vehicle clearance metrics evaluate whether an apparatus fits.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Open-Source AI (Gemma 3 4B):&lt;/strong&gt; Translates complex mathematical routes, bottleneck IDs, clearance margins, and penalty scores into concise, plain-language tactical briefings for dispatchers and incident commanders.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Automated Numeric &amp;amp; Fact Guardrail Verifier:&lt;/strong&gt; Before any AI-generated explanation reaches the user, it is intercepted and audited by &lt;code&gt;ExplainService._validate_llm_response()&lt;/code&gt;. It cross-checks all extracted numbers against mathematical ground truth. If the model hallucinates a number or alters road IDs, the response is instantly rejected and safely served by a pre-validated deterministic template.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  2. Dual Dataset Architecture
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Synthetic Demo Mode (&lt;code&gt;data/sample/&lt;/code&gt;):&lt;/strong&gt; High-fidelity model of Chandigarh University (CU) Gharuan campus &amp;amp; surrounding rural-urban fringe (NH-05, Punjab) for instant testing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Real Pilot Mode (&lt;code&gt;data/real/&lt;/code&gt;):&lt;/strong&gt; Full OpenStreetMap ingestion covering &lt;strong&gt;all 23 districts of Punjab &amp;amp; Chandigarh&lt;/strong&gt;, indexing &lt;strong&gt;497 emergency facilities&lt;/strong&gt; (fire hubs, trauma centers, dispensaries) and over &lt;strong&gt;41,300 road centerlines&lt;/strong&gt; with 453,812 graph edges.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  3. Dynamic In-Memory Obstructions &amp;amp; Real-Time SSE
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;When a road is blocked during an incident, an in-memory obstruction overlay updates the active graph without touching disk files.&lt;/li&gt;
&lt;li&gt;Real-time &lt;strong&gt;Server-Sent Events (&lt;code&gt;/api/stream&lt;/code&gt;)&lt;/strong&gt; broadcast unit coordinates and dynamic detours to connected dispatchers with sub-second latency.&lt;/li&gt;
&lt;/ul&gt;




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

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Air-Gapped Disaster Resilience:&lt;/strong&gt; During catastrophic monsoons, floods, or network blackouts, cloud APIs like proprietary closed models become unreachable. Open-source AI (Gemma 3 4B running locally via LM Studio or Ollama) enables the entire system to run &lt;strong&gt;100% locally on an air-gapped laptop on &lt;code&gt;127.0.0.1&lt;/code&gt;&lt;/strong&gt; with zero external cloud dependencies.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sovereignty over Sensitive Spatial Infrastructure:&lt;/strong&gt; Municipalities, military bases, and fire brigades cannot leak security footprints, gate curfews, or road vulnerability data to closed third-party cloud servers. Open innovation keeps sensitive data local and private.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No Per-Token API Costs for Municipalities:&lt;/strong&gt; Budget-constrained civic bodies cannot afford unpredictably billed proprietary tokens for 24/7 emergency dispatch engines. Open-weight models democratize emergency intelligence for developing cities.&lt;/li&gt;
&lt;/ol&gt;




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

&lt;p&gt;Developed and tested with local agentic pair-programming workflows, ensuring strict separation between deterministic routing physics and open-source generative briefings.&lt;/p&gt;




&lt;h2&gt;
  
  
  My First User
&lt;/h2&gt;

&lt;p&gt;During development and field validation around the &lt;strong&gt;Kharar and Gharuan urban fringes (Punjab)&lt;/strong&gt;, we piloted the spatial engine against real-world choke points:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;User Profile:&lt;/strong&gt; A local logistics and private security coordinator managing transport access around high-density housing sectors and university feeder corridors.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Feedback:&lt;/strong&gt; &lt;em&gt;"Standard GPS constantly routed our supply trucks down internal village link roads where low electrical wiring and open drains forced drivers to reverse hundreds of meters. UNREACHABLE's clearance classification instantly exposed the two narrow pinch points responsible for 90% of our access blocks."&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Outcome:&lt;/strong&gt; Validated the commercial value of the &lt;strong&gt;Intervention Directory&lt;/strong&gt; and the &lt;strong&gt;Field Audit Work Order&lt;/strong&gt; export, proving civic administrators and private enclaves are willing to pay for bottleneck remediation reports.&lt;/li&gt;
&lt;/ul&gt;




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

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Open-Source AI Challenge Week 2: Side Hustle&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sponsor Tracks / Open Innovation Track&lt;/strong&gt; (Deployable, Local-first Open-Weight AI with Strict Guardrails)&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
      <category>ai</category>
      <category>gemma</category>
    </item>
    <item>
      <title>LedgerLeaf: Turn Messy Receipts into Structured Records with Local AI</title>
      <dc:creator>Pankaj Garg</dc:creator>
      <pubDate>Sat, 17 Oct 2026 16:36:28 +0000</pubDate>
      <link>https://dev.to/skipversed/ledgerleaf-turn-messy-receipts-into-structured-records-with-local-ai-51ff</link>
      <guid>https://dev.to/skipversed/ledgerleaf-turn-messy-receipts-into-structured-records-with-local-ai-51ff</guid>
      <description>&lt;p&gt;This is a submission for the Hacktoberfest Open-Source AI Challenge Week 2: Side Hustle&lt;/p&gt;

&lt;p&gt;What I Built&lt;br&gt;
LedgerLeaf is a private, local-first financial paperwork assistant designed for freelancers, independent contractors, and small business owners who drown in disorganized receipts and invoices each tax season.&lt;/p&gt;

&lt;p&gt;Instead of sending confidential financial records, bank details, and client invoices to third-party cloud extraction APIs or paying recurring monthly subscription fees for SaaS document processors, LedgerLeaf performs end-to-end receipt extraction on your own device. It combines local open-weight vision/language models (via LM Studio or Ollama) with deterministic math verification guards. Every single extracted number visually highlights back to the exact source snippet on the uploaded invoice, and nothing enters your persistent ledger without your explicit human approval.&lt;/p&gt;

&lt;p&gt;Demo&lt;br&gt;
LedgerLeaf runs locally on your machine with a leaf-inspired interactive review bench:&lt;/p&gt;

&lt;p&gt;Interactive Interface: Dual-pane review workspace with live source-text pinning, field corrections, and duplicate detection.&lt;br&gt;
Review Bench in Action:&lt;br&gt;
Drop in receipts or invoices (.pdf, .png, .jpg, .webp, .txt).&lt;br&gt;
The local open-weight model parses vendor, invoice number, date, currency, subtotal, tax, and total.&lt;br&gt;
Deterministic guards verify subtotal + tax == total. Any mismatch or unverified field is flagged for quick correction.&lt;br&gt;
One click commits verified records to a local SQLite database and exports clean, multi-currency RFC 4180 CSVs.&lt;br&gt;
(To add your video demonstration here: paste your YouTube, Loom, or MP4 link directly below without extra spacing) &lt;/p&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/Garg-Pankaj29" rel="noopener noreferrer"&gt;
        Garg-Pankaj29
      &lt;/a&gt; / &lt;a href="https://github.com/Garg-Pankaj29/LedgerLeaf" rel="noopener noreferrer"&gt;
        LedgerLeaf
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      LedgerLeaf is a private, local-first financial assistant that turns receipts and invoices into structured records using open-weight AI on your machine. Featuring source provenance, deterministic math guards, and human approval before committing to your SQLite ledger—zero cloud dependencies.
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;LedgerLeaf — Your finances. Your files. Your AI.&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;LedgerLeaf&lt;/strong&gt; is a local-first, privacy-respecting financial document processing application that turns receipts, invoices, and paperwork into structured accounting records on your own machine. Every number points directly back to the line it came from in the original document, and nothing enters your approved ledger until you explicitly review and verify it.&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;1. Core Principles &amp;amp; Philosophy&lt;/h2&gt;
&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Local-First &amp;amp; Private by Default:&lt;/strong&gt; All text extraction, OCR, database storage, and AI inference run locally on &lt;code&gt;127.0.0.1&lt;/code&gt;. Uploaded files are stored in &lt;code&gt;data/uploads/&lt;/code&gt; outside the web directory. Documents never leave your computer unless you explicitly export CSV data or configure an external integration.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deterministic Arithmetic Guards:&lt;/strong&gt; Local models can misread numbers or make arithmetic mistakes. The AI model proposes structured values; deterministic validation rules cross-check math (&lt;code&gt;subtotal + tax == total&lt;/code&gt;), dates, and required fields; and a human approves before anything enters…&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/Garg-Pankaj29/LedgerLeaf" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;Code&lt;br&gt;
The entire codebase is open-source under the MIT License:&lt;/p&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/Garg-Pankaj29" rel="noopener noreferrer"&gt;
        Garg-Pankaj29
      &lt;/a&gt; / &lt;a href="https://github.com/Garg-Pankaj29/LedgerLeaf" rel="noopener noreferrer"&gt;
        LedgerLeaf
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      LedgerLeaf is a private, local-first financial assistant that turns receipts and invoices into structured records using open-weight AI on your machine. Featuring source provenance, deterministic math guards, and human approval before committing to your SQLite ledger—zero cloud dependencies.
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;LedgerLeaf — Your finances. Your files. Your AI.&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;LedgerLeaf&lt;/strong&gt; is a local-first, privacy-respecting financial document processing application that turns receipts, invoices, and paperwork into structured accounting records on your own machine. Every number points directly back to the line it came from in the original document, and nothing enters your approved ledger until you explicitly review and verify it.&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;1. Core Principles &amp;amp; Philosophy&lt;/h2&gt;
&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Local-First &amp;amp; Private by Default:&lt;/strong&gt; All text extraction, OCR, database storage, and AI inference run locally on &lt;code&gt;127.0.0.1&lt;/code&gt;. Uploaded files are stored in &lt;code&gt;data/uploads/&lt;/code&gt; outside the web directory. Documents never leave your computer unless you explicitly export CSV data or configure an external integration.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deterministic Arithmetic Guards:&lt;/strong&gt; Local models can misread numbers or make arithmetic mistakes. The AI model proposes structured values; deterministic validation rules cross-check math (&lt;code&gt;subtotal + tax == total&lt;/code&gt;), dates, and required fields; and a human approves before anything enters…&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/Garg-Pankaj29/LedgerLeaf" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;Tech Stack:&lt;/p&gt;

&lt;p&gt;Backend: Python, FastAPI, SQLAlchemy, SQLite, Pydantic v2, PyMuPDF, Tesseract OCR.&lt;br&gt;
Frontend: Vanilla modern JavaScript (ES modules), CSS custom property design system, and HTML5 Canvas.&lt;br&gt;
Local AI Runtime: OpenAI-compatible local inference endpoints (LM Studio / Ollama).&lt;br&gt;
How I Built It&lt;br&gt;
LedgerLeaf is engineered around local-first principles to keep financial documents bounded strictly to 127.0.0.1:&lt;/p&gt;

&lt;p&gt;Storage &amp;amp; Extraction Pipeline: Uploaded receipts are validated with MIME/magic-byte checks and hashed via SHA-256 for collision prevention. PyMuPDF extracts text streams, falling back to local OCR for scanned imagery.&lt;br&gt;
Local Open-Weight Inference: The extracted raw text is fed to a locally hosted open-weight LLM (e.g., llama-3.2-1b-instruct or gemma-3-4b) through a local LM Studio server. The prompt enforces a strict JSON schema with field-level confidence ratings and character offsets.&lt;br&gt;
Deterministic Math Guardrails: Small open-weight models can occasionally misread grainy receipt photos or hallucinate digits. LedgerLeaf protects against model drift by passing all outputs through deterministic mathematical validators (abs(subtotal + tax - total) &amp;lt; 0.01). If arithmetic fails or fields are missing, the UI raises visual warning chips.&lt;br&gt;
Source Provenance: Every field maps directly back to the character range where it originated, allowing users to click any number and highlight its source on the original invoice.&lt;br&gt;
Why Does Open Innovation Matter?&lt;br&gt;
Financial documents contain sensitive metadata: personal addresses, tax IDs, client names, banking coordinates, and spending patterns. Closed-source, cloud-only AI APIs force solo operators to either risk their privacy or manually enter every single receipt line by line.&lt;/p&gt;

&lt;p&gt;Open innovation and open-weight models flip this trade-off:&lt;/p&gt;

&lt;p&gt;True Zero-Data-Leakage: Financial data never crosses the network perimeter or trains external foundation models.&lt;br&gt;
Zero Per-Token or Subscription Costs: Freelancers can run high-volume processing without incurring metered API bills or surprise vendor rate hikes.&lt;br&gt;
Longevity &amp;amp; Independence: Because the app, models, database, and inference harness run completely on-device, the tool will continue working indefinitely without depending on external vendor uptime.&lt;br&gt;
Prize Categories&lt;br&gt;
Open-Source AI Challenge Week 2: Side Hustle&lt;br&gt;
Local &amp;amp; Edge AI&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
      <category>gemma</category>
      <category>ai</category>
    </item>
    <item>
      <title>Paperwalk: An AI That Designs Your Walk, Then Gets Out of the Way 🌿</title>
      <dc:creator>Pankaj Garg</dc:creator>
      <pubDate>Wed, 07 Oct 2026 06:09:30 +0000</pubDate>
      <link>https://dev.to/skipversed/paperwalk-an-ai-that-designs-your-walk-then-gets-out-of-the-way-2oeb</link>
      <guid>https://dev.to/skipversed/paperwalk-an-ai-that-designs-your-walk-then-gets-out-of-the-way-2oeb</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week1-2026-10-05"&gt;Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Paperwalk: An AI That Designs Your Walk, Then Gets Out of the Way 🌿
&lt;/h1&gt;

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

&lt;p&gt;&lt;strong&gt;Paperwalk is a walking experience designed by AI — but experienced away from the screen.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The idea is simple:&lt;/p&gt;

&lt;p&gt;Instead of using AI to keep us staring at another screen, what if AI prepared something for us to take into the real world?&lt;/p&gt;

&lt;p&gt;With Paperwalk, you choose a duration, environment, and optional goal. Local AI then creates a &lt;strong&gt;printable one-page walking card&lt;/strong&gt; with observation prompts, small activities, questions, and a drawing prompt.&lt;/p&gt;

&lt;p&gt;You print the card, leave your phone behind, and go for the walk.&lt;/p&gt;

&lt;p&gt;When you come back, you can photograph your completed card and upload it to Paperwalk. Local Gemma vision interprets what you noticed and uses those observations to generate a &lt;strong&gt;new, adapted walking card&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;The loop is:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Choose → Generate → Print → Walk → Observe → Return → Upload → Adapt&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The screen is intentionally the shortest part of the experience.&lt;/p&gt;

&lt;p&gt;Paperwalk is for anyone who wants a little structure and curiosity during a walk without turning the walk itself into another screen-based activity.&lt;/p&gt;

&lt;p&gt;The core idea is:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;AI designs the experience. Then it gets out of the way.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

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

&lt;h3&gt;
  
  
  🎥 Video Demo
&lt;/h3&gt;


&lt;div class="crayons-card c-embed text-styles text-styles--secondary"&gt;
    &lt;div class="c-embed__content"&gt;
      &lt;div class="c-embed__body"&gt;
        &lt;h2 class="fs-xl lh-tight"&gt;
          &lt;a href="https://drive.google.com/file/d/1SrSOM8q2zxY1HUdKN_Cdqg91DctMvvO0/view?usp=sharing" rel="noopener noreferrer" class="c-link"&gt;
            paperwalk_demo.mp4 - Google Drive
          &lt;/a&gt;
        &lt;/h2&gt;
        &lt;div class="color-secondary fs-s flex items-center"&gt;
            &lt;img alt="favicon" class="c-embed__favicon m-0 mr-2 radius-0" src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fssl.gstatic.com%2Fdocs%2Fdoclist%2Fimages%2Fdrive_favicon_2026_32dp.png" width="32" height="32"&gt;
          drive.google.com
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;The demo is a visual walkthrough of Paperwalk's core flow:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Home → Card #1 → I'm Back → Local AI interpretation → Adapted Card #2&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The shown completed walking card is a sample input used to demonstrate the adaptation flow.&lt;/p&gt;

&lt;h3&gt;
  
  
  Screenshots
&lt;/h3&gt;

&lt;p&gt;The application includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A simple setup screen for creating a walk&lt;/li&gt;
&lt;li&gt;A printable A4 walking card&lt;/li&gt;
&lt;li&gt;A dedicated "I'm Back" flow for uploading the completed card&lt;/li&gt;
&lt;li&gt;Local AI interpretation&lt;/li&gt;
&lt;li&gt;A personalized second walking card&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;GitHub repository:&lt;/p&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/Garg-Pankaj29" rel="noopener noreferrer"&gt;
        Garg-Pankaj29
      &lt;/a&gt; / &lt;a href="https://github.com/Garg-Pankaj29/Paperwalk" rel="noopener noreferrer"&gt;
        Paperwalk
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Use this:  **“An offline-first AI walking experience that turns local observations into personalized printable walk cards.”**
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;Paperwalk&lt;/h1&gt;
&lt;/div&gt;
&lt;blockquote&gt;
&lt;p&gt;A local-first outdoor experience generator. Local open-weight AI creates a printable physical walking card, you leave your phone behind, walk outside, and return with a handwritten card that adapts your next journey.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;a href="https://github.com/Garg-Pankaj29/Paperwalk#hacktoberfest--touch-grass-challenge" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/359a78a6c36b079b424e81e8d4f42c736fee8b4bef8a291fd8048c5d55af7688/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4861636b746f626572666573742d323032362d6f72616e67652e737667" alt="Hacktoberfest 2026"&gt;&lt;/a&gt;
&lt;a href="https://github.com/Garg-Pankaj29/Paperwalk#why-gemma" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/5a510b91b85011b089c9d92c8420419839fc6d3c3e283e7d9416a179787a0beb/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d6f64656c2d47656d6d612d626c75652e737667" alt="Model"&gt;&lt;/a&gt;
&lt;a href="https://github.com/Garg-Pankaj29/Paperwalk#technical-details" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/6812d6ec41260b60cf343aed22264e2d34be7b8544e128a6f0e4a9c0bf2664ff/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6f63616c5f41492d4c4d5f53747564696f2d677265656e2e737667" alt="Runtime"&gt;&lt;/a&gt;
&lt;a href="https://github.com/Garg-Pankaj29/Paperwalk#technical-details" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/cd47d579775d01d527fb8fc69b2579edd57af45aeda231aa1a2f0cbedaa90a07/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4261636b656e642d466173744150492d7465616c2e737667" alt="FastAPI"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Concept&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;Most modern AI products center the screen: they keep users typing, chatting, and scrolling. &lt;strong&gt;Paperwalk&lt;/strong&gt; inverts this relationship:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;"AI designs the experience, then gets out of the way."&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;A user opens Paperwalk on a laptop, sets how much time they have (20, 40, or 60 minutes), selects an environment (Park, Campus, or Neighborhood), and optionally inputs a personal goal.&lt;/p&gt;
&lt;p&gt;A local Gemma model generates a tailored, one-page field card rendered directly as a printable A4 sheet. The user prints the card, leaves their phone at home, and heads outdoors with only a pen.&lt;/p&gt;
&lt;p&gt;While walking, the user records physical observations, sketches a small discovery, circles sensory reflections, and notes future intentions. Upon returning, they upload a…&lt;/p&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/Garg-Pankaj29/Paperwalk" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;The project is open source and contains the complete application, prompts, local AI integration, fallback logic, and setup instructions.&lt;/p&gt;

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

&lt;p&gt;Paperwalk is built around &lt;strong&gt;Google's open-weight Gemma model&lt;/strong&gt;, running locally through &lt;strong&gt;LM Studio&lt;/strong&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  Stack
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Python&lt;/li&gt;
&lt;li&gt;FastAPI&lt;/li&gt;
&lt;li&gt;Jinja2&lt;/li&gt;
&lt;li&gt;HTML/CSS/JavaScript&lt;/li&gt;
&lt;li&gt;Pydantic&lt;/li&gt;
&lt;li&gt;HTTPX&lt;/li&gt;
&lt;li&gt;LM Studio&lt;/li&gt;
&lt;li&gt;Google Gemma 3 4B&lt;/li&gt;
&lt;li&gt;Local JSON state storage&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There is no cloud AI API in the core experience.&lt;/p&gt;

&lt;h3&gt;
  
  
  Card #1 — Generate a Walk
&lt;/h3&gt;

&lt;p&gt;The user provides a few simple inputs such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Duration&lt;/li&gt;
&lt;li&gt;Environment&lt;/li&gt;
&lt;li&gt;Optional goal&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Those inputs are sent to the local Gemma model with a structured prompt.&lt;/p&gt;

&lt;p&gt;Gemma returns structured JSON containing the walking mission, observation questions, drawing prompt, reflection prompt, and other activities.&lt;/p&gt;

&lt;p&gt;Pydantic validates the response before it becomes a printable card.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Physical Part
&lt;/h3&gt;

&lt;p&gt;The generated card is designed as an A4 printable sheet.&lt;/p&gt;

&lt;p&gt;The user takes the card outside, puts the phone away, and uses the physical sheet to record what they notice.&lt;/p&gt;

&lt;p&gt;This is an important part of the design.&lt;/p&gt;

&lt;p&gt;Paperwalk isn't trying to make the outdoor experience more interactive on a screen.&lt;/p&gt;

&lt;p&gt;It is trying to make the screen unnecessary.&lt;/p&gt;

&lt;h3&gt;
  
  
  Card #2 — AI Learns From the Walk
&lt;/h3&gt;

&lt;p&gt;After returning, the user photographs their completed card and uploads it.&lt;/p&gt;

&lt;p&gt;The image is sent to the local Gemma vision model.&lt;/p&gt;

&lt;p&gt;Gemma extracts structured observations such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;What the person noticed&lt;/li&gt;
&lt;li&gt;What surprised them&lt;/li&gt;
&lt;li&gt;What they almost missed&lt;/li&gt;
&lt;li&gt;What they drew&lt;/li&gt;
&lt;li&gt;Their reflection&lt;/li&gt;
&lt;li&gt;Possible interests or preferences&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Those observations are then passed into another prompt that generates the next walking card.&lt;/p&gt;

&lt;p&gt;So Card #2 isn't just another random activity.&lt;/p&gt;

&lt;p&gt;It is based on what happened during the previous walk.&lt;/p&gt;

&lt;p&gt;For example, if someone notices walls, cracks, textures, plants, or small details during their first walk, the next card can shift the activity toward those observations.&lt;/p&gt;

&lt;h3&gt;
  
  
  Local-First Architecture
&lt;/h3&gt;

&lt;p&gt;The basic architecture is intentionally small:&lt;/p&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
text
              ┌──────────────────┐
              │   Paperwalk UI   │
              └────────┬─────────┘
                       │
                       ▼
              ┌──────────────────┐
              │     FastAPI      │
              └────────┬─────────┘
                       │
             ┌─────────┴─────────┐
             ▼                   ▼
      ┌─────────────┐     ┌─────────────┐
      │ Card Prompt │     │ Vision Prompt│
      └──────┬──────┘     └──────┬──────┘
             │                   │
             └─────────┬─────────┘
                       ▼
                ┌─────────────┐
                │ Local Gemma │
                │  via LM     │
                │   Studio    │
                └──────┬──────┘
                       │
                       ▼
              ┌──────────────────┐
              │ Adapted Card #2  │
              └──────────────────┘
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
      <category>gemmachallenge</category>
      <category>python</category>
    </item>
    <item>
      <title>ROGVEDA: Building an Offline-First, Privacy-Preserving Molecular Research Platform for a Friend</title>
      <dc:creator>Pankaj Garg</dc:creator>
      <pubDate>Sun, 04 Oct 2026 18:30:00 +0000</pubDate>
      <link>https://dev.to/skipversed/rogveda-building-an-offline-first-privacy-preserving-molecular-research-platform-for-a-friend-12f8</link>
      <guid>https://dev.to/skipversed/rogveda-building-an-offline-first-privacy-preserving-molecular-research-platform-for-a-friend-12f8</guid>
      <description>&lt;p&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;/p&gt;

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

&lt;p&gt;I built ROGVEDA for my friend Rohan, a graduate student researching medicinal chemistry and natural product drug leads.&lt;/p&gt;

&lt;p&gt;Rohan was facing a painful dilemma common to academic and early-stage drug discovery researchers:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;The Cloud Privacy Trap: He develops novel, patent-pending small molecules. Under institutional IP rules and non-disclosure agreements, he cannot upload unpublished chemical structures to closed cloud AI services without risking intellectual property leakage and patent forfeiture.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Workflow Fragmentation: To evaluate a single candidate molecule, he was jumping between several disconnected tools: a 2D drawing utility, desktop software for logP and polar surface area calculation, online servers for toxicity prediction, and manual spreadsheets to record modifications.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I built ROGVEDA to give Rohan a unified, 100% offline-first computational drug discovery workbench that runs entirely on his local machine. With ROGVEDA, he can:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Sketch 2D molecular structures or paste SMILES strings.&lt;/li&gt;
&lt;li&gt;Compute 17+ deterministic physicochemical properties such as molecular weight, logP, TPSA, Lipinski Rule of 5 violations, and synthetic accessibility scores.&lt;/li&gt;
&lt;li&gt;Run calibrated machine learning models across 6 bioactivity and safety targets including hERG cardiotoxicity, Tox21 mitochondrial toxicity, anti-inflammatory, anti-microbial, anti-cancer, and anti-oxidant potential.&lt;/li&gt;
&lt;li&gt;Perform high-throughput batch screening on CSV libraries of up to 500 molecules with hardware-aware battery pacing.&lt;/li&gt;
&lt;li&gt;Receive contextual biochemical trade-off insights powered by a locally hosted, open-weight language model without a single byte of chemical data leaving his device.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;When I handed the working build over to Rohan, his feedback was direct:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;"Being able to screen a series of newly designed derivatives right on my laptop in seconds—without worrying about confidentiality or cloud rate limits—cuts days of tedious manual lookups down to minutes."&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Demo
&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/Garg-Pankaj29" rel="noopener noreferrer"&gt;
        Garg-Pankaj29
      &lt;/a&gt; / &lt;a href="https://github.com/Garg-Pankaj29/Rogveda" rel="noopener noreferrer"&gt;
        Rogveda
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      ROGVEDA is an offline, AI-assisted molecular research sandbox that unifies structure analysis, ML property predictions, and local AI interpretation into a single workspace. Its core innovation is an iterative "Modify → Recalculate → Compare" loop for rapid, private compound design. 
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;ROGVEDA&lt;/h1&gt;
&lt;/div&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;In-Silico Molecular Intelligence &amp;amp; Drug Discovery Screening Platform&lt;/strong&gt;&lt;br&gt;
&lt;em&gt;One molecule. One workspace. One reproducible research loop.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;a href="https://github.com/Garg-Pankaj29/Rogveda/LICENSE" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/e19d32ddd0fe35c406741f25b9b857f291780424f61b66afa7f884354256b8ea/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d7465616c2e737667" alt="License: MIT"&gt;&lt;/a&gt;
&lt;a href="https://www.python.org/" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/64e4e70182a719335ba59d3ba0cf9c009a241550e3ead7d5e2b76a13e6d3b731/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f507974686f6e2d332e31322532422d626c75652e737667" alt="Python: 3.12+"&gt;&lt;/a&gt;
&lt;a href="https://fastapi.tiangolo.com/" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/86b7a41e6edd029b99c50f317850fed1828ae00222a208ca7773c93de276dae6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f466173744150492d302e3131352532422d3030393638382e737667" alt="FastAPI: 0.115+"&gt;&lt;/a&gt;
&lt;a href="https://react.dev/" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/293020fc1f74d69568a071580641b92b8e6645e2c3da6ace9a3f8863a125f121/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f52656163742d31392d3631444146422e737667" alt="React: 19"&gt;&lt;/a&gt;
&lt;a href="https://vitejs.dev/" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/ef7288dd2b127065066bca7ef7e31505a32e41a3b892f3f9a926456b64b360e7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f566974652d362e782d3634364346462e737667" alt="Vite"&gt;&lt;/a&gt;
&lt;a href="https://www.rdkit.org/" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/93b4592ce21794c8a66f1608b39ff997107864b89122e0a08c6ac54ecec84ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4368656d696e666f726d61746963732d52444b69742d677265656e2e737667" alt="Cheminformatics: RDKit"&gt;&lt;/a&gt;
&lt;a href="https://github.com/Garg-Pankaj29/Rogveda/backend/tests/" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/0663a77cc4439dd156d9d55ed0a58de859dd1ab0f3e20b90a1f6014e6ec2d676/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f54657374732d39362532305061737365642d627269676874677265656e2e737667" alt="Tests: 96 Passed"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;1. Project Overview&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;ROGVEDA&lt;/strong&gt; is an offline-first, privacy-preserving computational chemistry and early-stage drug discovery workbench.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;The Problem It Solves&lt;/h3&gt;
&lt;/div&gt;
&lt;p&gt;Early-stage medicinal chemistry and drug discovery workflows are heavily fragmented. Researchers, students, and small academic laboratories frequently juggle disconnected utilities:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Standalone drawing apps for 2D chemical sketching.&lt;/li&gt;
&lt;li&gt;Cloud web servers for calculating molecular descriptors.&lt;/li&gt;
&lt;li&gt;Cloud APIs for bioactivity and toxicity estimations.&lt;/li&gt;
&lt;li&gt;External databases for similarity matching.&lt;/li&gt;
&lt;li&gt;Manual spreadsheets and notes for tracking structural modifications.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This fragmentation creates severe context switching, eliminates reproducibility, and forces researchers to upload proprietary or unpublished molecular structures to third-party cloud servers.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;Why ROGVEDA Exists&lt;/h3&gt;

&lt;/div&gt;
&lt;p&gt;ROGVEDA unifies the complete molecular exploration cycle into a &lt;strong&gt;single, local-first desktop application&lt;/strong&gt;
$$\text{Input (Draw / SMILES)} \longrightarrow \text{Compute Descriptors} \longrightarrow \text{Predict Multi-Endpoint Activity} \longrightarrow \text{Similarity Search} \longrightarrow \text{Optimize &amp;amp;amp; Mutate} \longrightarrow \text{Track &amp;amp;amp;…&lt;/p&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/Garg-Pankaj29/Rogveda" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;h3&gt;
  
  
  Application Walkthrough
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Interactive 2D Sketching and 3D Conformer Modeling&lt;br&gt;
Real-time chemical canvas powered by embedded Ketcher and client-side RDKit WebAssembly, paired with interactive 3D WebGL ball-and-stick rendering via 3Dmol.js.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Calibrated Bioactivity and Toxicity Prediction&lt;br&gt;
Instant multi-target inference with probability calibration bars explicitly communicating confidence distance from the decision boundary.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;High-Throughput Batch Screening&lt;br&gt;
Screening multi-molecule CSV libraries with row-level error isolation, property filtering, and one-click PDF and CSV report exports.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

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

&lt;p&gt;The entire codebase is open-source under the MIT license:&lt;/p&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/Garg-Pankaj29" rel="noopener noreferrer"&gt;
        Garg-Pankaj29
      &lt;/a&gt; / &lt;a href="https://github.com/Garg-Pankaj29/Rogveda" rel="noopener noreferrer"&gt;
        Rogveda
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      ROGVEDA is an offline, AI-assisted molecular research sandbox that unifies structure analysis, ML property predictions, and local AI interpretation into a single workspace. Its core innovation is an iterative "Modify → Recalculate → Compare" loop for rapid, private compound design. 
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;ROGVEDA&lt;/h1&gt;
&lt;/div&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;In-Silico Molecular Intelligence &amp;amp; Drug Discovery Screening Platform&lt;/strong&gt;&lt;br&gt;
&lt;em&gt;One molecule. One workspace. One reproducible research loop.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;a href="https://github.com/Garg-Pankaj29/Rogveda/LICENSE" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/e19d32ddd0fe35c406741f25b9b857f291780424f61b66afa7f884354256b8ea/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d7465616c2e737667" alt="License: MIT"&gt;&lt;/a&gt;
&lt;a href="https://www.python.org/" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/64e4e70182a719335ba59d3ba0cf9c009a241550e3ead7d5e2b76a13e6d3b731/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f507974686f6e2d332e31322532422d626c75652e737667" alt="Python: 3.12+"&gt;&lt;/a&gt;
&lt;a href="https://fastapi.tiangolo.com/" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/86b7a41e6edd029b99c50f317850fed1828ae00222a208ca7773c93de276dae6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f466173744150492d302e3131352532422d3030393638382e737667" alt="FastAPI: 0.115+"&gt;&lt;/a&gt;
&lt;a href="https://react.dev/" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/293020fc1f74d69568a071580641b92b8e6645e2c3da6ace9a3f8863a125f121/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f52656163742d31392d3631444146422e737667" alt="React: 19"&gt;&lt;/a&gt;
&lt;a href="https://vitejs.dev/" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/ef7288dd2b127065066bca7ef7e31505a32e41a3b892f3f9a926456b64b360e7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f566974652d362e782d3634364346462e737667" alt="Vite"&gt;&lt;/a&gt;
&lt;a href="https://www.rdkit.org/" rel="nofollow noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/93b4592ce21794c8a66f1608b39ff997107864b89122e0a08c6ac54ecec84ad4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4368656d696e666f726d61746963732d52444b69742d677265656e2e737667" alt="Cheminformatics: RDKit"&gt;&lt;/a&gt;
&lt;a href="https://github.com/Garg-Pankaj29/Rogveda/backend/tests/" rel="noopener noreferrer"&gt;&lt;img src="https://camo.githubusercontent.com/0663a77cc4439dd156d9d55ed0a58de859dd1ab0f3e20b90a1f6014e6ec2d676/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f54657374732d39362532305061737365642d627269676874677265656e2e737667" alt="Tests: 96 Passed"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;1. Project Overview&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;ROGVEDA&lt;/strong&gt; is an offline-first, privacy-preserving computational chemistry and early-stage drug discovery workbench.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;The Problem It Solves&lt;/h3&gt;
&lt;/div&gt;
&lt;p&gt;Early-stage medicinal chemistry and drug discovery workflows are heavily fragmented. Researchers, students, and small academic laboratories frequently juggle disconnected utilities:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Standalone drawing apps for 2D chemical sketching.&lt;/li&gt;
&lt;li&gt;Cloud web servers for calculating molecular descriptors.&lt;/li&gt;
&lt;li&gt;Cloud APIs for bioactivity and toxicity estimations.&lt;/li&gt;
&lt;li&gt;External databases for similarity matching.&lt;/li&gt;
&lt;li&gt;Manual spreadsheets and notes for tracking structural modifications.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This fragmentation creates severe context switching, eliminates reproducibility, and forces researchers to upload proprietary or unpublished molecular structures to third-party cloud servers.&lt;/p&gt;
&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;Why ROGVEDA Exists&lt;/h3&gt;

&lt;/div&gt;
&lt;p&gt;ROGVEDA unifies the complete molecular exploration cycle into a &lt;strong&gt;single, local-first desktop application&lt;/strong&gt;
$$\text{Input (Draw / SMILES)} \longrightarrow \text{Compute Descriptors} \longrightarrow \text{Predict Multi-Endpoint Activity} \longrightarrow \text{Similarity Search} \longrightarrow \text{Optimize &amp;amp;amp; Mutate} \longrightarrow \text{Track &amp;amp;amp;…&lt;/p&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/Garg-Pankaj29/Rogveda" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;p&gt;Core Stack:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Frontend: React 19, Vite, Tailwind CSS, WebAssembly (@rdkit/rdkit), 3Dmol.js&lt;/li&gt;
&lt;li&gt;Backend: Python 3.12, FastAPI, RDKit C++ binaries&lt;/li&gt;
&lt;li&gt;Machine Learning: Scikit-Learn calibrated Random Forest ensembles trained on 230,000+ compounds from ChEMBL 37 and Tox21&lt;/li&gt;
&lt;li&gt;Local AI: LM Studio / llama.cpp local REST connector&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;ROGVEDA is built entirely around an open-source AI and cheminformatics stack designed for strict local execution:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Local Open-Weight LLM Integration&lt;br&gt;
Instead of sending chemical graphs to proprietary cloud APIs, ROGVEDA hooks into a locally running open-weight model (such as Llama-3.2-1B-Instruct or Qwen2.5-3B-Instruct served via LM Studio or llama.cpp). The backend constructs strict prompts embedding deterministic RDKit calculations and machine learning confidence intervals, asking the local model to generate structured summaries, highlight pharmacophore trade-offs, and suggest bioisosteric modifications. If the language model server is turned off, the core chemistry pipeline still functions without interruption.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Calibrated Machine Learning Engine&lt;br&gt;
We trained Random Forest ensembles across 6 pharmacology and toxicology targets using 230,000+ compounds from ChEMBL 37 and the NIH Tox21 dataset:&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Compounds are featurized using 2048-bit Morgan Fingerprints.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Datasets are partitioned using 80/20 Bemis-Murcko Scaffold Splits to reflect true out-of-distribution prospective generalization.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Predictions use CalibratedClassifierCV with sigmoid calibration, producing true confidence probabilities rather than raw heuristic scores.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Hybrid Client-Server Cheminformatics&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Client-Side: RDKit compiled to WebAssembly runs inside the browser to validate chemical valences and render vector SVG thumbnails instantly on every change with zero network latency.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Server-Side: Python FastAPI calculates 3D energy-minimized conformers using the ETKDGv3 distance-geometry algorithm and MMFF94 force field optimization, returning standard SDF blocks to the frontend WebGL viewer.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

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

&lt;p&gt;For chemistry and life sciences, open innovation is not merely a philosophical preference—it is a functional necessity:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Zero-Leakage Privacy for Scientific IP: Closed APIs require transmitting molecular representations to cloud servers. For researchers working toward provisional patents, that constitutes public disclosure or third-party risk. Running open-weight models locally ensures no proprietary chemical telemetry ever touches an external network.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;100% Offline Capability: Field researchers, university laboratories with intermittent campus Wi-Fi, and air-gapped institutional environments can run the entire platform with zero internet connectivity.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Zero Operational Cost: Academic researchers and students cannot afford recurring token bills or enterprise subscriptions. Open-source models and libraries allow unlimited screening at zero API cost.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Deterministic Reproducibility: Closed cloud models update and change behavior without warning, altering conclusions and breaking academic provenance. Open-weight models and version-pinned machine learning models ensure experiments run today produce identical results years from now.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

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

&lt;ul&gt;
&lt;li&gt;Hacktoberfest Weekend Challenge: Build for a Friend&lt;/li&gt;
&lt;/ul&gt;

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