Add custom categories feature

- Add support for user-defined custom categories in config.toml
- Update Config struct with categories field and default_categories() function
- Thread categories through GeminiClient and prompt builder
- Update AI prompts to use dynamic categories instead of hardcoded ones
- Add comprehensive documentation with examples for different use cases
- Update tests to support new categories field
- Maintain backward compatibility with default categories
- Update version from 1.0.3 to 1.0.4

Closes feature request for custom categories.
This commit is contained in:
glitchySid
2025-12-31 13:01:15 +05:30
parent 08a272c4de
commit 1f0547a210
10 changed files with 167 additions and 21 deletions

View File

@@ -7,3 +7,8 @@ api_key = "your_api_key_here"
# Path to folder to organize (e.g., ~/Downloads)
download_folder = "/path/to/your/downloads"
# Optional: Custom categories for file organization
# If not specified, uses default categories: Images, Documents, Installers, Music, Archives, Code, Misc
# Uncomment and customize the list below to use your own categories:
# categories = ["Work", "Personal", "School", "Projects", "Bills", "Media", "Misc"]