ai-renamer is a Node.js-based command-line tool that uses large language models to automatically rename files based on their content, enabling more meaningful and organized file management. Instead of relying on manual naming or metadata, the tool analyzes the actual content of files, including images, videos, and documents, to generate descriptive and context-aware filenames. It integrates with local and cloud-based AI providers such as Ollama, LM Studio, and OpenAI, allowing users to choose between offline and API-based workflows depending on their needs. The tool supports batch processing, making it particularly useful for organizing large collections of files quickly and efficiently. It also provides customization options such as naming conventions, language preferences, and prompt modifications to tailor the output to specific use cases. By leveraging AI for semantic understanding, it significantly reduces the time spent on manual file organization and improves discoverability.
Features
- AI-based file renaming using content analysis
- Support for multiple providers including Ollama and OpenAI
- Batch processing for large file collections
- Works with images, videos, and document files
- Customizable naming styles and output formats
- Command-line interface for automation and scripting