Skip to content

A smart desktop organization app that auto-tags and sorts your files using optional AI-powered metadata. Features undo support, database tracking, customizable rules, and a simple GUI.

License

Notifications You must be signed in to change notification settings

jeremystevens/tidydesk-organizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

16 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿง  TidyDesk v2.0.1: Smart Desktop Organizer

TidyDesk is an intelligent desktop cleanup tool that uses AI to automatically tag and organize your cluttered files and folders. With an intuitive GUI, powerful backend features, live monitoring capabilities, advanced search functionality, and comprehensive file management tools, it keeps your digital workspace clean and productive.

TidyDesk Screenshot


๐Ÿš€ Features

๐Ÿ” Core Organization

  • ๐Ÿค– AI File Tagging (Optional): Uses OpenAI to understand and categorize files intelligently
  • ๐Ÿ—‚๏ธ Automatic Organization: Sorts files into folders based on AI tags or default rules
  • ๐Ÿ”„ Complete Undo System: Restore all files to their original locations from any session
  • ๐Ÿง  Local File Indexing: Maintains a SQLite database of moved files for tracking and reliability
  • ๐ŸŽ›๏ธ Toggle AI Usage: Disable AI tagging to save API usage and rely on standard rules
  • ๐Ÿ“œ Real-time Activity Log: See live status updates for each file processed
  • ๐Ÿท๏ธ Tag-Based Regrouping: Reorganize existing files by their AI-generated tags

๐Ÿ“ก Live Desktop Monitoring โญ NEW

  • ๐Ÿ”„ Real-time File Detection: Automatically monitors ~/Desktop for new files using watchdog
  • ๐Ÿค– Auto AI Tagging: Configurable AI tagging for newly detected files
  • ๐Ÿ“‚ Smart Organization Modes: Three organization options:
    • Desktop Folder โ†’ Creates ~/Desktop/TidyDesk and moves files there
    • Organized Folder โ†’ Uses existing cleanup logic with categorization
    • Do Not Move โ†’ Index and tag only, leave files in place
  • ๐Ÿ“Š Live Status Updates: Real-time activity log with detailed file processing status
  • ๐Ÿ’พ Persistent Settings: All monitoring preferences saved automatically

โšก Performance & Multi-Threading โญ NEW

  • ๐Ÿš€ Parallel File Indexing: Multi-threaded processing using ThreadPoolExecutor
  • ๐ŸŽฎ CUDA-Ready Architecture: Optimized for systems with CUDA capabilities
  • ๐Ÿง  Intelligent Worker Scaling: Automatically adjusts thread count based on CPU cores
  • ๐Ÿ“ฆ Batch Processing: Processes files in optimized batches for better performance
  • ๐Ÿ“ˆ Progress Tracking: Real-time progress updates with file count and speed metrics
  • ๐Ÿ’พ Memory Optimization: Efficient memory usage for large file sets

๐Ÿ•ฐ๏ธ Filesystem Time Machine โญ NEW

  • ๐Ÿ“ธ Snapshot System: Create versioned snapshots of any folder at configurable intervals
  • ๐Ÿ‘€ Automatic Monitoring: Watch multiple folders with customizable snapshot intervals
  • ๐Ÿ” Smart Comparison: Compare snapshots with detailed diff analysis (added/removed/modified files)
  • โ†ฉ๏ธ One-click Restore: Restore any snapshot to a chosen destination
  • ๐Ÿ—‚๏ธ Storage Optimization: Automatic cleanup of old snapshots beyond configurable limits
  • ๐Ÿ“Š Statistics Dashboard: Comprehensive metrics on snapshots, disk usage, and activity

๐ŸŽจ Enhanced UI & Themes โญ NEW

  • ๐ŸŽจ Dynamic Theme System: Multiple built-in themes with live preview and switching
  • ๐Ÿ“ฑ Compact Horizontal Layout: Redesigned GUI for better space utilization
  • โš™๏ธ Environment Settings: Secure API key management with .env file integration
  • ๐Ÿ’พ Settings Persistence: Save/load functionality for all configuration options
  • ๐Ÿ“Š Enhanced Progress Visualization: Detailed progress meters with comprehensive tracking
  • ๐Ÿ”ง Status Bar System: Clean status updates instead of popup messages

๐Ÿ” Advanced Search & Discovery โญ ENHANCED

  • ๐Ÿ”Ž Multi-Criteria Search: Search by filename, tags, file type, and date ranges
  • ๐ŸŽฏ Smart Filtering: Date ranges, tag-based filtering, and file type filtering
  • ๐Ÿ“‹ Export Search Results: Export results to CSV format with detailed metadata
  • ๐Ÿท๏ธ Tag Management: Visual tag suggestions and clickable tag searches
  • ๐Ÿ“Š Search Analytics: Detailed statistics and result management
  • ๐Ÿ” Dual Database Search: Search both organized files and system file index
  • ๐Ÿ“ฑ Tabbed Search Interface: Organized search with Basic, Advanced, and Results tabs
  • ๐ŸŽฏ Quick Filters: Pre-built filters for recent files, untagged files, and more
  • ๐Ÿ“‚ Context Menu Actions: Right-click operations for file management
  • ๐Ÿ‘๏ธ File Preview Integration: Preview files directly from search results

๐Ÿ‘๏ธ File Preview System โญ NEW

  • ๐Ÿ“„ Text File Preview: View content of text files, code files, and documents
  • ๐Ÿ–ผ๏ธ Image Preview: Display images with proper scaling and quality
  • ๐Ÿ“Š File Metadata Display: Show detailed file information including size, dates, and properties
  • ๐ŸŽจ Syntax Highlighting: Code syntax highlighting for programming files
  • ๐Ÿ“ฑ Responsive Preview Window: Scalable preview interface with multiple view modes
  • ๐Ÿ” Search Integration: Preview files directly from search results
  • ๐Ÿ“‚ Path Information: Complete file path and location details

๐Ÿ“œ Session & History Management โญ ENHANCED

  • ๐Ÿ”„ Session-Based Organization: Each cleanup operation creates a trackable session
  • ๐Ÿ“Š Session Analytics: View statistics and progress for each session
  • โ†ฉ๏ธ Selective Undo: Choose specific sessions to undo from history
  • ๐Ÿ“‹ Comprehensive History: Detailed logging of every file movement and operation
  • ๐Ÿท๏ธ Session Naming: Custom session names with automatic suggestions
  • ๐Ÿ“ˆ Success Rate Tracking: Monitor organization success rates and error patterns

๐Ÿ†• What's New in v2.0.1

๐Ÿ” Enhanced Search Capabilities

  • Dual Database Search: Now searches both organized files and system-wide file index
  • Advanced Search Interface: Tabbed interface with Basic, Advanced, and Results sections
  • File Type Discovery: Automatic detection of all available file types
  • Quick Filter Actions: Pre-built filters for common search scenarios
  • Search Result Context Menus: Right-click actions for file operations

๐Ÿ‘๏ธ File Preview System

  • Universal File Preview: Preview text, images, and metadata for any file
  • Syntax Highlighting: Code files display with proper syntax coloring
  • Image Scaling: Automatic image resizing with quality preservation
  • Metadata Display: Comprehensive file information including size and dates
  • Search Integration: Preview files directly from search results

๐ŸŽจ UI/UX Improvements

  • Status Bar System: Replaced popup messages with clean status bar updates
  • Enhanced Progress Tracking: More detailed progress indicators with ETA
  • Theme Consistency: Improved theme application across all windows
  • Responsive Design: Better scaling for different screen sizes

๐Ÿ”ง Technical Enhancements

  • Database Optimization: Improved query performance for large datasets
  • Error Handling: Better error recovery and user feedback
  • Memory Management: Optimized memory usage for large file operations
  • Cross-Platform Compatibility: Enhanced support for different operating systems

๐Ÿ“ฆ Installation

  1. Clone the repo:

    git clone https://github.com/jeremystevens/tidydesk.git
    cd tidydesk
  2. Create and activate virtual environment (optional but recommended):

    python -m venv venv
    venv\Scripts\activate    # On Windows
    # source venv/bin/activate  # On macOS/Linux
  3. Install dependencies:

    pip install -r requirements.txt
  4. Set up .env file: Create a .env file in the project root and add your OpenAI key:

    OPENAI_API_KEY=your-api-key-here

๐Ÿงช How to Run

Start the application with:

python main.py

โœ… You'll be greeted with a modern, tabbed GUI where you can:

  • Toggle live monitoring and AI features
  • Start cleanup operations with real-time progress
  • Access the Time Machine for folder versioning
  • Search and manage your organized files with advanced filters
  • Preview files directly in the application
  • Customize themes and settings with persistent storage

๐Ÿ“ Project Structure

tidydesk/
โ”‚
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ gui.py              # Modern tabbed GUI using TTKBootstrap
โ”‚   โ”œโ”€โ”€ organizer.py        # AI tagging, organizing logic, undo handling
โ”‚   โ”œโ”€โ”€ desktop_watcher.py  # Real-time desktop monitoring with watchdog
โ”‚   โ”œโ”€โ”€ index_files.py      # Multi-threaded file indexing system
โ”‚   โ”œโ”€โ”€ time_machine.py     # Filesystem snapshot and versioning
โ”‚   โ”œโ”€โ”€ time_machine_gui.py # Time Machine interface
โ”‚   โ”œโ”€โ”€ theme_manager.py    # Dynamic theme management
โ”‚   โ”œโ”€โ”€ search_module.py    # Advanced search functionality
โ”‚   โ”œโ”€โ”€ search_window.py    # Search interface with preview integration
โ”‚   โ”œโ”€โ”€ file_preview.py     # File preview system
โ”‚   โ”œโ”€โ”€ db.py               # SQLite database handling
โ”‚   โ””โ”€โ”€ ai_tagger.py        # OpenAI batch tagging logic
โ”‚
โ”œโ”€โ”€ .env                    # API key config (not committed)
โ”œโ”€โ”€ config.json             # Application settings and preferences
โ”œโ”€โ”€ requirements.txt        # Required libraries
โ”œโ”€โ”€ main.py                 # Entry point
โ”œโ”€โ”€ FEATURES.md             # Comprehensive feature documentation
โ””โ”€โ”€ file_index.db           # (auto-created) File metadata database

๐Ÿ”ง Key Dependencies

  • ttkbootstrap: Modern GUI framework
  • openai: AI-powered file tagging
  • watchdog: Real-time filesystem monitoring
  • pillow: Image processing and preview capabilities
  • python-dotenv: Environment variable management

โšก Performance Features

  • Multi-threading: Utilizes all CPU cores for faster processing
  • Batch Operations: Optimized batch processing for large file sets
  • Smart Caching: Efficient memory usage and database operations
  • Progress Optimization: Real-time progress tracking without performance impact
  • System Integration: OS-specific optimizations for Windows, macOS, and Linux
  • Database Indexing: Optimized queries for instant search results

๐ŸŽฏ Use Cases

  • Desktop Cleanup: Automatically organize cluttered desktops with AI assistance
  • File Management: AI-powered tagging and intelligent categorization
  • Real-time Monitoring: Keep desktops organized automatically with live monitoring
  • Version Control: Track folder changes over time with comprehensive snapshots
  • File Discovery: Advanced search across organized and indexed file collections
  • File Preview: Quick file inspection without opening external applications
  • Workflow Automation: Streamline file organization workflows with session management
  • Data Analytics: Track organization patterns and file management statistics

โš ๏ธ Notes

  • Ensure your Desktop path is accessible (not under restricted OneDrive redirection)
  • Live monitoring runs in background threads for optimal performance
  • AI tagging uses paid OpenAI API callsโ€”use toggles wisely to control costs
  • Time Machine snapshots are stored locally and can be configured for automatic cleanup
  • Multi-threading performance scales with available CPU cores
  • File preview supports most common file types with graceful fallbacks
  • Search operates on both organized files and system-wide file index for comprehensive results

๐Ÿš€ Recent Major Updates

v2.0.1 Features

  • Universal File Preview: Complete file preview system with syntax highlighting
  • Enhanced Search Engine: Dual database search with advanced filtering
  • Improved UI/UX: Status bar system and enhanced progress tracking
  • Better Performance: Optimized database queries and memory management

v2.0.0 Features

  • Live Desktop Monitoring: Real-time file detection and organization
  • Multi-threaded Performance: Up to 10x faster file indexing
  • Filesystem Time Machine: Complete folder versioning system
  • Dynamic Themes: Multiple themes with live switching
  • Enhanced Settings: Comprehensive configuration management

๐Ÿ“œ License

MIT License ยฉ 2025 Jeremy Stevens


๐Ÿ”ฎ Future Roadmap

  • Cloud Integration: Support for cloud storage services
  • Advanced AI Models: Integration with additional AI services
  • Mobile Companion: Mobile app for remote file management
  • Plugin System: Extensible architecture for custom functionality
  • Collaborative Features: Multi-user file organization workflows

TidyDesk v2.0.1 - Your intelligent desktop companion for the modern digital workspace! ๐Ÿš€

About

A smart desktop organization app that auto-tags and sorts your files using optional AI-powered metadata. Features undo support, database tracking, customizable rules, and a simple GUI.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages