Git Product home page Git Product logo

airenamer's Introduction

AI Image File Renamer

let the ai rename your images

A simple executable that renames image files based on keywords that describe the image. The keywords are generated using Ollama.ai. You must have Ollama installed first.

Installation

  1. Find the latest release for your OS here
  2. Rename it to something memorable, like airenamer (or airenamer.exe on Windows).
  3. Ensure it is executable. On Linux or Mac, run chmod +x airenamer.
  4. Move the file somewhere into your path.
  5. Again, make sure you have Ollama.ai installed.

Usage

Navigate to a folder with some images in it and run airenamer.

Make sure you have a backup first. It only copies the files, but I'm not responsible for any data loss.

Environment Variables

You can override the default Ollama API endpoint address and model using following environment variables.
This is useful when you have Ollama running on remote host and you want to use different model.

Variable Description Example Value Default Value
OLLAMA_BASE_URL The base URL of the Ollama API that application connecting to. http://your-ollama-server-url:12345 http://localhost:11434
OLLAMA_MODEL The model that application is going to use for filename generation. bakllava:13b llava:13b

airenamer's People

Contributors

technovangelist avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.