Skip to content

Latest commit

 

History

History
70 lines (50 loc) · 1.4 KB

File metadata and controls

70 lines (50 loc) · 1.4 KB

ctxify

Copy your code to clipboard. That's it. ✨

GitHub release (latest by date) Code Checks License

💫 100% vibe coded to perfection

What it does

ctxify copies your project files to clipboard with a single command.

ctxify

That's it. Your code is now in your clipboard. Paste it into ChatGPT or whatever.

Why?

Because copying files one by one is tedious, and I got tired of doing it.

Install

pipx install ctxify  # if you're fancy
pip install ctxify   # works too
uv tool install ctxify  # if you're using uv

Linux needs xclip:

sudo apt install xclip

Usage

Basic:

ctxify  # copies everything

Options that matter:

ctxify -i  # interactive mode, pick what you want
ctxify -e  # exclude stuff you don't want
ctxify -s  # structure only, no file contents
ctxify -g  # git tracked files only
ctxify --md  # include markdown files

Example

Files Included in Context (from .):
├── .python-version
└── src
    └── ctxify
        ├── __init__.py
        ├── cli.py
        └── main.py

Approximate token count: 512

Contributing

Fork it; Submit a PR; Create an issue with a bug or idea.