Skip to content

Nomnom 0.2.0

Choose a tag to compare

@Vein05 Vein05 released this 01 Apr 18:32
· 310 commits to main since this release

Nomnom

Version 0.2.0 of Nomnom introduces parallel processing, enhanced file organization, detailed logging, and remaining.

General Changes

  • Added: .pkgignore file for package-specific ignores.
  • Updated: .gitignore now includes .DS_Store and several demo directories.

Documentation Updates

  • Enhanced: README.md with new sections:
    • Images
    • Parallel Processing
    • File Organization
    • Detailed Installation Instructions
  • Added: Before-and-after state images in the data/ directory.

New Features

  • Parallel Processing: Added support for concurrent AI and file handling.
  • File Organization: Automatically sorts files into category folders:
    • Documents
    • Images
    • Audios
    • Videos
    • Others
  • Logging: Implemented more detailed logging and error reporting.
  • AI-Driven Renaming: Improved file renaming with better context extraction.

Code Changes

  • cmd/root.go:
    • Added new command-line flags.
    • Improved log messages for better clarity.
  • internal/ai:
    • Enabled concurrent AI request handling.
    • Added retry mechanisms for robustness.
  • internal/content:
    • Refactored file processing logic.
    • Improved validation and structured copying.
  • internal/files:
    • Enhanced file operation handling and validation.
  • internal/utils/config.go:
    • Updated configuration management.
    • Added utility for generating unique filenames.

Dependencies

  • Go Version: Updated from 1.23.3 to 1.24.0.
  • New Libraries:
    • github.com/manifoldco/promptui
    • github.com/ollama/ollama

Deleted Files

  • Removed: Various files from the demo/ directory, including:
    • Text files
    • PDFs
    • Images
    • Audio files

See the full comparison here: 0.1.0...0.2.0