A Golang command-line application that auto-renames images based on content by sending to a GPT-vision API.
Explore the docs »
·
Report Bug
·
Request Feature
Table of Contents
gopt-renamer is a tool that leverages the power of GPT-vision API to automatically generate descriptive and informative file names for images. It is designed to streamline the process of organizing and searching for images by providing meaningful names that reflect the content of the images.
Download a release package for your platform of choice from the releases.
sudo dpkg -i gopt-renamer-ubuntu-latest.deb
Click the .pkg file and follow the onscreen prompts
Click the .exe file and follow the onscreen prompts
To get a local copy up and running follow these simple steps.
- Golang installed on your machine. You can download it from here.
- Clone the repo
git clone https://github.com/robin-collins/gopt-renamer.git
- Build the project
go build
To use gopt-renamer, simply provide the path to the image file you wish to rename:
./gopt-renamer --image="path/to/image.jpg"
For more examples, please refer to the Documentation
- Functional Windows, Ubuntu and Mac builds
- Ollama (llava and baklavva) tested and found to be not suitable.
- OpenAI API Key saves to either environment variable OR .conf file
- Create Docs and configure deployment
- CI/CD ready for release
- Configurable API endpoint URL via system environment
- Better Error Handling
- Windows Installer
- Mac package
- Ubuntu package
- Support Ubuntu and Mac context menu / gui integration
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Robin Collins - @robin_collins - robin.f.collins+gopt@Outlook.com
Project Link: https://github.com/robin-collins/gopt-renamer