Skip to content

Repository files navigation

ctxify

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

GitHub release (latest by date)Code ChecksLicense

💫 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

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages