DEV Community

Manya Parikh
Manya Parikh

Posted on Fully Autonomous

ClutterMind AI

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

ClutterMind AI: I Built an AI That Turns Messy Folders Into Organized Knowledge

devchallenge

hf26challenge

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

Organize it. Understand it. Find it.

I have a problem that I suspect many students, developers, and professionals share.

I download a PDF for a project. I save some notes for an exam. I collect documentation, screenshots, reports, and code files for future use.

I tell myself that I will organize everything later.

Then I download more files. My Downloads folder grows, filenames become confusing, and finding one particular document starts taking longer than it should.

The problem isn't that I don't have enough storage.

It's that storing information is easy, but keeping it organized takes continuous effort.

For this week's Slow and Steady challenge, I wanted to explore how open-source AI could handle some of this repetitive work automatically.

That's the idea behind ClutterMind AI.

Less clutter. Smarter organization. More focus.

What I Built

ClutterMind AI is an open-source, AI-powered file organization assistant designed to help users organize documents, identify duplicates, and find files without manually sorting through hundreds of items.

Instead of opening files one by one, renaming them manually, and creating folders from scratch, users can let ClutterMind AI analyze supported files and recommend an organized structure.

The goal is simple: let AI handle the repetitive organization work while keeping users in control of their files.

Here's the experience

1. Scan a folder

Users select a folder they want to organize, such as Downloads, Documents, or a project directory.

ClutterMind AI scans supported file types and collects basic information, including filenames, extensions, sizes, and modification dates.

The application can extract readable text from supported documents to understand their contents.

2. Let AI understand the files

An open-weight AI model analyzes available file information and extracted text to identify the likely purpose of each document.

For example, a collection of files might contain:

  • Python programming notes
  • Project documentation
  • College assignments
  • Research papers
  • Invoices and receipts
  • Images and screenshots

Instead of relying entirely on filenames, ClutterMind AI can use document content to suggest more meaningful categories.

3. Generate an organization plan

ClutterMind AI proposes suitable filenames and folder structures based on the detected categories.

For example:

Before:

Downloads/
├── document_final.pdf
├── notes_new.txt
├── report_123.pdf
├── scan001.pdf
└── python_stuff.pdf
Enter fullscreen mode Exit fullscreen mode

Proposed organization:

Organized/
├── Study/
│   └── python-programming-notes.pdf
├── Reports/
│   └── project-report.pdf
├── Documents/
│   └── scanned-document.pdf
└── Review/
    └── document-final.pdf
Enter fullscreen mode Exit fullscreen mode

These filenames and categories are illustrative examples. The application should preserve the original files until the user approves the proposed changes.

4. Detect duplicate files

Duplicate files can waste storage and make folders harder to manage.

ClutterMind AI can use file hashes to identify exact duplicates and optionally use similarity techniques to flag potentially similar documents.

The application presents the results for review rather than deleting files automatically.

5. Review before applying changes

Automation should save time without taking control away from the user.

Before making changes, ClutterMind AI presents a preview of proposed filenames, destination folders, and duplicate candidates.

Users can approve, reject, or modify individual suggestions before the organization plan is applied.

6. Find files using natural language

A future extension could allow users to search their files with everyday questions, such as:

  • Where is my Python project documentation?
  • Find the PDF containing database normalization notes.
  • Show me reports related to my final-year project.
  • Find documents about machine learning.

Instead of remembering the exact filename, users could describe what they are looking for.

Who Is It For?

ClutterMind AI is intended for:

  • Students managing assignments, notes, and study materials.
  • Developers organizing project documentation and downloaded resources.
  • Researchers managing papers, reports, and reference documents.
  • Professionals dealing with large collections of office files.
  • Anyone who repeatedly postpones organizing their digital workspace.

The idea is straightforward:

Let the machine handle the sorting suggestions. Let the user stay in control.

ClutterMind AI isn't intended to eliminate every manual decision. It aims to reduce the repetitive work involved in organizing digital information.

Demo

Live application: To be added after deployment.

Source code: https://github.com/manya2302/cluttermind-ai

ClutterMind AI Interface

Landing page

The landing page introduces a simple way to clean up digital clutter with the help of AI.

Organization dashboard

The dashboard displays scanned files, detected categories, duplicate candidates, and proposed organization changes.

Preview and approval

Users can inspect the proposed file movements and renaming operations before applying them.

Search interface

A natural-language search interface can help users locate documents by topic or content rather than relying only on filenames.

These interface descriptions represent the planned experience and should be updated to match the implemented application.

How I Plan to Build It

ClutterMind AI combines local file inspection, document text extraction, open-weight language models, and a user-controlled organization workflow.

Tech stack

Layer Technology
Frontend Streamlit or React
Backend Python, FastAPI
AI inference Ollama
Open-weight model A compatible Qwen or Gemma model
PDF extraction PyMuPDF
Document parsing Python document-processing libraries
File classification Python
Duplicate detection SHA-256 hashing
Metadata storage SQLite
Testing pytest
Version control Git and GitHub

The exact model and dependencies will be selected and tested during implementation.

1. Scanning files safely

The application first scans a user-selected directory and gathers file metadata.

It avoids modifying original files during the scanning stage. Supported document types can then be processed to extract readable text for classification.

The scanner should handle inaccessible files, unsupported formats, corrupted documents, and unusually large files gracefully.

2. Using an open-weight AI model

The AI component analyzes extracted document text and relevant metadata to suggest a category, a meaningful filename, and a destination folder.

For example, a document containing Python programming tutorials could be classified under Study/Programming/.

The model should return structured output that the application validates before displaying its recommendations.

The application should also account for uncertain classifications and allow users to correct them.

3. Keeping file operations separate from AI

I want the AI to recommend changes rather than directly control the filesystem.

The workflow is:

Select folder
     ↓
Scan files and collect metadata
     ↓
Extract supported document text
     ↓
AI suggests categories and filenames
     ↓
Validate the suggestions
     ↓
Preview the organization plan
     ↓
User approves the changes
     ↓
Apply file operations and record results
Enter fullscreen mode Exit fullscreen mode

Separating AI suggestions from file operations makes the application easier to test and reduces the risk of unintended changes.

4. Detecting duplicates reliably

Exact duplicate detection can use SHA-256 file hashes.

Files with matching hashes can be flagged for review, while similar-looking or nearly identical documents require additional checks.

ClutterMind AI should not assume that two files are duplicates simply because they have similar names.

5. Building a safer organization workflow

File organization can cause problems if a file is moved to the wrong location or renamed unexpectedly.

The application should include:

  • A preview of all proposed changes.
  • User approval before modifications.
  • Conflict handling when filenames already exist.
  • An operation log for tracking changes.
  • A recovery mechanism where feasible.
  • Exclusions for system directories and other sensitive locations.

The initial version should focus on a selected folder rather than automatically scanning the entire computer.

Why Does Open Innovation Matter?

The main goal of ClutterMind AI is to explore how open-weight AI can make everyday computer tasks easier without requiring every document to be sent to a proprietary AI service.

Using a compatible model through Ollama can allow supported classification and naming tasks to run locally.

This offers several potential benefits.

Privacy: Document contents can remain on the user's machine when local inference and local storage are configured appropriately.

Model flexibility: Developers can experiment with different compatible models and compare classification quality.

Transparency: The file scanning, classification, and organization workflow can be inspected and modified by contributors.

Cost control: Local inference can avoid per-request hosted inference fees, although hardware, electricity, and storage still have costs.

Customization: Users can adapt categories, naming rules, excluded directories, and organization policies to their own needs.

Local AI does not automatically guarantee complete privacy or zero cost. Those benefits depend on the actual implementation and its dependencies.

The Lazy Payoff

The repetitive work I want ClutterMind AI to reduce isn't the decision about where important files belong.

It's the process of opening files, guessing their purpose, renaming them, creating folders, and searching for duplicates one at a time.

Before ClutterMind AI With ClutterMind AI
Inspect files manually Scan supported files automatically
Guess categories from filenames Suggest categories using document content
Rename files one by one Review AI-generated filename suggestions
Search for exact duplicates manually Identify exact duplicates using hashes
Create folder structures manually Preview a proposed folder structure
Move files without a clear plan Review and approve changes before applying them

The application will need practical testing to establish how much time it saves and how accurately it classifies files.

The objective is not to claim that AI can organize every file perfectly. It is to make repetitive organization faster, safer, and easier to manage.

What I Expect to Learn

Building ClutterMind AI will provide an opportunity to explore several practical AI engineering concepts:

  • Running open-weight language models locally.
  • Extracting text from different document formats.
  • Designing structured AI outputs and validation rules.
  • Combining deterministic file-processing logic with AI suggestions.
  • Handling filesystem errors and filename conflicts.
  • Building a preview-and-approval workflow.
  • Testing classification quality and file-operation safety.

One important principle is that AI output should never be treated as automatically correct. A useful file organizer needs reliable validation and safe handling of real files.

What's Next?

The initial version will focus on a small, practical feature set:

  1. Scan a selected folder.
  2. Support common document formats.
  3. Suggest categories and filenames using an open-weight model.
  4. Detect exact duplicates.
  5. Preview and approve organization changes.
  6. Record operations and support recovery where feasible.

Future improvements could include semantic file search, image classification, more advanced duplicate detection, configurable organization rules, and a desktop interface.

For now, the objective is simple:

Help people spend less time organizing files and more time using the information inside them.

Conclusion

ClutterMind AI explores a practical application of open-source AI: reducing the small, repetitive tasks that accumulate during everyday computer use.

By combining local AI inference, document processing, deterministic duplicate detection, and user-approved file operations, the project aims to make digital organization less tedious without sacrificing user control.

The most useful automation is not necessarily the most complicated one.

Sometimes, it is the tool that quietly handles the work you keep putting off.

Less clutter. Smarter organization. More focus.

Submission Tags

devchallenge #hf26challenge

GitHub Repo:https://github.com/manya2302/cluttermind-ai?utm_source=chatgpt.com

Top comments (0)