<?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: Sanskar Sanskar</title>
    <description>The latest articles on DEV Community by Sanskar Sanskar (@sanskar2407).</description>
    <link>https://dev.to/sanskar2407</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%2F4155428%2F81e3fb52-4bff-4217-84d6-eca809fec377.png</url>
      <title>DEV Community: Sanskar Sanskar</title>
      <link>https://dev.to/sanskar2407</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sanskar2407"/>
    <language>en</language>
    <item>
      <title>build for week 4</title>
      <dc:creator>Sanskar Sanskar</dc:creator>
      <pubDate>Sat, 31 Oct 2026 23:03:47 +0000</pubDate>
      <link>https://dev.to/sanskar2407/build-for-week-4-1dih</link>
      <guid>https://dev.to/sanskar2407/build-for-week-4-1dih</guid>
      <description>&lt;p&gt;This is a submission for the Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine.&lt;/p&gt;

&lt;p&gt;Afterlight: An Archive of Ordinary Things&lt;/p&gt;

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

&lt;p&gt;A chipped cup can hold a whole Sunday. Afterlight is a private archive for everyday objects that bring someone to mind. You describe an object and write what you remember. A local AI model drafts a museum-style label, a reflective line, and a question that might help you recall more. Your original words remain visible, and you can edit the draft, export your archive, or delete a record.&lt;/p&gt;

&lt;p&gt;I interpreted “Ghost in the Machine” as a question about what technology should not do with memory. Afterlight doesn’t simulate someone who has died or put words in their mouth. In the spirit of Día de los Muertos, it helps the living preserve their own stories.&lt;/p&gt;

&lt;p&gt;Demo&lt;/p&gt;

&lt;p&gt;Afterlight is local rather than publicly deployed. To try it, install Ollama and Python, run ollama pull qwen3:1.7b, then run python server.py from the repository and open &lt;a href="http://127.0.0.1:8765" rel="noopener noreferrer"&gt;http://127.0.0.1:8765&lt;/a&gt;. The model needs to be downloaded once; after that, the app is designed to work without internet.&lt;/p&gt;

&lt;p&gt;Code&lt;/p&gt;

&lt;p&gt;Afterlight on GitHub&lt;br&gt;
&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/cheeseculprit" rel="noopener noreferrer"&gt;
        cheeseculprit
      &lt;/a&gt; / &lt;a href="https://github.com/cheeseculprit/afterlight-" rel="noopener noreferrer"&gt;
        afterlight-
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      
    &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;Afterlight&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;A private, local memory archive for ordinary objects and the people associated with them. It invites remembrance in the spirit of Día de los Muertos without impersonating the dead. A local open-weight model turns your own words into a short archive label, a reflective line, and a question. You can edit the model's wording, see your original text, export the archive, or delete a record.&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Run&lt;/h2&gt;
&lt;/div&gt;

&lt;ol&gt;
&lt;li&gt;Install Ollama and Python 3.10+.&lt;/li&gt;
&lt;li&gt;Download the model once while online: &lt;code&gt;ollama pull qwen3:1.7b&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Start Ollama if it is not already running: &lt;code&gt;ollama serve&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;From this directory: &lt;code&gt;python server.py&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Open &lt;code&gt;http://127.0.0.1:8765&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;On this Windows machine Ollama 0.40.13 and &lt;code&gt;qwen3:1.7b&lt;/code&gt; are already installed. If a fresh shell cannot find &lt;code&gt;ollama&lt;/code&gt;, use &lt;code&gt;C:\Users\saans\AppData\Local\Programs\Ollama\ollama.exe&lt;/code&gt; (the installer location on this machine). The local server was tested with a real model response. No Python packages or frontend dependencies are required.&lt;/p&gt;

&lt;p&gt;After installation and…&lt;/p&gt;&lt;/div&gt;


&lt;/div&gt;
&lt;br&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/cheeseculprit/afterlight-" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;br&gt;
&lt;br&gt;&lt;br&gt;
The app uses a Python standard-library server and a dependency-free HTML/CSS/JavaScript interface. The repository excludes the local data/ directory so memories aren’t committed with the code.

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

&lt;p&gt;Ollama runs the open-weight Qwen3 1.7B model on the laptop. The server sends your object and memory to its local chat endpoint and requests a structured response for the three parts of an archive card. The original text and editable draft are saved in a local JSON file. No hosted AI API is involved.&lt;/p&gt;

&lt;p&gt;I tested generation with a sample teacup memory, then verified the browser display, editing, deletion, and mobile layout. I removed the sample record afterward.&lt;/p&gt;

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

&lt;p&gt;A cloud API could write a label, but it would require sending an intimate memory to a service I don’t control. Local inference keeps that text on the user’s computer, avoids per-request API charges, and lets me inspect the prompt or swap in another compatible model.&lt;/p&gt;

&lt;p&gt;That control mattered in testing: the model embellished the teacup story with a detail the writer hadn’t supplied. I tightened the prompt and made its wording editable, but AI prose remains a fallible suggestion—not historical evidence. The person’s original words are the source of truth. The local archive is not encrypted, so it should not be mistaken for a secure vault.&lt;/p&gt;

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

&lt;p&gt;The defining moment wasn’t a ghostly response. It was seeing how easily a plausible AI sentence could change a memory. Afterlight keeps the original beside the draft so the machine can help with expression without becoming the keeper of the story.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
    </item>
    <item>
      <title>Build slothsort for week 3</title>
      <dc:creator>Sanskar Sanskar</dc:creator>
      <pubDate>Sun, 25 Oct 2026 20:23:15 +0000</pubDate>
      <link>https://dev.to/sanskar2407/build-slothsort-for-week-3-1f7b</link>
      <guid>https://dev.to/sanskar2407/build-slothsort-for-week-3-1f7b</guid>
      <description>&lt;p&gt;What I Built&lt;/p&gt;

&lt;p&gt;I built SlothSort, a place to unload the little things taking up space in your head. Paste a messy list—errands, follow-ups, things you’re waiting on, and ideas for later—and it sorts each line into Do it, Hand it off, Wait for it, or Someday. You can correct its guesses before saving them to a board. It saves the effort of organizing a to-do list before you can even start one.&lt;/p&gt;

&lt;p&gt;Code&lt;br&gt;
&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/cheeseculprit" rel="noopener noreferrer"&gt;
        cheeseculprit
      &lt;/a&gt; / &lt;a href="https://github.com/cheeseculprit/slothsort" rel="noopener noreferrer"&gt;
        slothsort
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      
    &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;SlothSort 🦥&lt;/h1&gt;
&lt;/div&gt;
&lt;p&gt;A gentle, local-first brain-dump sorter. Paste one thought per line; a small open-weight embedding model sorts them into &lt;strong&gt;Do it&lt;/strong&gt;, &lt;strong&gt;Hand it off&lt;/strong&gt;, &lt;strong&gt;Wait for it&lt;/strong&gt;, and &lt;strong&gt;Someday&lt;/strong&gt;. Adjust its guesses, save to a board, mark things done, or let them go.&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Stack&lt;/h2&gt;
&lt;/div&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;MongoDB&lt;/strong&gt; — your saved notes. The default development mode starts a real, embedded MongoDB binary with files under &lt;code&gt;.local-mongo/&lt;/code&gt;; set &lt;code&gt;MONGODB_URI&lt;/code&gt; to use an existing MongoDB server instead.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Express / Node.js&lt;/strong&gt; — local API and model inference.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;React / Vite&lt;/strong&gt; — responsive UI.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Open AI&lt;/strong&gt; — &lt;a href="https://huggingface.co/Xenova/all-MiniLM-L6-v2" rel="nofollow noopener noreferrer"&gt;Xenova/all-MiniLM-L6-v2&lt;/a&gt;, an Apache-2.0 open-weight ONNX model run locally through &lt;a href="https://huggingface.co/docs/transformers.js" rel="nofollow noopener noreferrer"&gt;Transformers.js&lt;/a&gt;. No hosted AI API. Classification compares text embeddings to descriptions of the four buckets, then lets you correct the result before saving.&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Run&lt;/h2&gt;
&lt;/div&gt;

&lt;p&gt;Requirements: Node.js 20+, npm, Windows/macOS/Linux. The first run needs internet to download the model and (in embedded MongoDB mode)…&lt;/p&gt;&lt;/div&gt;


&lt;/div&gt;
&lt;br&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/cheeseculprit/slothsort" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;br&gt;
&lt;br&gt;&lt;br&gt;
This is the code base ive build this in for around 2 to 3 days 

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

&lt;p&gt;SlothSort uses the MERN stack: MongoDB stores the notes, Express and Node.js provide the API, and React powers the interface. Its sorting depends on Xenova/all-MiniLM-L6-v2, an open-weight sentence-embedding model run locally in Node.js with Transformers.js. Rather than looking for a few keywords, the app compares the meaning of each note with descriptions of the four categories. The person using it gets the final say before anything is saved.&lt;/p&gt;

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

&lt;p&gt;My brain dump can contain personal reminders, names, and unfinished thoughts. Running an open-weight model locally means sorting them doesn’t require sending them to a hosted AI API or paying per request. After the initial model download, inference also works without an internet connection. For this small, private task, a closed API would add a network dependency and a data-sharing decision without making the core experience more useful.&lt;/p&gt;

&lt;p&gt;I left out the optional agent-session, time-saved, and prize-category sections because I don’t have verified links, measurements, or category details for them.&lt;/p&gt;

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