DEV Community

Ahan Ghosh
Ahan Ghosh

Posted on

🦥 SlothSort: Channeling Our Inner Sloth with 100% Offline Open-Source AI

Hacktoberfest Open-Source AI Challenge Week 3: Slow and Steady Submission 🦥

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 3: Slow and Steady.

What I Built

Sloths have mastered something we developers often forget: you don't have to do everything yourself.

While we spend hours cleaning up our Downloads folders, renaming confusing files, and listening to long voice memos, our digital clutter keeps growing.

And let's be honest, nobody wants to spend their free time organizing files.

That's why I built SlothSort — an autonomous desktop and voice memo organizer powered by open-source AI models that can run locally on your computer.

The idea is simple: let the AI handle the boring digital housekeeping while you focus on things that actually matter.

🦥 How SlothSort Works

  1. Drop Your Files: Put your messy documents, receipts, code snippets, and voice recordings into a folder. You can also try the built-in Lazy Sandbox in the web demo.

  2. Hibernate & Sort: Hit the Hibernate & Sort (Lazy Mode) button and let SlothSort do the work. Its AI-powered workflow categorizes files, generates cleaner filenames, analyzes documents, and transcribes audio recordings.

  3. Wake Up to an Organized Folder: Your files are sorted into relevant categories, filenames are cleaned up using snake_case, and you receive a Morning Digest summarizing the work.

  4. Undo Without the Stress: Made a mistake or changed your mind? Use the rollback feature to restore files to their original locations.

What Makes It Different?

  • Local AI: Uses open-weight models, including SmolLM2 and Whisper, for document processing and speech transcription.
  • Privacy First: The local desktop workflow is designed to process files without uploading their contents to a cloud AI service.
  • No Paid AI API Required: No recurring cloud inference charges or API keys are needed for the local AI workflow.
  • Voice Memo Transcription: Turn recordings into readable text files.
  • Morning Digest: Get a summary of what was organized, with an audio briefing option.
  • One-Click Rollback: Keep control over your files even when automation makes a decision you want to reverse.

The goal is to make file management something you barely have to think about.

Demo

🌐 Live Demo: https://slothsort.vercel.app/

Try the interactive showcase to explore the file organizer, Morning Digest, voice memo transcription, and rollback history.

💻 Local Desktop Mode: Run the AI workflow on your own computer, using a compatible NVIDIA GPU with CUDA acceleration or a CPU.

The live website is an interactive showcase; the local desktop application is where the offline AI processing happens.

Code

💻 GitHub Repository: https://github.com/Krishna5567/SlothSort

Explore the source code, implementation, and project architecture.

The project brings together local AI models, a Python backend, speech transcription, and a simple interface to make digital organization less tedious.

How I Built It

SlothSort combines lightweight open-weight AI models with a local-first application architecture.

The AI Stack

  • OpenAI Whisper: Used for automatic speech recognition, turning voice recordings into text without requiring a remote transcription API.
  • Hugging Face SmolLM2-360M-Instruct: A lightweight open-weight language model used for document categorization, filename suggestions, and Morning Digest generation.
  • pyttsx3: Supports offline text-to-speech generation for the desktop audio briefing.
  • Web Speech API: Provides browser-based speech synthesis in the web experience.

The Application Stack

  • Python: Core desktop automation and local AI workflows.
  • FastAPI and Uvicorn: Backend API and request handling.
  • PyTorch and CUDA: Support GPU-accelerated inference on compatible NVIDIA hardware.
  • Vercel: Hosts the interactive web showcase.

The application is designed to keep the local AI processing separate from the hosted demonstration. The website lets people explore the concept, while the desktop workflow is intended to handle their actual files locally.

Why Does Open Innovation Matter?

For a project like SlothSort, open innovation isn't just about using free software. It's about giving people more control over their data, tools, and computing resources.

🔒 1. Privacy Shouldn't Be a Premium Feature

A folder can contain bank receipts, personal notes, private recordings, and work documents. Uploading all of that to an external AI service just to organize it isn't always a good trade-off.

Running the AI locally means the desktop workflow can process sensitive files on the user's own machine instead of sending their contents to a remote AI provider.

🌐 2. Useful AI Shouldn't Depend on a Perfect Internet Connection

Cloud AI services depend on network access and external infrastructure. A local workflow can continue processing files without an internet connection once the necessary models and dependencies are installed.

That makes SlothSort useful even when the Wi-Fi isn't cooperating.

💸 3. No Per-Request AI Bill

Open-weight models let users run inference on their own hardware without paying a third-party AI provider for every request.

There are still hardware, electricity, storage, and setup costs, but the local AI workflow doesn't require a recurring cloud inference subscription.

🛠️ 4. Freedom to Experiment and Improve

Open models make it possible to inspect the available implementations, adapt prompts, experiment with alternative models, and improve the workflow without depending entirely on one closed AI provider.

That flexibility matters for developers who want to learn, contribute, and build on top of existing work.

Open innovation makes AI more accessible while giving developers and users greater control over how it works.

My Agent Session

SlothSort was developed through AI-assisted coding and an iterative build-and-test workflow.

The repository contains the project source and implementation:

The local workflow was tested on an NVIDIA GeForce RTX 3050 Laptop GPU with CUDA acceleration, with CPU execution also supported.

Note: I haven't included a DevRelay session recording because a shareable session link wasn't provided. Add one here if you have it.

The Lazy Payoff

The best automation is the kind that gives you your time back.

During testing, I used SlothSort on a cluttered directory containing messy filenames, documents, scripts, and voice recordings.

Instead of manually opening files, renaming them, moving them into folders, and listening through recordings, I could let the automated workflow handle those repetitive tasks.

The estimated payoff from that test was:

  • 35–45 minutes: Estimated manual sorting and review effort avoided.
  • One click: Start the sorting workflow.
  • Readable transcripts: Get text versions of voice recordings.
  • One-click rollback: Restore files when needed.

These are estimates from my testing scenario, not a guarantee for every folder or computer. Actual processing time depends on the number and types of files and the available hardware.

The bigger win isn't just the time saved. It's removing one more boring task from the list of things you keep postponing.

Less digital clutter. Less repetitive work. More time to do absolutely anything else.

That's the SlothSort philosophy. 🦥

Prize Categories

  • Primary Challenge: Hacktoberfest Open-Source AI Challenge Week 3 — Slow and Steady.
  • Project Focus: Open-source AI, local inference, desktop automation, and voice memo organization.
  • Challenge Themes: Rewarding laziness, reducing repetitive work, protecting personal data through local processing, and making AI useful without mandatory cloud inference costs.

SlothSort is my attempt to prove that sometimes the smartest thing you can do is let your computer do the boring work while you take it slow.

Stay lazy. Stay organized. Let the sloth handle it. 🦥

Top comments (0)