Skip to content

DarrylMathias/File-Automation-Gemini

Repository files navigation

File Automation with Gemini AI

A Node.js tool that automates file organization using Google Gemini AI. It reads PDF contents, predicts the correct destination and filename, and moves the file with confidence scoring.


🚀 Features

  • AI-Powered File Classification – Gemini AI analyzes file contents and predicts the right category.
  • Automated File Organization – Files are renamed and moved to structured folders without manual effort.
  • Autonomous Execution – No need for supervision, the AI takes decisions instantly.
  • Change Logs – Every move is recorded in a log file for full transparency.
  • Confidence Thresholds – Actions only trigger when AI is highly confident, ensuring reliability.

📦 Installation

  1. Clone the repo

    git clone https://github.com/DarrylMathias/File-Automation-Gemini.git
    cd File-Automation-Gemini
    
  2. Install dependencies

    npm install
  3. Run script to find all directory paths of desktop for Gemini

    node folderise.js

⚙️ Usage

Run the automation:

node watch.js

Watch as the AI silently organizes files into the right place, as they are downloaded.

Logs of all changes are stored at:

C:\Users\<you>\OneDrive\Desktop\changes.txt

🔧 Configuration

Adjust confidence thresholds, desktop location on your PC and folder paths accordingly.


📜 License

MIT License. Free to use, modify, and expand.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published