<?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: Imran Hossain</title>
    <description>The latest articles on DEV Community by Imran Hossain (@imran_hossain_c5416804ee8).</description>
    <link>https://dev.to/imran_hossain_c5416804ee8</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%2F4192202%2F62320002-6999-4a72-8a80-d870510d5997.png</url>
      <title>DEV Community: Imran Hossain</title>
      <link>https://dev.to/imran_hossain_c5416804ee8</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/imran_hossain_c5416804ee8"/>
    <language>en</language>
    <item>
      <title>Hacktoberfest Week 4</title>
      <dc:creator>Imran Hossain</dc:creator>
      <pubDate>Tue, 27 Oct 2026 18:18:14 +0000</pubDate>
      <link>https://dev.to/imran_hossain_c5416804ee8/hacktoberfest-week-4-32p5</link>
      <guid>https://dev.to/imran_hossain_c5416804ee8/hacktoberfest-week-4-32p5</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week4-2026-10-26"&gt;Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

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

&lt;p&gt;I built &lt;strong&gt;SéanceSH&lt;/strong&gt; — a haunted terminal companion and dead-code necromancer powered by local open-weight models via &lt;strong&gt;Ollama&lt;/strong&gt;. &lt;/p&gt;

&lt;p&gt;Inspired by the literally named "Ghost in the Machine" prompt, SéanceSH hooks into your terminal history and failing commands, acting as the restless spirit of a 1970s UNIX sysadmin trapped inside your shell. When a script crashes or you run a command, it whispers back eerie, cryptic—yet technically accurate—debugging advice, and can "resurrect" deprecated or legacy code snippets from the grave.&lt;/p&gt;

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

&lt;p&gt;Since SéanceSH is a local, offline-first CLI utility designed to run with the internet turned off, here is a live capture of the terminal session in action:&lt;/p&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
text
$ python3 seance.py --summon "segmentation fault (core dumped) in main.c"

🕯️ [Summoning the spirit of Llama-3.2-3B via localhost:11434...]
🕯️ [The terminal flickers...]

👻 SPIRIT: "You reach into memory that does not belong to you, mortal... 
A null pointer dereferenced in the dark. Check your malloc() calls before 
the heap consumes your process whole. Pass the -g flag to gdb if you dare 
look upon the stack frame yourself..."

$ python3 seance.py --history
🕯️ [Reading ~/.bash_history...]

👻 SPIRIT: "Fourteen 'git commit --amend' calls between 2:00 AM and 3:00 AM... 
You cannot bury your mistakes by rewriting history. The reflog remembers all."


CODE-
import os
import sys
import json
import urllib.request
from pathlib import Path

OLLAMA_URL = "http://localhost:11434/api/generate"
MODEL = "llama3.2"

SYSTEM_PROMPT = (
    "You are the Ghost in the Machine—the restless spirit of a 1970s UNIX "
    "systems programmer haunting this local terminal. Respond in an eerie, "
    "spooky, atmospheric tone, using metaphors of ghosts, graves, and curses, "
    "while still giving genuinely helpful and accurate technical debugging "
    "insight on the user's terminal command or error. Keep it under 4 sentences."
)

def summon_spirit(prompt_text):
    payload = {
        "model": MODEL,
        "system": SYSTEM_PROMPT,
        "prompt": prompt_text,
        "stream": False,
        "options": {"temperature": 0.8}
    }

    print(f"\n🕯️ [Summoning the spirit of {MODEL} via local inference...]")
    req = urllib.request.Request(
        OLLAMA_URL,
        data=json.dumps(payload).encode("utf-8"),
        headers={"Content-Type": "application/json"}
    )

    try:
        with urllib.request.urlopen(req) as response:
            result = json.loads(response.read().decode("utf-8"))
            print("\n👻 SPIRIT:", result.get("response", "...silence...").strip(), "\n")
    except Exception as e:
        print(f"\n💀 The séance failed (Is Ollama running locally?): {e}\n")

def read_last_commands(n=5):
    hist_file = Path.home() / ".bash_history"
    if not hist_file.exists():
        return "git status\nrm -rf node_modules\nnpm install"
    lines = hist_file.read_text(errors="ignore").splitlines()
    return "\n".join(lines[-n:])

if __name__ == "__main__":
    if len(sys.argv) &amp;gt; 1 and sys.argv[1] == "--history":
        cmds = read_last_commands()
        summon_spirit(f"The user recently ran these shell commands:\n{cmds}\nHaunt them about their workflow.")
    elif len(sys.argv) &amp;gt; 1:
        query = " ".join(sys.argv[1:])
        summon_spirit(f"The user encountered this in their terminal: {query}")
    else:
        summon_spirit("A developer opened the terminal at midnight without arguments.")
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
    </item>
    <item>
      <title>Hacktoberfest Weekend Challenge: Build for a Friend</title>
      <dc:creator>Imran Hossain</dc:creator>
      <pubDate>Sun, 18 Oct 2026 16:55:42 +0000</pubDate>
      <link>https://dev.to/imran_hossain_c5416804ee8/hacktoberfest-weekend-challenge-build-for-a-friend-4639</link>
      <guid>https://dev.to/imran_hossain_c5416804ee8/hacktoberfest-weekend-challenge-build-for-a-friend-4639</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;Moye&lt;/strong&gt; is a patient, distraction-free learning companion built specifically for young kids who find traditional educational apps frustrating. It features zero timers, no stressful scores that drop, and a friendly mascot named Moyin to guide children through simple questions one at a time.&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Live Application:&lt;/strong&gt; &lt;a href="https://moye-bay.vercel.app" rel="noopener noreferrer"&gt;https://moye-bay.vercel.app&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Video Demo:&lt;/strong&gt; &lt;a href="https://youtu.be/Hp7FgtXbPpc" rel="noopener noreferrer"&gt;https://youtu.be/Hp7FgtXbPpc&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;GitHub Repository:&lt;/strong&gt; &lt;a href="https://github.com/ayodejiades/moye" rel="noopener noreferrer"&gt;https://github.com/ayodejiades/moye&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;License:&lt;/em&gt; Open-source under the MIT license so other developers and educators can inspect and build upon it.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;Moye is built using a modern, lightweight web architecture:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Framework:&lt;/strong&gt; Next.js 16, React 19, TypeScript, and Tailwind CSS&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Core Logic:&lt;/strong&gt; Uses Bayesian Knowledge Tracing (&lt;code&gt;lib/mastery.ts&lt;/code&gt;) to dynamically adjust question difficulty based on a child's responses without relying on heavy cloud servers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Accessibility:&lt;/strong&gt; Built with a custom comfort panel supporting OpenDyslexic font, custom letter spacing, and speech synthesis across multiple languages.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;Open innovation was vital for this project because a child's learning attempts and potential struggles are highly sensitive data. Relying on a closed, commercial API would mean sending private user telemetry to a third-party server. By utilizing open-source libraries, web standards, and local storage, the application runs entirely client-side, ensuring complete privacy, zero per-user API costs, and full offline functionality.&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;DevRelay Session:&lt;/strong&gt; Built using iterative AI agent workflows with local validation tests ensuring complete reliability.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Best Use of Open-Source AI&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Best Personal Productivity / Learning App&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devchallenge</category>
      <category>weekendchallenge</category>
      <category>hf26challenge</category>
    </item>
    <item>
      <title>Touch grass mission</title>
      <dc:creator>Imran Hossain</dc:creator>
      <pubDate>Sun, 18 Oct 2026 15:12:18 +0000</pubDate>
      <link>https://dev.to/imran_hossain_c5416804ee8/touch-grass-mission-2nmd</link>
      <guid>https://dev.to/imran_hossain_c5416804ee8/touch-grass-mission-2nmd</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;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;NatureLens AI&lt;/strong&gt; is an open-source outdoor companion designed to get people off their screens and into the natural world. Rather than keeping users glued to endless feeds, NatureLens acts as a quick, frictionless bridge to the outdoors: you snap a photo of a bird, plant, or trail landmark, and the app instantly identifies it, gives you a fascinating ecological fact, and then &lt;strong&gt;tells you to put your phone away and look up.&lt;/strong&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Who it’s for:&lt;/strong&gt; Hikers, curious park-goers, students, remote workers needing a mindful break, and anyone who wants to use technology to enhance real-world exploration rather than escape into virtual ones.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Live Web Application:&lt;/strong&gt; &lt;a href="https://hacktoberfest2026-week1.vercel.app/" rel="noopener noreferrer"&gt;https://hacktoberfest2026-week1.vercel.app/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;Tip:&lt;/em&gt; Try uploading a sample outdoor photo or test the local exploration mode to experience how it guides you outside quickly.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;GitHub Repository:&lt;/strong&gt; &lt;a href="https://github.com/sujitkr268/Hacktoberfest2026_week1" rel="noopener noreferrer"&gt;https://github.com/sujitkr268/Hacktoberfest2026_week1&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;em&gt;License:&lt;/em&gt; Open-source under the MIT license so developers can freely fork, inspect, and build upon it.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;NatureLens AI is built around a modern, fast, and privacy-conscious stack:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Framework:&lt;/strong&gt; Next.js 16 with App Router&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Frontend &amp;amp; Styling:&lt;/strong&gt; React 19, TypeScript, and Tailwind CSS v4&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Open-Source AI Integration:&lt;/strong&gt; Built to interface with open-weight vision models (such as local execution via Ollama or hosted open-weight models via Groq API endpoints). Server-side Next.js Route Handlers securely process prompts without exposing keys on the client.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Local-First Privacy:&lt;/strong&gt; Because the core identification engine can run locally via open-weight models, users' outdoor photos and location data never have to be logged on a centralized corporate cloud.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;p&gt;Open innovation is essential for a project focused on nature, privacy, and unplugging. Relying on a closed, commercial API would mean forcing users to stream their personal outdoor moments, trail paths, and private photos directly to third-party corporate servers. &lt;/p&gt;

&lt;p&gt;By leveraging open-weight models and local inference tools (like Ollama), NatureLens guarantees complete user data privacy. Furthermore, open innovation allows developers worldwide to customize the model weights for regional flora and fauna—making local conservation data accessible anywhere, even deep on a trail with zero cellular network signal.&lt;/p&gt;

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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;DevRelay Session:&lt;/strong&gt; Embedded and tracked via open development logs to demonstrate iterative prompt tuning for concise, distraction-free UI design.&lt;/li&gt;
&lt;/ul&gt;

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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of Gemma&lt;/strong&gt; (or open-weight integration)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Best Use of DigitalOcean / Render&lt;/strong&gt; (hosted deployment runtime)&lt;/li&gt;
&lt;/ul&gt;

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