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 Organization: Uses Qwen 2.5 3B (text) and Qwen 2.5-VL 7B (vision) with Ollama. It also supports OpenAI-compatible endpoints and Anthropic Claude.
- Audio Transcription: Uses faster-whisper to convert local speech to text. This uses the GPU.
- Video Analysis: Finds scenes and gets keyframes from video files.
- Intelligence: Learns patterns, tracks your preferences, suggests actions, and adds tags automatically.
Interfaces
- Terminal UI: Gives you an 8-view Textual TUI (Files, Analytics, Audio, History, Copilot).
- Web UI: Shows a browser interface with FastAPI and HTMX.
- Desktop App: Shows a native OS window with pywebview. It uses a single Python process. It does not use Electron or Rust.
- Full CLI: Includes commands to organize, set rules, suggest, find duplicates, run as a daemon, show analytics, update, and manage API keys.
- Copilot Chat: Lets you use natural language to give commands. For example, type "organize ./Downloads" or "undo".
Organization
- Extensive Support: Operates on 840 tests, 408 modules, and 39 file types.
- Organization Rules: Sorts files automatically with conditions and previews. It saves rules in YAML.
- PARA + Johnny Decimal: Includes these organizational methodologies.
- Deduplication: Finds duplicate files with hash and semantic checks.
- Undo/Redo: Keeps a full history of operations so you can undo them.
- Auto-Update: Updates Linux AppImage from GitHub Releases. Updates macOS and Windows with
piporpipx. - Cross-Platform: Operates on macOS, Windows, and Linux.
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.1.1 | Last Updated: 2026-07-20
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file local_file_organizer-2.1.1.tar.gz.
File metadata
- Download URL: local_file_organizer-2.1.1.tar.gz
- Upload date:
- Size: 1.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8cab678220c6f0c576c8cbd9a1221eadcc1459e8586c538615afd822ef7ac251
|
|
| MD5 |
1beeea8c5724efbb6b6cdf0db67db923
|
|
| BLAKE2b-256 |
9278473fa5dc20b97be71011fdf8261cfeb6f0eb01768af06d7731bd7ad5ab0f
|
Provenance
The following attestation bundles were made for local_file_organizer-2.1.1.tar.gz:
Publisher:
release.yml on curdriceaurora/Local-File-Organizer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
local_file_organizer-2.1.1.tar.gz -
Subject digest:
8cab678220c6f0c576c8cbd9a1221eadcc1459e8586c538615afd822ef7ac251 - Sigstore transparency entry: 2207091706
- Sigstore integration time:
-
Permalink:
curdriceaurora/Local-File-Organizer@bf926e0e31af2c808ec27c9f21142231eb4263ac -
Branch / Tag:
refs/tags/v2.1.1 - Owner: https://github.com/curdriceaurora
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@bf926e0e31af2c808ec27c9f21142231eb4263ac -
Trigger Event:
push
-
Statement type:
File details
Details for the file local_file_organizer-2.1.1-py3-none-any.whl.
File metadata
- Download URL: local_file_organizer-2.1.1-py3-none-any.whl
- Upload date:
- Size: 1.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c34fdf5236077f364ae4bd5738e59b47650e3e06433ac62cdd3f9b113764741e
|
|
| MD5 |
fad12c4234b94f34f8797cf51c925a9c
|
|
| BLAKE2b-256 |
4b88be8adafd19756297e492ff869b9eee9997d7ad856701e3e21231255de982
|
Provenance
The following attestation bundles were made for local_file_organizer-2.1.1-py3-none-any.whl:
Publisher:
release.yml on curdriceaurora/Local-File-Organizer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
local_file_organizer-2.1.1-py3-none-any.whl -
Subject digest:
c34fdf5236077f364ae4bd5738e59b47650e3e06433ac62cdd3f9b113764741e - Sigstore transparency entry: 2207091745
- Sigstore integration time:
-
Permalink:
curdriceaurora/Local-File-Organizer@bf926e0e31af2c808ec27c9f21142231eb4263ac -
Branch / Tag:
refs/tags/v2.1.1 - Owner: https://github.com/curdriceaurora
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@bf926e0e31af2c808ec27c9f21142231eb4263ac -
Trigger Event:
push
-
Statement type: