<?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%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F99mvlsfu5tfj9m7ku25d.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 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>
