<?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: Aditya mishra</title>
    <description>The latest articles on DEV Community by Aditya mishra (@iadii).</description>
    <link>https://dev.to/iadii</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%2F530532%2Fca8898a8-e141-4fc4-bc8a-80098ab38ac5.png</url>
      <title>DEV Community: Aditya mishra</title>
      <link>https://dev.to/iadii</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/iadii"/>
    <language>en</language>
    <item>
      <title>Room 404: The Haunted Terminal That Possesses Your Computer</title>
      <dc:creator>Aditya mishra</dc:creator>
      <pubDate>Wed, 28 Oct 2026 17:00:31 +0000</pubDate>
      <link>https://dev.to/iadii/room-404-the-haunted-terminal-that-possesses-your-computer-3f45</link>
      <guid>https://dev.to/iadii/room-404-the-haunted-terminal-that-possesses-your-computer-3f45</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;&lt;strong&gt;Room 404&lt;/strong&gt; is an interactive haunted terminal experience built for the Hacktoberfest 2026 Week 4 "Ghost in the Machine" challenge.&lt;/p&gt;

&lt;p&gt;The prompt explicitly suggested:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;“A haunted terminal that 'possesses' your shell and whispers back eerie commentary on the commands you run”&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Room 404 embodies this across both a retro browser console and a live shell CLI.&lt;/p&gt;

&lt;p&gt;On October 31, 1978, a guest named Elena Voss checked into Room 404 of the Briar House Hotel and never checked out. Her second line in the ledger was scraped away until the paper was thin enough to see light through. Exactly forty-eight years later—on October 31, 2026 at 03:17 AM—the hotel’s obsolete management computer (&lt;strong&gt;BriarOS v4.04 on a PDP-11&lt;/strong&gt;) suddenly rebooted and registered a new guest: &lt;strong&gt;you&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fb27e0e009dohma29jnx7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fb27e0e009dohma29jnx7.png" alt="Room 404 Check-in Landing Interface" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Two Ways to Experience the Haunting:
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Interactive Web CRT Ghost Terminal &amp;amp; CCTV Console&lt;/strong&gt;:

&lt;ul&gt;
&lt;li&gt;Switch between &lt;strong&gt;⌨ GHOST TERMINAL&lt;/strong&gt; (a full green/amber phosphor CRT terminal command line) and &lt;strong&gt;📹 CCTV CONSOLE&lt;/strong&gt; (visual surveillance feeds &amp;amp; scene cards).&lt;/li&gt;
&lt;li&gt;Run real system commands: &lt;code&gt;ls&lt;/code&gt;, &lt;code&gt;cat ledger_1978.log&lt;/code&gt;, &lt;code&gt;cd hallway&lt;/code&gt;, &lt;code&gt;pwd&lt;/code&gt;, &lt;code&gt;date&lt;/code&gt;, &lt;code&gt;ps&lt;/code&gt;, &lt;code&gt;whoami&lt;/code&gt;, &lt;code&gt;status&lt;/code&gt;, &lt;code&gt;dial 404&lt;/code&gt;, and &lt;code&gt;knocks&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Type any freeform question to speak directly to the entity inhabiting the machine.&lt;/li&gt;
&lt;li&gt;Powered by Google's open-weight &lt;strong&gt;Gemma 2 (&lt;code&gt;gemma2-9b-it&lt;/code&gt;)&lt;/strong&gt; running on Groq, the ghost corrupts system outputs with glitched text, audio frequency shifts, and physical CRT flickers.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Real Shell CLI Mode (&lt;code&gt;npm run haunt&lt;/code&gt;)&lt;/strong&gt;:

&lt;ul&gt;
&lt;li&gt;Run the terminal directly inside your local macOS/Linux terminal (&lt;code&gt;zsh&lt;/code&gt;/&lt;code&gt;bash&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;Takes over your shell with retro ANSI borders, processes commands, and streams eerie Gemma 2 AI whispers into your prompt.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fa3sc1cfv0g8uqt6riiqw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fa3sc1cfv0g8uqt6riiqw.png" alt="Room 404 In-Game CRT Ghost Terminal and Surveillance" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;




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

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Sample Case Transcript&lt;/strong&gt;: &lt;a href="https://github.com/iadii/room-404/blob/main/docs/demo/sample-transcript.md" rel="noopener noreferrer"&gt;Read an exported case transcript&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Visual Tour&lt;/strong&gt;:

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://raw.githubusercontent.com/iadii/room-404/main/docs/demo/landing.png" rel="noopener noreferrer"&gt;The Landing Check-in Screen&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://raw.githubusercontent.com/iadii/room-404/main/docs/demo/game.png" rel="noopener noreferrer"&gt;The In-Game Haunting Interface&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Instructions for Judges to Test Locally&lt;/strong&gt;:

&lt;ol&gt;
&lt;li&gt;Clone the repository: &lt;code&gt;git clone https://github.com/iadii/room-404.git &amp;amp;&amp;amp; cd room-404&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;In &lt;code&gt;api/&lt;/code&gt;, copy &lt;code&gt;.env.example&lt;/code&gt; to &lt;code&gt;.env&lt;/code&gt; and set your &lt;code&gt;GROQ_API_KEY&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Run &lt;code&gt;npm install &amp;amp;&amp;amp; npm run dev&lt;/code&gt; in &lt;code&gt;api/&lt;/code&gt;, and &lt;code&gt;npm install &amp;amp;&amp;amp; npm run dev&lt;/code&gt; in &lt;code&gt;web/&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Open &lt;code&gt;http://127.0.0.1:3000&lt;/code&gt; to play the Web Terminal &amp;amp; CCTV Console.&lt;/li&gt;
&lt;li&gt;Or in &lt;code&gt;api/&lt;/code&gt;, run &lt;code&gt;npm run haunt&lt;/code&gt; to experience the possessed shell in your local terminal!&lt;/li&gt;
&lt;/ol&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/iadii/room-404" rel="noopener noreferrer"&gt;https://github.com/iadii/room-404&lt;/a&gt; (MIT Licensed)&lt;/li&gt;
&lt;/ul&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/iadii" rel="noopener noreferrer"&gt;
        iadii
      &lt;/a&gt; / &lt;a href="https://github.com/iadii/room-404" rel="noopener noreferrer"&gt;
        room-404
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Room 404: An interactive haunted terminal experience powered by Google Gemma 2 for Hacktoberfest 2026 Week 4
    &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;Room 404&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;The hotel has your name.&lt;/strong&gt; Room 404 is an interactive haunted terminal experience built for the &lt;a href="https://dev.to/challenges/hacktoberfest-week4-2026-10-26" rel="nofollow"&gt;Hacktoberfest 2026 Week 4 “Ghost in the Machine” challenge&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;On Halloween night, 2026, you enter an abandoned hotel whose obsolete management computer (BriarOS v4.04 on PDP-11) still holds the trace of a guest from October 31, 1978. Explore four rooms, inspect corrupted sector files, converse directly with the entity inhabiting the machine, and answer the knocks behind the screen. An open-weight &lt;strong&gt;Google Gemma 2 (&lt;code&gt;gemma2-9b-it&lt;/code&gt;)&lt;/strong&gt; model running on Groq narrates the ghost—crafting the prose, whisper, and typed visual manifestations (flicker, shadow, knock, mirror reversal, or signal static)—while deterministic domain rules govern the world invariants, clue discovery, and fear meter.&lt;/p&gt;
&lt;p&gt;&lt;a rel="noopener noreferrer" href="https://github.com/iadii/room-404/docs/demo/landing.png"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fraw.githubusercontent.com%2Fiadii%2Froom-404%2FHEAD%2Fdocs%2Fdemo%2Flanding.png" alt="Room 404 opening screen"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/iadii/room-404/docs/demo/game.png" rel="noopener noreferrer"&gt;See the game screen&lt;/a&gt; · &lt;a href="https://github.com/iadii/room-404/docs/demo/sample-transcript.md" rel="noopener noreferrer"&gt;Read a sample transcript&lt;/a&gt;&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;What Makes This a True "Ghost in the Machine"&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;The Hacktoberfest Week 4 challenge prompt calls for:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;“A haunted terminal that&lt;/em&gt;…&lt;/p&gt;
&lt;/blockquote&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/iadii/room-404" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;





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

&lt;p&gt;The backend is built as a clean TypeScript modular monolith with strict domain boundaries, separating &lt;strong&gt;deterministic system truth&lt;/strong&gt; from &lt;strong&gt;generative haunting&lt;/strong&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;pre data-lang="mermaid"&gt;&lt;code&gt;flowchart LR
  WEB[Next.js 16 Web UI\nGhost Terminal &amp;amp; CCTV Console] --&amp;gt; HTTP[Express 5 API Router]
  CLI[haunt-cli.ts\nReal Shell REPL] --&amp;gt; HTTP
  HTTP --&amp;gt; APP[HauntingService\nTurn &amp;amp; Command Processor]
  APP --&amp;gt; DOMAIN[Deterministic Domain Engine\nConstants, Rooms &amp;amp; File System]
  APP --&amp;gt; PORTS[Repository &amp;amp; Narrator Ports]
  PORTS -.-&amp;gt; FILE[FileVisitRepository\nPrivate Atomic JSON]
  PORTS -.-&amp;gt; MODEL[GroqSceneNarrator\nGoogle Gemma 2 9B Instruct]&lt;/code&gt;&lt;/pre&gt;



&lt;h3&gt;
  
  
  1. The Open-Source AI Stack
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Model&lt;/strong&gt;: Google's open-weight &lt;strong&gt;Gemma 2 (&lt;code&gt;gemma2-9b-it&lt;/code&gt;)&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Inference&lt;/strong&gt;: High-speed hosted open-weight inference on Groq, delivering sub-second token generation for real-time terminal responsiveness.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Structured Generation&lt;/strong&gt;: Configured with strict schema extraction so Gemma 2 outputs a typed JSON payload containing second-person narrative prose, whispers, physical screen effect enums (&lt;code&gt;flicker&lt;/code&gt;, &lt;code&gt;shadow&lt;/code&gt;, &lt;code&gt;knock&lt;/code&gt;, &lt;code&gt;mirror&lt;/code&gt;, &lt;code&gt;static&lt;/code&gt;), and cited evidence IDs.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  2. Why Deterministic Bounds Matter in Horror AI
&lt;/h3&gt;

&lt;p&gt;If an LLM can hallucinate whatever it wants, horror loses its stakes. If the AI can arbitrarily invent a fantasy room or pretend a clue was found, the puzzle dissolves.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Code owns the facts&lt;/strong&gt;: The four clues, room file system (&lt;code&gt;ROOM_FILES&lt;/code&gt;), and ending gates are authored domain invariants. The model receives &lt;em&gt;only&lt;/em&gt; clues the player has actually discovered.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Strict Output Validation&lt;/strong&gt;: The backend checks the model's output schema, evidence citations, and text lengths. If the model hallucinates an unvisited room or invents a fake clue, the turn fails atomically and the game state remains untainted.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Gemma 2 owns the voice&lt;/strong&gt;: Google's Gemma 2 interprets your commands, decides how the ghost perceives you, whispers back, and triggers physical terminal manifestations.&lt;/li&gt;
&lt;/ul&gt;




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

&lt;p&gt;The challenge prompt poses five critical questions on open innovation:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Where does your open-based approach work better than a closed one?
&lt;/h3&gt;

&lt;p&gt;Commercial closed-source APIs frequently over-censor psychological horror, spooky fiction, and eerie lore due to blunt commercial safety filters. Attempting to generate a scene where a ghost possesses a terminal or whispers about an unsolved disappearance from 1978 often triggers generic policy refusals or corporate safety disclaimers. &lt;/p&gt;

&lt;p&gt;Google's open-weight &lt;strong&gt;Gemma 2 (&lt;code&gt;gemma2-9b-it&lt;/code&gt;)&lt;/strong&gt; allows developers to build creative, narrative art with authentic tension, nuanced dread, and gothic atmosphere—all while enforcing clear boundaries through strict typed JSON schemas rather than blunt prompt refusals.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Does it keep someone's data off a server they don't control?
&lt;/h3&gt;

&lt;p&gt;Yes. Every session transcript, player alias, pulse rate, and clue progression is stored exclusively on the player's local machine in &lt;code&gt;api/data/&lt;/code&gt; as private JSON files with restricted file mode &lt;code&gt;0600&lt;/code&gt;. No player history, queries, or stories are saved to a third-party database, monetization engine, or cloud telemetry service.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Does it let you fine-tune, swap models, or change how your agent behaves?
&lt;/h3&gt;

&lt;p&gt;Because Room 404 is built on an explicit &lt;code&gt;SceneNarrator&lt;/code&gt; port and OpenAI-compatible completions, the application is completely decoupled from any single vendor. We can seamlessly swap between &lt;code&gt;gemma2-9b-it&lt;/code&gt;, &lt;code&gt;gemma2-27b-it&lt;/code&gt;, or future fine-tuned gothic horror community weights with a single environment variable change—without changing a single line of game logic.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Does it run on a laptop with no internet?
&lt;/h3&gt;

&lt;p&gt;While the default development configuration uses Groq for sub-second Gemma 2 inference, the architecture is designed so the same &lt;code&gt;SceneNarrator&lt;/code&gt; interface can target local runtimes (such as Ollama or llama.cpp). This means the ghost can literally run offline on a laptop with the lights and the internet turned off.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Does it cost nothing to run?
&lt;/h3&gt;

&lt;p&gt;Open weights democratize development costs. Running Gemma 2 locally costs $0.00 in API fees, and running it on Groq open-weights incurs near-zero cost. Players can explore dozens of rooms, ask scores of questions, and trigger endless terminal manifestations without accumulating an unpredictable cloud bill.&lt;/p&gt;




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

&lt;p&gt;Show your work: the interactive development of Room 404—from architecture design and domain refactoring to possessed terminal commands and Gemma 2 integration—was orchestrated through an AI agent pair-programming session.&lt;/p&gt;

&lt;p&gt;You can inspect the exported case transcript directly:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/iadii/room-404/blob/main/docs/demo/sample-transcript.md" rel="noopener noreferrer"&gt;Sample Room 404 Case Transcript&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  The Spirit of It
&lt;/h2&gt;

&lt;p&gt;During testing in the CLI terminal, I ran:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;NIGHT GUEST@BRIAR-PDP11:[/suite]$ dial 404
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A second later, the terminal output flickered, and Gemma 2 whispered back:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;“Turn, turn—your fear fuels my circuit. I am the lock you cannot escape.”&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The entire terminal interface flashed a critical static glitch: &lt;code&gt;##ERROR##: line 404 not found&lt;/code&gt;. &lt;/p&gt;

&lt;p&gt;In that moment, it wasn't just a chatbot output. The terminal felt genuinely possessed—a forgotten computer from 1978 talking back through modern silicon.&lt;/p&gt;




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

&lt;h3&gt;
  
  
  Best Use of Gemma ($200 Featured Category)
&lt;/h3&gt;

&lt;p&gt;Room 404 is natively built around Google's open-weight &lt;strong&gt;Gemma 2 (&lt;code&gt;gemma2-9b-it&lt;/code&gt;)&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;High-Speed Terminal Interactions&lt;/strong&gt;: Serving Gemma 2 on Groq delivers instant token generation, making the interactive PDP-11 terminal commands (&lt;code&gt;cat&lt;/code&gt;, &lt;code&gt;whoami&lt;/code&gt;, &lt;code&gt;dial 404&lt;/code&gt;, &lt;code&gt;ps&lt;/code&gt;) feel snappy and responsive like a real hardware terminal.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Strict JSON Extraction&lt;/strong&gt;: Gemma 2 reliably extracts typed payloads containing second-person narrative prose, whispers, physical screen effect enums (&lt;code&gt;flicker&lt;/code&gt;, &lt;code&gt;shadow&lt;/code&gt;, &lt;code&gt;knock&lt;/code&gt;, &lt;code&gt;mirror&lt;/code&gt;, &lt;code&gt;static&lt;/code&gt;), and cited evidence IDs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dual-Interface Voice&lt;/strong&gt;: Gemma 2 powers both the browser-based CRT Ghost Terminal and the standalone macOS shell CLI (&lt;code&gt;npm run haunt&lt;/code&gt;).&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
      <category>gemma</category>
      <category>opensource</category>
    </item>
    <item>
      <title>Stillroom: a document inbox that does the sorting and waits for you</title>
      <dc:creator>Aditya mishra</dc:creator>
      <pubDate>Thu, 22 Oct 2026 17:08:59 +0000</pubDate>
      <link>https://dev.to/iadii/stillroom-a-document-inbox-that-does-the-sorting-and-waits-for-you-128k</link>
      <guid>https://dev.to/iadii/stillroom-a-document-inbox-that-does-the-sorting-and-waits-for-you-128k</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week3-2026-10-19"&gt;Hacktoberfest Open-Source AI Challenge Week 3: Slow and Steady&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

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

&lt;p&gt;My downloads folder does not need another clever filename. It needs someone to read the file, decide what it is, and put it somewhere I can find it later. I kept putting off those little decisions, so I built &lt;strong&gt;Stillroom&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Stillroom is a local document inbox. I can drop in a PDF, TXT, Markdown, or CSV file. An open-weight model proposes a category, useful title, document date, summary, tags, and archive path. It must also copy a quote from the file to explain the choice. I see the original text next to the proposal, can correct it, and must approve the move. If I change my mind, Undo brings the original back.&lt;/p&gt;

&lt;p&gt;The deliberate pause is the point: the repetitive reading and naming is automated, while the consequential file move stays under my control. It also supports batch analysis and filing once proposals have been approved.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;&lt;a href="https://raw.githubusercontent.com/iadii/stillroom/main/docs/demo/stillroom-demo.webm" rel="noopener noreferrer"&gt;Watch or download the 25-second real browser walkthrough&lt;/a&gt;.&lt;/strong&gt; It shows upload, a live Groq classification, the source quote, a title correction, approval, archive, activity history, and Undo. The document is a fictional community garden note, and the recording ran against an isolated temporary database.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://raw.githubusercontent.com/iadii/stillroom/main/docs/demo/proposal.png" rel="noopener noreferrer"&gt;Full proposal screenshot&lt;/a&gt; · &lt;a href="https://raw.githubusercontent.com/iadii/stillroom/main/docs/demo/activity.png" rel="noopener noreferrer"&gt;Activity trail screenshot&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In the recorded run, the model put the note under &lt;strong&gt;Projects&lt;/strong&gt;, proposed &lt;strong&gt;Community Garden Fall Planting Prep&lt;/strong&gt;, and cited the exact line &lt;strong&gt;“This is an internal project note, not a receipt.”&lt;/strong&gt; It extracted the date from &lt;strong&gt;“October 22, 2026.”&lt;/strong&gt; I changed the title to &lt;strong&gt;Autumn garden workday&lt;/strong&gt;, approved it, filed it, and undid the move. The app recorded all six events. The proposal was genuine model output; no canned response was substituted.&lt;/p&gt;

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

&lt;p&gt;&lt;strong&gt;&lt;a href="https://github.com/iadii/stillroom" rel="noopener noreferrer"&gt;Stillroom source and setup instructions&lt;/a&gt;&lt;/strong&gt; · MIT licensed. The project was started during this challenge window, with the first local commit on October 22, 2026.&lt;/p&gt;

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

&lt;p&gt;Vue 3 provides the inbox, proposal review, archive search, bulk actions, and activity trail. FastAPI extracts text locally and sends up to 30,000 characters to Groq's hosted &lt;code&gt;openai/gpt-oss-120b&lt;/code&gt; model using strict JSON schema output. Python checks that the model's evidence quote appears in the extracted text. A proposed date is dropped unless its source phrase is present and parses to the same calendar date.&lt;/p&gt;

&lt;p&gt;SQLite holds metadata and the event log; originals are staged locally. The model never chooses a filesystem path directly. The server builds one from a fixed category and sanitized title. Identical uploads are rejected by SHA-256, collisions receive numbered names, and the archive move requires explicit human approval. Editing clears an earlier approval; Undo restores the file to the inbox and clears approval again.&lt;/p&gt;

&lt;p&gt;That separation helped me test the awkward cases: a model with no valid quote, an ambiguous date, a duplicate upload, two files with the same proposed name, an attempted move before approval, and a reversed move. The backend has automated workflow tests, and GitHub Actions is configured to run those plus frontend formatting and production build checks.&lt;/p&gt;

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

&lt;p&gt;The model is &lt;a href="https://openai.com/index/introducing-gpt-oss/" rel="noopener noreferrer"&gt;GPT-OSS 120B, an open-weight model&lt;/a&gt;. The weights can be inspected and run through other infrastructure; I chose Groq for hosted inference during this build. That gives the document workflow an exit path from this particular provider. The semantic step—deciding whether a note is a receipt, project, or reading material—is where the model matters. Rules alone would push the sorting work back onto the user.&lt;/p&gt;

&lt;p&gt;This version &lt;strong&gt;is not offline&lt;/strong&gt;. Pressing Analyze sends extracted text to Groq. The originals, SQLite database, and archive remain local. A local inference adapter could later remove that network transfer, but I do not claim it exists today. Open weights matter here because model hosting is a choice, while evidence checks and human approval stay part of the application regardless of host.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Lazy Payoff
&lt;/h2&gt;

&lt;p&gt;Stillroom turns several blank decisions into one reviewable proposal: what the file is, what to call it, which date matters, what tags fit, and where it should live. I have not measured a manual-versus-Stillroom time saving, so I won't invent one. The recorded workflow demonstrates the narrower claim: one real document goes from an unnamed pile to a verifiable, reversible archive decision without manual filename or folder construction.&lt;/p&gt;

&lt;p&gt;There are limits. Scanned PDFs need OCR first, text analysis is capped, and this local single-user build should not be exposed as a public service without authentication. I would rather show those edges than imply the model is always right.&lt;/p&gt;

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