Skip to main content

AI-assisted CLI for organizing files.

Project description

CI PyPI - Version PyPI - Python Version GitHub License

dorgy logo

Dorgy

AI‑assisted CLI to keep growing collections of files tidy. Organize folders with safe renames/moves and undo, watch directories for changes, and search collections with substring or semantic queries — all powered by portable per‑collection state.

What It Does

Before (a messy folder):

my_docs/
  IMG_0234.jpg
  Scan_001.pdf
  taxes.txt
  contract_final_FINAL.docx
  notes (1).txt
  2023-05-07 14.23.10.png
  invoice.pdf

After (organized by category/date with safe renames, hyphenated lower‑case folders):

my_docs/
  .dorgy/                     # state, history, search index, logs
  documents/
    contracts/
      Employment Agreement (2023-06-15).pdf
    taxes/
      2023/
        Tax Notes.txt
  photos/
    2023/05/
      2023-05-07 14-23-10.png
  invoices/
    2023/
      ACME - April.pdf

Exact destinations depend on your config and prompts; all moves are reversible via dorgy undo using the state in .dorgy.

Installation

PyPI (recommended)

pip install dorgy

From source (contributors)

git clone https://github.com/bryaneburr/dorgy.git
cd dorgy

# Optional: install dev dependencies
uv sync --extra dev

# Optional: editable install
uv pip install -e .

Getting Started

# Inspect available commands
dorgy --help

# Organize a directory in place (dry run first)
dorgy org ./documents --dry-run
dorgy org ./documents

# Monitor a directory and emit JSON batches
dorgy watch ./inbox --json --once

# Undo the latest plan
dorgy undo ./documents --dry-run
dorgy status ./documents --json

See the docs for guides on Organize, Watch, Search, Move/Undo, and configuration details.

Documentation

Contributing

We welcome issues and pull requests. See docs/development/contributing.md for environment setup, pre‑commit hooks, and CI guidance.

Authors

  • Codex (ChatGPT‑5 based agent) — primary implementation and tactical design.
  • Bryan E. Burr (@bryaneburr) — supervisor, editor, and maintainer.

License

Released under the MIT License. See LICENSE for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dorgy-0.4.5.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dorgy-0.4.5-py3-none-any.whl (130.1 kB view details)

Uploaded Python 3

File details

Details for the file dorgy-0.4.5.tar.gz.

File metadata

  • Download URL: dorgy-0.4.5.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.19

File hashes

Hashes for dorgy-0.4.5.tar.gz
Algorithm Hash digest
SHA256 20c637e2003a671cf77f911bfb892fdde51df1afee196fa393e15b21a2386477
MD5 f49eee0542c075001ed4aeee90c5cafa
BLAKE2b-256 bd024337e67bf43649b932692c020d9f66cd39befaccedc98eafe4dbc5aa5c8b

See more details on using hashes here.

File details

Details for the file dorgy-0.4.5-py3-none-any.whl.

File metadata

  • Download URL: dorgy-0.4.5-py3-none-any.whl
  • Upload date:
  • Size: 130.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.19

File hashes

Hashes for dorgy-0.4.5-py3-none-any.whl
Algorithm Hash digest
SHA256 01cbcafc299248811b792525aa2e0f7908735a19fc1adcf20ca4b362f626f3e1
MD5 9ce594d08b9e845efbc282c802de7277
BLAKE2b-256 b5aafdef69fec6a04a4e191e779e50575319279aafcc35656ec424f051182c7e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page