Local File Organizer
This software uses AI to organize your local files. It operates locally with Ollama. It does not need a cloud connection. You can also connect it to an OpenAI-compatible endpoint or Anthropic Claude.
Contents
- Features
- How It Works
- Interfaces
- Quick Start (Essentials)
- Documentation
- Optional Feature Packs
- Development
- Contributing
- Configuration
- License
Features
AI and Analysis
- AI-Powered Analysis: Uses Qwen 2.5 3B (text) and Qwen 2.5-VL 7B (vision) with Ollama, OpenAI-compatible endpoints, or Anthropic Claude (see
analysis.inspect). - Audio Transcription: Uses faster-whisper to convert local speech to text (requires optional
[audio]extra; seeaudio.transcribe). - Video Analysis: Finds scenes and gets keyframes from video files (requires optional
[video]extra; seevideo.analyze). - Intelligence: Learns patterns, tracks preferences, suggests actions, and adds tags automatically (see
automation.suggestionsandautomation.tags).
Interfaces
- Terminal UI: Gives an 8-view Textual TUI (see
interfaces.launch). - Web UI: Browser interface powered by FastAPI and HTMX (see
web-desktopsurface status). - Desktop App: Native OS window using pywebview (shares the
web-desktopsurface adapter in a single Python process). - Full CLI: Includes commands to organize, set rules, suggest, find duplicates, run as a daemon, show analytics, update, and manage API keys (see
clisurface status). - Copilot Chat: Accepts natural language commands such as "organize ./Downloads" or "undo" (see
copilot.chat).
Organization
- Product Capability Matrix: Built on 34 product capabilities across 6 official surfaces, with automated cross-surface parity enforcement (conformance-verified for
organization.execute,organization.preview,organization.scan, andmethodology.configure). - Organization Rules: Sorts files automatically with conditions and previews (see
automation.rules). - PARA + Johnny Decimal: Supports canonical organization methodologies (see
methodology.configure). - Deduplication: Finds duplicate files with hash and semantic checks (requires optional
[dedup]extra; seededuplication.manage). - Undo/Redo: Keeps operation history so you can undo changes safely (see
history.manage). - Auto-Update: Manages application updates safely across platforms (see
updates.manage). - Cross-Platform: Operates on macOS, Windows, and Linux (see
clisurface status).
How It Works
flowchart LR
subgraph Source["Source Directory"]
direction TB
A[report.pdf]
B[photo.jpg]
C[meeting.mp3]
D[clip.mp4]
end
subgraph AI["AI Analysis"]
direction TB
E[Content Extraction]
F[AI Categorize]
end
subgraph Output["Organized Output"]
direction TB
G[Work/Reports/]
H[Photos/Vacation/]
I[Audio/Meetings/]
end
Source --> E --> F --> Output
F -.-> |Learn Patterns| F
- Scan — The software reads files from a source directory. It gets text, metadata, and visual content. It supports more than 80 formats.
- Analyze — The software sends the content to an AI model. The model categorizes and names the files.
- Organize — The software moves or copies files into folders. It uses the AI-generated names.
- Learn — The software tracks your patterns and preferences to make better suggestions in the future.
Interfaces (Visuals)
Terminal UI
Web UI (Preview)
To start the FastAPI server and open the UI, type this command:
file-organizer serve --reload
Then, go to http://localhost:8000/ui/ in your browser.
Quick Start (Essentials)
With Ollama (local, default)
# Install from PyPI with pipx:
pipx install local-file-organizer
# or with pip:
pip install local-file-organizer
# 1) Set the default configuration
fo setup
# 2) Preview a folder before you change anything
fo preview ~/Downloads
# 3) Start the organization process
fo organize ~/Downloads ~/Organized
# 4) Undo the most recent organize run if necessary
fo undo
Use cloud providers instead of the default local flow
Read the AI Provider Setup guide for OpenAI-compatible endpoints and Claude.
# OpenAI-compatible providers
export FO_PROVIDER=openai
# Anthropic Claude
export FO_PROVIDER=claude
Documentation
Essentials
- Documentation Home
- Getting Started
- CLI Reference
- User Guide Workflow Map
- Web UI Quick Start
- Troubleshooting
- Installation Guide
Advanced / Admin / Developer
- Full CLI Reference
- Terminal UI Guide
- Desktop App Guide
- AI Provider Setup
- Audio & Video Processing Guide
- Configuration Guide
- API Reference
- File Format Reference
- Path Standardization & Migration
- Johnny Decimal User Guide
- Johnny Decimal Migration Guide
Optional Feature Packs
Canonical extras matrix:
Common installation commands:
pip install "local-file-organizer[parsers,web]"
pip install "local-file-organizer[cloud,claude]"
pip install "local-file-organizer[all]"
From source (development): Download the repository and use an editable install (for example,
pip install -e ".[all]").
Audio system dependencies
To get full audio format support, the [audio] pack uses FFmpeg (all platforms). It optionally uses CUDA + cuDNN (for NVIDIA GPU users).
FFmpeg — This is necessary for non-.wav formats (MP3, M4A, FLAC, OGG). It is optional if you only transcribe raw .wav files:
# macOS
brew install ffmpeg
# Ubuntu / Debian
sudo apt install ffmpeg
# Windows (winget)
winget install ffmpeg
CUDA + cuDNN — This is optional. It makes transcription much faster.
# Install CUDA Toolkit from https://developer.nvidia.com/cuda-downloads
# Install cuDNN from https://developer.nvidia.com/cudnn
# Verify the full transcription backend
python3 -c "from faster_whisper import WhisperModel; print('faster-whisper OK')"
python3 -c "import torch; print('CUDA:', torch.cuda.is_available())"
Fallback behavior: If you do not have FFmpeg, the software only transcribes .wav files. It organizes other formats by filename and metadata, but it does not analyze their content. If you do not have CUDA, the transcription uses the CPU. This is slower but it operates correctly.
Read the Installation Guide to find troubleshooting steps and advanced configuration options.
Development
# Start tests
pytest
# Find errors with ruff
ruff check src/
(To see a full breakdown of the project structure, read CONTRIBUTING.md)
Contributing
Read CONTRIBUTING.md to learn about the development setup, coding standards, project structure, and how to submit your changes.
Configuration
The software stores configuration files in these locations:
- macOS:
~/Library/Application Support/file-organizer/ - Linux:
~/.config/file-organizer/(or$XDG_CONFIG_HOME/file-organizer/) - Windows:
%APPDATA%/file-organizer/
Read the Configuration Guide for more data.
License
This project uses the MIT License.
Status: Stable | Version: 2.2.0 | Last Updated: 2026-07-20
Metadata
Release files for local-file-organizer 2.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| local_file_organizer-2.2.0.tar.gz | 1.1 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| local_file_organizer-2.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.5 MB
Release files / local_file_organizer-2.2.0.tar.gz
| Download URL | local_file_organizer-2.2.0.tar.gz |
|---|---|
| Size | 1.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a95178763e477de0e0d31b28b7451c4c84ec20ca22fecae3fbc68e859e4e5067
|
|
BLAKE2b-256 checksum How to use checksums |
780e4cd5bbe4674f5b81f147e702f3448cfb35411241d7b5a786bda2c2a42fa7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 2, 2026.
Transparency logRelease files / local_file_organizer-2.2.0-py3-none-any.whl
| Download URL | local_file_organizer-2.2.0-py3-none-any.whl |
|---|---|
| Size | 1.4 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6098b6837e2a394bdbc202b61cb368db0fb57af1089d244446d81ef32f12da0d
|
|
BLAKE2b-256 checksum How to use checksums |
8ed61e864c1151136ff35f386e3d14d3d80c99b2946dca6eef6affaec76e68ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 2, 2026.
Transparency log