Skip to content

MQ37/ctxify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

26 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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.

About

ctxify: CLI tool to copy repo context to your clipboard for LLMs πŸ€–

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •