<?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: sohini biswas</title>
    <description>The latest articles on DEV Community by sohini biswas (@sohini_biswas_8b91160e1dc).</description>
    <link>https://dev.to/sohini_biswas_8b91160e1dc</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%2F4159805%2Feea5a1bd-dcaf-482c-a008-d974bac4fddd.png</url>
      <title>DEV Community: sohini biswas</title>
      <link>https://dev.to/sohini_biswas_8b91160e1dc</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sohini_biswas_8b91160e1dc"/>
    <language>en</language>
    <item>
      <title>SlothSort: the file tidier that does the work so I don't have to</title>
      <dc:creator>sohini biswas</dc:creator>
      <pubDate>Sun, 25 Oct 2026 17:14:46 +0000</pubDate>
      <link>https://dev.to/sohini_biswas_8b91160e1dc/slothsort-the-file-tidier-that-does-the-work-so-i-dont-have-to-5bkn</link>
      <guid>https://dev.to/sohini_biswas_8b91160e1dc/slothsort-the-file-tidier-that-does-the-work-so-i-dont-have-to-5bkn</guid>
      <description>&lt;p&gt;This is a submission for the Hacktoberfest Open-Source AI Challenge Week 3: Slow and Steady&lt;/p&gt;

&lt;p&gt;Github repo: &lt;a href="https://github.com/Nullhermit/Hacktoberfest26/tree/Week2" rel="noopener noreferrer"&gt;https://github.com/Nullhermit/Hacktoberfest26/tree/Week2&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;code: &lt;a href="https://github.com/Nullhermit/Hacktoberfest26/blob/main/index.html" rel="noopener noreferrer"&gt;https://github.com/Nullhermit/Hacktoberfest26/blob/main/index.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Demo:&lt;a href="https://www.youtube.com/watch?v=jjmGQzdt2Jw" rel="noopener noreferrer"&gt;https://www.youtube.com/watch?v=jjmGQzdt2Jw&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;My Downloads folder is a crime scene: invoice_final_FINAL(2).pdf, Document (7).docx, untitled.json, forty screenshots, and an installer I ran once in August. I've promised myself a cleanup every month for a year, and it never happens, because sorting files is boring and renaming them is worse.&lt;/p&gt;

&lt;p&gt;SlothSort is the lazy fix. It looks at a messy pile of files, works out what each one actually is, sorts it into a category folder and gives it a readable name. All I do is look at the plan and say yes.&lt;/p&gt;

&lt;p&gt;It comes in two flavours that share the same idea:&lt;/p&gt;

&lt;p&gt;A command-line tool (Python, no dependencies) for tidying a real folder in one command.&lt;br&gt;
A single-page web app where you drop files onto the page, edit the plan, and copy the files into a tidy folder or download a script that moves them.&lt;/p&gt;

&lt;p&gt;Anyone with a cluttered Downloads or Desktop folder gets to be a little lazier, especially students juggling assignments, notes, datasets and screenshots.&lt;/p&gt;

&lt;p&gt;How I Built It&lt;br&gt;
Model: Gemma (gemma3:4b by default) running locally through Ollama, called over its HTTP API. Swap models with --model in the CLI or the model box in the web app.&lt;br&gt;
CLI: pure Python standard library. Optional pypdf lets it peek at the first page of PDFs.&lt;br&gt;
Web app: one static index.html with no framework and no build step. The browser reads each file's name, size, date and a short text peek, and sends only that to Ollama on your own machine. There's no backend, so no server ever sees your files.&lt;br&gt;
Flow: for each file, Gemma receives that small bundle of evidence and replies with JSON containing a category and a clear new name. SlothSort turns the replies into a plan, and nothing moves until you approve it.&lt;/p&gt;

&lt;p&gt;A 4B model will sometimes get things wrong, and I'm letting it near my files, so most of the engineering went into making mistakes cheap:&lt;/p&gt;

&lt;p&gt;Dry run by default. Nothing moves until you say so (--apply in the CLI, an explicit button in the web app).&lt;br&gt;
No deletes, no overwrites. Name collisions get -2, -3, and so on. The web app's "copy" mode never touches the originals.&lt;br&gt;
Model output is treated as untrusted. Categories must come from a fixed list and names are slugified, so a reply like "../../etc/evil" can't escape the folder.&lt;br&gt;
A fallback exists. If Gemma returns broken JSON or Ollama isn't running, files are sorted by extension and marked [rules] in the plan.&lt;br&gt;
Everything is undoable. The CLI writes an undo log for --undo, and the web app can generate an undo.sh.&lt;br&gt;
You can edit the plan. In the web app, every folder and file name in the plan is editable before anything happens.&lt;/p&gt;

&lt;p&gt;I tested the CLI against a tiny fake Ollama server (no GPU needed), covering dry run, apply, undo, collisions, garbage output, a hostile reply, and Ollama being offline. I also tested the web app's planning logic the same way.&lt;/p&gt;

&lt;p&gt;Limits: it only handles loose files, not nested folders; it can only judge what it can see, so a PDF with no extractable text is sorted on name and date alone; and a 4B model sometimes picks a bland name, which is what the review step is for. A web page can only reach local Ollama if you allow it with OLLAMA_ORIGINS, which is a one-time setup step. I haven't benchmarked accuracy on a large set.&lt;/p&gt;

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

&lt;p&gt;A Downloads folder holds bank statements, assignments, ID scans and half-finished work. Sending all of that to a closed API just to learn that Document (7) is a meeting note is a bad trade.&lt;/p&gt;

&lt;p&gt;Private by design. Gemma runs on my laptop. File names and text peeks never leave the machine.&lt;br&gt;
Works offline. No internet needed once the model is pulled.&lt;br&gt;
Costs nothing per run. I can point it at thousands of files without watching a bill or running out of credits.&lt;br&gt;
Swappable. Changing the model is one flag or one text box: bigger for better names, smaller for faster runs on a weak laptop.&lt;/p&gt;

&lt;p&gt;Prize Categories&lt;/p&gt;

&lt;p&gt;Best Use of Gemma: Gemma is the core of the project, run locally through Ollama.&lt;br&gt;
just download it and give it a try!&lt;/p&gt;

</description>
      <category>hf26challenge</category>
      <category>devchallenge</category>
      <category>webdev</category>
      <category>programming</category>
    </item>
    <item>
      <title>Khata: A Privacy-First AI Receipt Sorter for Freelancers</title>
      <dc:creator>sohini biswas</dc:creator>
      <pubDate>Sun, 18 Oct 2026 13:20:55 +0000</pubDate>
      <link>https://dev.to/sohini_biswas_8b91160e1dc/khata-a-privacy-first-ai-receipt-sorter-for-freelancers-1k45</link>
      <guid>https://dev.to/sohini_biswas_8b91160e1dc/khata-a-privacy-first-ai-receipt-sorter-for-freelancers-1k45</guid>
      <description>&lt;p&gt;This is a submission for the Hacktoberfest Open-Source AI Challenge Week 2: Side Hustle&lt;/p&gt;

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

&lt;p&gt;Managing expenses is one of those tedious tasks that freelancers and small-business owners can never quite escape. Receipts pile up, GST figures need checking, and organizing everything into a spreadsheet takes time that could be spent on actual work.&lt;/p&gt;

&lt;p&gt;I built Khata, a browser-based receipt sorter that aims to make that process easier using open-weight AI.&lt;/p&gt;

&lt;p&gt;Here's what it does-&lt;/p&gt;

&lt;p&gt;Import receipts: Paste receipt text or add receipt photos.&lt;/p&gt;

&lt;p&gt;Extract and categorize: Turn receipt information into structured expense records, with details such as vendor, date, amount, currency, GST, and expense category.&lt;/p&gt;

&lt;p&gt;Check the numbers: Validate extracted amounts and totals against the available receipt information.&lt;/p&gt;

&lt;p&gt;Review and correct: Inspect entries that need attention and edit the results.&lt;/p&gt;

&lt;p&gt;Export a spreadsheet: Download categorized expenses as CSV or copy them as TSV.&lt;/p&gt;

&lt;p&gt;The project is designed around an important principle: your financial documents shouldn't have to leave your device just to be organized.&lt;/p&gt;

&lt;p&gt;Khata integrates an open-weight Gemma model intended to run directly in the browser. It also includes a basic rules-based mode, so the application can remain useful even when AI inference isn't available.&lt;/p&gt;

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

&lt;p&gt;Freelancers, independent contractors, consultants, and small-business owners who want a simpler way to organize receipts without adopting an entire accounting platform.&lt;/p&gt;

&lt;p&gt;Khata could serve as a lightweight free tool today and a foundation for a more complete expense-management product in the future.&lt;/p&gt;

&lt;p&gt;Demo Video: &lt;a href="https://www.youtube.com/watch?v=1P_8kuupbH4" rel="noopener noreferrer"&gt;https://www.youtube.com/watch?v=1P_8kuupbH4&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Try the deployed application: &lt;a href="https://khata-beige.vercel.app/index.html" rel="noopener noreferrer"&gt;https://khata-beige.vercel.app/index.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I'll provide a video walkthrough demonstrating the receipt-processing workflow, the categorized results, and the export functionality.&lt;/p&gt;

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

&lt;p&gt;GitHub repository: &lt;a href="https://github.com/Nullhermit/khata" rel="noopener noreferrer"&gt;https://github.com/Nullhermit/khata&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The project includes the main application, documentation, and tests for the receipt-processing logic.&lt;/p&gt;

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

&lt;p&gt;I wanted to explore whether a useful AI-powered financial tool could run directly in the user's browser instead of relying on a remote AI API.&lt;/p&gt;

&lt;p&gt;Khata brings together client-side receipt processing, structured expense extraction, validation logic, and spreadsheet exports.&lt;/p&gt;

&lt;p&gt;The key components are:&lt;/p&gt;

&lt;p&gt;Gemma: An open-weight language model integrated into the browser-based AI workflow.&lt;/p&gt;

&lt;p&gt;Browser-side inference: The application is designed to load and run the model locally on compatible hardware.&lt;/p&gt;

&lt;p&gt;Receipt-processing logic: Converts receipt information into structured expense records.&lt;/p&gt;

&lt;p&gt;Validation and error checking: Checks extracted figures and totals so users can review questionable results.&lt;/p&gt;

&lt;p&gt;CSV and TSV export: Makes the resulting data usable in existing spreadsheet workflows.&lt;/p&gt;

&lt;p&gt;The intended workflow is straightforward:&lt;/p&gt;

&lt;p&gt;Add a receipt by pasting its text or selecting a receipt photo.&lt;/p&gt;

&lt;p&gt;Process the available receipt information.&lt;/p&gt;

&lt;p&gt;Generate categorized expense records.&lt;/p&gt;

&lt;p&gt;Check the extracted values and resolve anything flagged for review.&lt;/p&gt;

&lt;p&gt;Export the results into a spreadsheet.&lt;/p&gt;

&lt;p&gt;I also tested the non-model receipt-processing, number-checking, and CSV logic against five sample receipts. Those tests passed, and I fixed a bug during development.&lt;/p&gt;

&lt;p&gt;One limitation remains: I couldn't run the AI model successfully in my development workspace because the full inference path requires a compatible browser and GPU support. The browser-side model-loading step still needs an end-to-end test on a suitable desktop machine.&lt;/p&gt;

&lt;p&gt;That's why the application includes a basic fallback mode. If the model cannot be loaded, there's still a way to demonstrate the core receipt-processing workflow.&lt;/p&gt;

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

&lt;p&gt;Expense records can contain sensitive information about someone's business, purchases, and financial life. Sending every receipt to a third-party AI service introduces an additional dependency and a potential privacy concern.&lt;/p&gt;

&lt;p&gt;Open-weight models make another approach possible.&lt;/p&gt;

&lt;p&gt;With Khata, I'm exploring an architecture in which the model runs locally in the browser, allowing receipt data to be processed without sending it to a remote inference service.&lt;/p&gt;

&lt;p&gt;This matters for three reasons.&lt;/p&gt;

&lt;p&gt;Privacy: Local inference can reduce the need to share financial documents with external AI providers.&lt;/p&gt;

&lt;p&gt;Cost: Once the model is downloaded, local inference doesn't require a per-request AI API bill. Users still need compatible hardware, storage, and bandwidth to download the model.&lt;/p&gt;

&lt;p&gt;Control: Open-weight models and accessible tooling give developers more flexibility to experiment with AI-powered applications instead of designing everything around a proprietary inference API.&lt;/p&gt;

&lt;p&gt;Open innovation makes it possible to explore these trade-offs directly. Rather than treating AI as something that must always live in the cloud, Khata experiments with bringing it closer to the person using the application.&lt;/p&gt;

&lt;p&gt;The project is a small step toward making practical AI tools more accessible, private, and independent of paid inference services.&lt;/p&gt;

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

&lt;p&gt;I'll add my DevRelay agent session here if I have one available to share.&lt;/p&gt;

&lt;p&gt;Prize Categories&lt;/p&gt;

&lt;p&gt;Best Use of Gemma.&lt;/p&gt;

&lt;p&gt;What's Next?&lt;/p&gt;

&lt;p&gt;The next priority is verifying the complete AI workflow in a compatible desktop browser, including model loading and receipt processing.&lt;/p&gt;

&lt;p&gt;After that, I'd like to expand the test coverage, improve extraction accuracy across different receipt layouts, and explore how Khata could become more useful for freelancers who handle receipts regularly.&lt;/p&gt;

&lt;p&gt;Building Khata has been an opportunity to experiment with open-weight AI on a practical problem rather than simply wrapping a remote API.&lt;/p&gt;

&lt;p&gt;I'd love to hear what you'd change, what features you'd find useful, and whether you'd use a tool like this to manage your own expenses.&lt;/p&gt;

&lt;h1&gt;
  
  
  hacktoberfest #opensource #ai #gemma #webdev #hf26challenge #devchallenge
&lt;/h1&gt;

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