<?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: SWAGAT SOURAV DHAR</title>
    <description>The latest articles on DEV Community by SWAGAT SOURAV DHAR (@swagat10241).</description>
    <link>https://dev.to/swagat10241</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%2F4173356%2F26da13e0-e39c-4291-8d87-0a6a48e5283a.png</url>
      <title>DEV Community: SWAGAT SOURAV DHAR</title>
      <link>https://dev.to/swagat10241</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/swagat10241"/>
    <language>en</language>
    <item>
      <title>DocuMorph: Living 3D Architecture Constellations &amp; Interactive API Sandboxes</title>
      <dc:creator>SWAGAT SOURAV DHAR</dc:creator>
      <pubDate>Sat, 31 Oct 2026 08:05:53 +0000</pubDate>
      <link>https://dev.to/swagat10241/documorph-living-3d-architecture-constellations-interactive-api-sandboxes-5cpg</link>
      <guid>https://dev.to/swagat10241/documorph-living-3d-architecture-constellations-interactive-api-sandboxes-5cpg</guid>
      <description>&lt;h1&gt;
  
  
  🧬 DocuMorph: Living 3D Architecture Constellations &amp;amp; Interactive API Sandboxes
&lt;/h1&gt;

&lt;p&gt;Every engineering team knows the dread of &lt;strong&gt;documentation drift&lt;/strong&gt;: you design an architecture diagram, write API specifications, and within three weeks the code evolves while the documentation quietly rots. Architecture diagrams in Confluence or Eraser stay static, while developers scramble across Swagger tabs and Postman collections just to see if an endpoint actually behaves the way the docs claim.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;DocuMorph&lt;/strong&gt; was built to solve this once and for all: transforming raw code, GitHub links, and API specifications into &lt;strong&gt;living, interactive documentation with dual 2D/3D WebGL architecture constellations and an executable API sandbox directly on the canvas.&lt;/strong&gt;&lt;/p&gt;




&lt;h2&gt;
  
  
  🌟 The Core Innovations
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. 🌌 Dual-Engine Architecture: 2D React Flow + 3D WebGL Constellations
&lt;/h3&gt;

&lt;p&gt;Most diagramming tools are stuck in flat 2D box-and-arrow formats. DocuMorph features a &lt;strong&gt;dual visual engine&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Interactive 3D WebGL Hologram Constellation&lt;/strong&gt;: Built with Three.js, OrbitControls, and custom particle glow shaders. Microservices, databases, and gateways form a living 3D constellation with real-time animated data-packet flows and card perspective tilt.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;2D React Flow Canvas&lt;/strong&gt;: A precise, zoomable topological canvas with node-level edge routing, status indicators, and payload inspectors.&lt;/li&gt;
&lt;li&gt;Seamlessly toggle between 2D and 3D with mode memory.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  2. ⚡ Enterprise Code Link Ingestion with Hardened Security
&lt;/h3&gt;

&lt;p&gt;Rather than forcing users to manually copy-paste code or install invasive repo-level daemon hooks, DocuMorph provides an &lt;strong&gt;Enterprise Code Link Ingestor&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Paste any GitHub repository URL, raw code link, or spec.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;SSRF &amp;amp; Private IP Blocking&lt;/strong&gt;: Actively filters out requests targeting &lt;code&gt;127.0.0.1&lt;/code&gt;, &lt;code&gt;localhost&lt;/code&gt;, &lt;code&gt;10.x.x.x&lt;/code&gt;, &lt;code&gt;192.168.x.x&lt;/code&gt;, or private subnets to prevent SSRF proxy abuse.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Sliding-Window Rate Limiting&lt;/strong&gt;: Enforces strict 10 requests/minute per IP.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;XSS &amp;amp; AST Sanitization&lt;/strong&gt;: Input is validated through strict Zod schemas and sanitized before being processed into state.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  3. 🧪 Living API Sandbox &amp;amp; Monaco Editor
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Click on any service or endpoint node in either 2D or 3D view to immediately open the &lt;strong&gt;Living API Sandbox&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Execute mock and live requests, test custom JSON payloads, and inspect status codes in real time with client-side sandboxing.&lt;/li&gt;
&lt;li&gt;Embedded &lt;strong&gt;Monaco Code Editor&lt;/strong&gt; (VS Code-grade syntax highlighting and diffing) lets developers inspect the underlying implementation without leaving the canvas.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  4. 📊 Observability &amp;amp; Telemetry (Grafana Metrics)
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Integrated real-time telemetry modal simulating Grafana-style service observability: latency percentiles (p50, p95, p99), throughput graphs, error stream logs, and node health indicators.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  5. 📦 Universal Spec Export
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Export the living state at any time into standard &lt;strong&gt;OpenAPI 3.1 specs&lt;/strong&gt;, &lt;strong&gt;JSON Schemas&lt;/strong&gt;, or &lt;strong&gt;GitHub-flavored Markdown&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🛠️ The Tech Stack
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Framework&lt;/strong&gt;: Next.js 16 (App Router) + React 19.3.1 + TypeScript&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;3D Graphics&lt;/strong&gt;: Three.js WebGL Engine + OrbitControls + High-Precision &lt;code&gt;performance.now()&lt;/code&gt; clocking&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;2D Graph Topology&lt;/strong&gt;: React Flow (&lt;code&gt;@xyflow/react&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Code Editor&lt;/strong&gt;: Monaco Editor (&lt;code&gt;@monaco-editor/react&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Validation &amp;amp; Security&lt;/strong&gt;: Zod schemas, DOMPurify overrides, Sliding-Window in-memory rate limiting&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Package Management &amp;amp; Tooling&lt;/strong&gt;: pnpm 11, Node 22 LTS, CodeQL static security analysis&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🔗 Links &amp;amp; Resources
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;GitHub Repository&lt;/strong&gt;: &lt;a href="https://github.com/SWAGAT10241/documorph" rel="noopener noreferrer"&gt;https://github.com/SWAGAT10241/documorph&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;GitHub Wiki&lt;/strong&gt;: &lt;a href="https://github.com/SWAGAT10241/documorph/wiki" rel="noopener noreferrer"&gt;https://github.com/SWAGAT10241/documorph/wiki&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Built for&lt;/strong&gt;: Hacktoberfest 2026 &amp;amp; Open-Source AI Developer Ecosystem&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;em&gt;Built with passion for open-source developer tooling and living system architecture.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>hacktoberfest</category>
      <category>opensource</category>
      <category>webdev</category>
      <category>ai</category>
    </item>
    <item>
      <title>Haunted Shell: Possessing Your Terminal with Local Open-Weight AI (Ghost in the Machine)</title>
      <dc:creator>SWAGAT SOURAV DHAR</dc:creator>
      <pubDate>Fri, 30 Oct 2026 13:18:47 +0000</pubDate>
      <link>https://dev.to/swagat10241/haunted-shell-possessing-your-terminal-with-local-open-weight-ai-ghost-in-the-machine-1i15</link>
      <guid>https://dev.to/swagat10241/haunted-shell-possessing-your-terminal-with-local-open-weight-ai-ghost-in-the-machine-1i15</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hf26"&gt;Hacktoberfest Open-Source AI Challenge: Week 4 - Ghost in the Machine&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;




&lt;h3&gt;
  
  
  What I Built &amp;amp; How I Interpreted the Theme
&lt;/h3&gt;

&lt;p&gt;For this week's &lt;strong&gt;"Ghost in the Machine"&lt;/strong&gt; theme, sitting right between Halloween and Día de los Muertos, I wanted to take the concept literally: &lt;strong&gt;What if a supernatural spirit lived inside your terminal, directly possessing your shell?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Introducing &lt;strong&gt;&lt;code&gt;haunted-shell&lt;/code&gt;&lt;/strong&gt; — an open-source, production-grade, local-first possessed terminal companion. &lt;/p&gt;

&lt;p&gt;Whenever you run a command in your everyday shell (&lt;code&gt;rm -rf&lt;/code&gt;, &lt;code&gt;git push --force&lt;/code&gt;, &lt;code&gt;kill -9&lt;/code&gt;, &lt;code&gt;cat&lt;/code&gt;, &lt;code&gt;whoami&lt;/code&gt;), an eerie spirit materializes, analyzing your command, exit code, and environment to whisper spooky commentary, roast dangerous commands, compose satirical &lt;em&gt;calaveritas literarias&lt;/em&gt; in honor of computing ancestors, or scan the operating system's process table for real defunct &lt;strong&gt;zombie processes&lt;/strong&gt; to exorcise.&lt;/p&gt;

&lt;p&gt;To bridge Halloween and Día de los Muertos, &lt;code&gt;haunted-shell&lt;/code&gt; comes with three distinct spirits:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;The Poltergeist (&lt;code&gt;poltergeist&lt;/code&gt;):&lt;/strong&gt; A mischievous, chilling Halloween ghost who laughs at segfaults, mourns deleted inodes in &lt;code&gt;/dev/null&lt;/code&gt;, and warns you of entities dwelling in ring 0.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;La Calavera (&lt;code&gt;calavera&lt;/code&gt;):&lt;/strong&gt; A warm, philosophical Día de los Muertos spirit who scatters marigold (&lt;em&gt;cempasúchil&lt;/em&gt;) petals on deleted files and writes witty poetic verses celebrating computing pioneers (Ada Lovelace, Grace Hopper, Alan Turing).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The 1971 PDP-11 Mainframe Specter (&lt;code&gt;unix-elder&lt;/code&gt;):&lt;/strong&gt; An ancient Bell Labs Unix ghost horrified by 80,000-file &lt;code&gt;node_modules&lt;/code&gt; folders and multi-gigabyte browser memory leaks, longing for teletypes, pipes, and reel-to-reel magnetic tape.&lt;/li&gt;
&lt;/ol&gt;




&lt;h3&gt;
  
  
  Why Open Innovation Matters for &lt;code&gt;haunted-shell&lt;/code&gt;
&lt;/h3&gt;

&lt;p&gt;The challenge asks: &lt;em&gt;Why does open innovation matter for what you built?&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;For a shell companion, &lt;strong&gt;open-source AI and local inference are not just nice-to-haves—they are an absolute security and functional prerequisite&lt;/strong&gt;.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Absolute Air-Gapped Privacy for Shell Secrets:&lt;/strong&gt;
Your terminal is the most sensitive surface on your entire computer. It holds private SSH keys (&lt;code&gt;~/.ssh&lt;/code&gt;), API tokens, environment variables (&lt;code&gt;$AWS_SECRET_ACCESS_KEY&lt;/code&gt;), internal IP addresses, and proprietary code. If this tool were powered by a closed commercial cloud API (like OpenAI or Anthropic), every single command and argument would be transmitted across the internet to a third-party server. By using &lt;strong&gt;open-weight models (like Google Gemma 2)&lt;/strong&gt; running entirely locally on-device, &lt;strong&gt;zero telemetry or command data ever leaves the laptop&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Works With the Lights (and the Internet) Off:&lt;/strong&gt;
Whether you are coding in an airplane cabin at 35,000 feet, in a remote server room, or during a storm with the WiFi down, &lt;code&gt;haunted-shell&lt;/code&gt; doesn't skip a beat. It has zero cloud dependencies, zero external latency, and zero rate limits.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No Subscription Costs or Billing Meters:&lt;/strong&gt;
Developers type hundreds or thousands of shell commands every day. Routing those through paid proprietary cloud APIs would burn money. With local open-weight models, inference is 100% free forever.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Resilience &amp;amp; Custom Persona Freedom:&lt;/strong&gt;
Closed APIs suffer from sudden model deprecations and unpredictable system prompt overrides. Open weights can be fine-tuned, modified, and saved locally forever.&lt;/li&gt;
&lt;/ol&gt;




&lt;h3&gt;
  
  
  Demo &amp;amp; Live Experience
&lt;/h3&gt;

&lt;h4&gt;
  
  
  1. Interactive Possession Shell
&lt;/h4&gt;

&lt;p&gt;Running &lt;code&gt;haunt shell&lt;/code&gt; launches a possessed subshell with persistent readline history and directory tracking:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight console"&gt;&lt;code&gt;&lt;span class="go"&gt;      .-.
     (o o) boo!
     | O \
      \   \      G H O S T   I N   T H E   M A C H I N E
       `~~~'     [ Possessed by local open-weight AI. Air-gap verified. ]

👻 Spirit: The Poltergeist of Purgatory
🔒 Air-gap Security: Verified Local-Only (Local Open-Weight Model [gemma2:2b])
💡 Type regular commands or ':help' for builtins. Type 'exit' to escape.

[haunted-shell] 👻 rm -rf old_drafts.txt
  👻  Gone. Banished to /dev/null. But in the graveyard of your disk, their sectors still whisper.

[haunted-shell] 👻 kill -9 4120
  👻  A cold-blooded slaughter... PID 4120 extinguished in an instant. Its orphan spirit lingers in kernel space.

[haunted-shell] 👻 git push --force origin main
  👻  You tear the fabric of shared memory without remorse. May the merge conflicts haunt your dreams.
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  2. Día de los Muertos Calaveras
&lt;/h4&gt;

&lt;p&gt;Switching to &lt;code&gt;--persona calavera&lt;/code&gt; (or typing &lt;code&gt;:persona calavera&lt;/code&gt; live in the shell) turns your terminal into a remembrance altar:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight console"&gt;&lt;code&gt;&lt;span class="go"&gt;[haunted-shell] 💀 git commit -m "Refactor parser"
  💀  Estaba la Catrina sentada en el disco / viendo tus commits con sonrisa y pellizco:
      '¡No te apures, dev, por ese merge conflict / que en el camposanto todo queda fixed!'
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  3. Real OS Zombie Process Exorcism with Safety Guardrails
&lt;/h4&gt;

&lt;p&gt;&lt;code&gt;haunt exorcise&lt;/code&gt; inspects the host operating system's kernel process table using &lt;code&gt;psutil&lt;/code&gt;, hunting for true zombie processes, orphaned daemons, and memory-devouring wraiths, with built-in protections preventing accidental termination of &lt;code&gt;PID 1&lt;/code&gt; or host shells:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight console"&gt;&lt;code&gt;&lt;span class="gp"&gt;$&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;haunt exorcise
&lt;span class="go"&gt;┌─[ SPECTRAL PROCESS NECROPSY ]────────────────────────────────────────────────────┐
│ Detected 3 restless entity/entities lurking in memory:                           │
│                                                                                  │
│ • PID 34646 [Memory Wraith] - Code Helper (Renderer)                             │
│   Memory: 200.7 MB | Age: 36.2 mins                                              │
│   "Devours 200.7 MB of physical memory like a restless devourer."                │
│                                                                                  │
│ • PID 41047 [Shadow Daemon] - language_server                                    │
│   Memory: 201.7 MB | Age: 8.3 mins                                               │
│   "Spawned in haste, abandoned in cold memory. It wanders kernel space..."       │
└──────────────────────────────────────────────────────────────────────────────────┘

&lt;/span&gt;&lt;span class="gp"&gt;To banish a restless PID, run: haunt exorcise --banish &amp;lt;PID&amp;gt;&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  4. Universal Shell Hooks (Zsh, Bash &amp;amp; Fish)
&lt;/h4&gt;

&lt;p&gt;You don't even need to stay in a subshell. With &lt;code&gt;haunt hook&lt;/code&gt;, your everyday terminal prompt automatically inherits the possession on every command you execute:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# For Zsh (~/.zshrc):&lt;/span&gt;
&lt;span class="nb"&gt;eval&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="si"&gt;$(&lt;/span&gt;haunt hook zsh&lt;span class="si"&gt;)&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;

&lt;span class="c"&gt;# For Bash (~/.bashrc):&lt;/span&gt;
&lt;span class="nb"&gt;eval&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="si"&gt;$(&lt;/span&gt;haunt hook bash&lt;span class="si"&gt;)&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;

&lt;span class="c"&gt;# For Fish (~/.config/fish/config.fish):&lt;/span&gt;
haunt hook fish | &lt;span class="nb"&gt;source&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h4&gt;
  
  
  5. Environment Diagnostics (&lt;code&gt;haunt doctor&lt;/code&gt;)
&lt;/h4&gt;

&lt;p&gt;&lt;code&gt;haunt doctor&lt;/code&gt; performs a rapid health audit of the host system, checking local Ollama connectivity, downloaded open-weight models, terminal color capability, and configuration status:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight console"&gt;&lt;code&gt;&lt;span class="gp"&gt;$&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;haunt doctor
&lt;span class="go"&gt;┌─[ HAUNTED-SHELL SYSTEM DIAGNOSTICS ]─────────────────────────────────────┐
│ Platform: Darwin 27.2.0 (arm64)                                          │
│ Python:   3.14.3 (✓ Supported)                                           │
│ Terminal: Interactive TTY | Colors: ✓ Enabled | Size: 80x24              │
│                                                                          │
│ Active Persona:  poltergeist                                             │
│ Configured Model: gemma2:2b                                              │
│ Config File:      ~/.config/haunted-shell/config.json (Using Defaults)   │
│                                                                          │
│ Local AI Server (http://localhost:11434):                                │
│   ✓ Ollama reachable (1 model(s) available)                              │
│     Available: gemma2:2b                                                 │
└──────────────────────────────────────────────────────────────────────────┘
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;






&lt;h3&gt;
  
  
  Technical Architecture &amp;amp; How It Works
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;haunted-shell&lt;/code&gt; was designed with clean Unix philosophy, strict typing, and resilient offline degradation:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;┌────────────────────────────────────────────────────────┐
│                   User Shell Command                   │
└───────────────────────────┬────────────────────────────┘
                            │
              ┌─────────────▼─────────────┐
              │    Subprocess Execution   │
              └─────────────┬─────────────┘
                            │ (Exit code, CWD, Command tokens)
              ┌─────────────▼─────────────┐
              │       GhostEngine         │
              └──────┬─────────────┬──────┘
                     │             │
        (If available)             (Air-gapped fallback)
                     │             │
        ┌────────────▼──────┐   ┌──▼──────────────────────────┐
        │ Local Open-Weight │   │ Offline Spectral Engine     │
        │ Model (Gemma 2 via│   │ (Contextual matrices,       │
        │ Ollama/llama.cpp) │   │ calaveritas &amp;amp; glitch-zalgo) │
        └───────────────────┘   └─────────────────────────────┘
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Open-Weight Model Integration:&lt;/strong&gt; Connects out of the box to local open-weight models (like &lt;strong&gt;Google Gemma 2:2B&lt;/strong&gt; or &lt;strong&gt;Llama 3.2&lt;/strong&gt;) hosted locally via Ollama (&lt;code&gt;http://localhost:11434&lt;/code&gt;) or any local OpenAI-compatible endpoint.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero-Dependency Fallback Engine:&lt;/strong&gt; If no local model server is currently active, it automatically falls back to an offline semantic and poetic generator, ensuring it runs instantly on any machine with zero setup friction.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Production Codebase:&lt;/strong&gt; 

&lt;ul&gt;
&lt;li&gt;Complete &lt;strong&gt;PEP 561&lt;/strong&gt; typing with &lt;code&gt;py.typed&lt;/code&gt; and zero mypy errors.&lt;/li&gt;
&lt;li&gt;Formatted and linted with &lt;strong&gt;Ruff&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Comprehensive unit test suite (59 tests passing, &amp;gt;75% coverage).&lt;/li&gt;
&lt;li&gt;XDG configuration management (&lt;code&gt;~/.config/haunted-shell/config.json&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;GitHub Actions CI matrix testing across Ubuntu and macOS.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  Partner Category Consideration
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of Gemma:&lt;/strong&gt; Designed natively to run with Google's open-weight &lt;strong&gt;Gemma 2&lt;/strong&gt; (&lt;code&gt;gemma2:2b&lt;/code&gt; / &lt;code&gt;gemma2:9b&lt;/code&gt;), taking full advantage of Gemma's high instruction-following efficiency on consumer laptops!&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  Code Repository
&lt;/h3&gt;

&lt;p&gt;The project is completely open source under the MIT license:&lt;br&gt;&lt;br&gt;
👉 &lt;strong&gt;&lt;a href="https://github.com/SWAGAT10241/haunted-shell" rel="noopener noreferrer"&gt;GitHub: haunted-shell&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Happy Halloween and ¡Feliz Día de los Muertos! May your terminals stay spooky and your memory leaks find peace.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>hf26challenge</category>
      <category>opensource</category>
      <category>ai</category>
      <category>python</category>
    </item>
    <item>
      <title>Meet LazyPilot: An AI that works so I don’t have to.</title>
      <dc:creator>SWAGAT SOURAV DHAR</dc:creator>
      <pubDate>Fri, 23 Oct 2026 16:34:04 +0000</pubDate>
      <link>https://dev.to/swagat10241/meet-lazypilot-an-ai-that-works-so-i-dont-have-to-loh</link>
      <guid>https://dev.to/swagat10241/meet-lazypilot-an-ai-that-works-so-i-dont-have-to-loh</guid>
      <description>&lt;p&gt;We spend far too much time doing repetitive digital work: sorting files, renaming documents, reading long reports, and organizing information.&lt;/p&gt;

&lt;p&gt;So, for International Sloth Day, I’m exploring a different approach: what if our computers could take care of the boring parts for us?&lt;/p&gt;

&lt;p&gt;LazyPilot is a local-first AI assistant designed to automate repetitive tasks using open-weight models and open-source tools.&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;Let AI understand and categorize documents.&lt;/li&gt;
&lt;li&gt;Automate repetitive organization tasks.&lt;/li&gt;
&lt;li&gt;Generate useful summaries.&lt;/li&gt;
&lt;li&gt;Keep the user in control of important changes.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Why open AI?&lt;/p&gt;

&lt;p&gt;Open innovation makes it possible to build tools that users can inspect, customize, and run on their own machines. With local inference, private documents can stay local, and the core functionality can work without a constant connection to a hosted AI service.&lt;/p&gt;

&lt;p&gt;The goal isn’t to replace human judgment. It’s to eliminate unnecessary busywork so people can spend their energy on things that matter.&lt;/p&gt;

&lt;p&gt;Build once. Automate the boring stuff. Embrace your inner sloth.&lt;/p&gt;

&lt;h1&gt;
  
  
  OpenSourceAI #LocalAI #OpenWeights #AI #BuildInPublic #InternationalSlothDay
&lt;/h1&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
    </item>
    <item>
      <title>LocalScribe AI</title>
      <dc:creator>SWAGAT SOURAV DHAR</dc:creator>
      <pubDate>Sat, 17 Oct 2026 17:36:17 +0000</pubDate>
      <link>https://dev.to/swagat10241/localscribe-ai-2mp3</link>
      <guid>https://dev.to/swagat10241/localscribe-ai-2mp3</guid>
      <description>&lt;p&gt;I built LocalScribe AI: A private, local-first AI assistant for receipts and invoices.&lt;/p&gt;

&lt;p&gt;Freelancers and small businesses shouldn’t have to spend hours organizing receipts and invoices. But sending sensitive financial documents to external AI services isn’t always desirable, and API costs can add up.&lt;/p&gt;

&lt;p&gt;So I’m building LocalScribe AI, an AI-powered document organizer that runs locally.&lt;/p&gt;

&lt;p&gt;What it does&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Extracts information from receipts and invoices.&lt;/li&gt;
&lt;li&gt;Categorizes expenses.&lt;/li&gt;
&lt;li&gt;Flags uncertain fields for human review.&lt;/li&gt;
&lt;li&gt;Organizes records into a searchable table.&lt;/li&gt;
&lt;li&gt;Exports validated data to CSV.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Why open-source AI?&lt;/p&gt;

&lt;p&gt;The model is a core part of the application, not just an API call hidden behind a user interface.&lt;/p&gt;

&lt;p&gt;By using a compatible open-weight model with local inference, LocalScribe AI can process documents without relying on an external AI API for its core functionality.&lt;/p&gt;

&lt;p&gt;That means greater control over sensitive data, no per-request AI API fees, and the flexibility to experiment with different models.&lt;/p&gt;

&lt;p&gt;The trade-offs are real: local inference requires suitable hardware, and extraction accuracy still needs to be tested.&lt;/p&gt;

&lt;p&gt;Who is it for?&lt;/p&gt;

&lt;p&gt;Freelancers, consultants, and small businesses that need a simpler way to organize financial documents.&lt;/p&gt;

&lt;p&gt;What I’m testing&lt;/p&gt;

&lt;p&gt;Can a local AI workflow save someone enough time to become a product they’d actually pay for?&lt;/p&gt;

&lt;p&gt;My next step is to put the prototype in front of a real user, measure the results, and improve it based on their feedback.&lt;/p&gt;

&lt;p&gt;Built with: React, Python, FastAPI, Ollama, an open-weight language model, OCR, and SQLite.&lt;/p&gt;

&lt;p&gt;I’ll share the working demo, source code, and real user feedback as the project develops.&lt;/p&gt;

&lt;p&gt;Open innovation matters when it gives people more control over their tools, their data, and the economics of using AI.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
      <category>ai</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Built an Offline Frost Predictor with TabPFN-v2 and Gemma 3 (No Internet, No API Keys)</title>
      <dc:creator>SWAGAT SOURAV DHAR</dc:creator>
      <pubDate>Fri, 09 Oct 2026 16:23:42 +0000</pubDate>
      <link>https://dev.to/swagat10241/built-an-offline-frost-predictor-with-tabpfn-v2-and-gemma-3-no-internet-no-api-keys-50jl</link>
      <guid>https://dev.to/swagat10241/built-an-offline-frost-predictor-with-tabpfn-v2-and-gemma-3-no-internet-no-api-keys-50jl</guid>
      <description>&lt;p&gt;Gardeners often need planting advice where cell service is unreliable or nonexistent. To solve this, I built FrostWise, a local-first gardening assistant designed for the Hacktoberfest Open-Source AI Challenge.&lt;/p&gt;

&lt;p&gt;Architecture&lt;br&gt;
TabPFN-v2 (Tabular Foundation Model): Evaluates local weather history (ERA5 minimum daily temperatures) to forecast first and last frost dates without relying on generic hardcoded zone charts.&lt;br&gt;
Gemma 3 (via Ollama): Translates predicted freeze risks into practical planting schedules and crop protection guidance.&lt;/p&gt;

&lt;p&gt;Everything runs entirely on your local machine—no remote telemetry, no external API calls, and zero ongoing costs.&lt;/p&gt;

&lt;p&gt;📺 Video Walkthrough: &lt;a href="https://youtu.be/7gHYehieEnQ" rel="noopener noreferrer"&gt;https://youtu.be/7gHYehieEnQ&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Feedback and contributions are welcome!&lt;/p&gt;

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