Skip to main content

A tool to print git repository files with tree structure

Project description

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.

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

ctxify-0.3.0.tar.gz (19.6 kB view details)

Uploaded Source

Built Distribution

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

ctxify-0.3.0-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file ctxify-0.3.0.tar.gz.

File metadata

  • Download URL: ctxify-0.3.0.tar.gz
  • Upload date:
  • Size: 19.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for ctxify-0.3.0.tar.gz
Algorithm Hash digest
SHA256 2ea5b61a09db316ee9716b08408772558ab5ae96970fe1e526921a56317319fd
MD5 a6774f5a16be528a0c027e447ad4033d
BLAKE2b-256 11a8f3ec6e332122b5e09b42175c9126454a3fafc899ce3df52ce5fd51bec774

See more details on using hashes here.

File details

Details for the file ctxify-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: ctxify-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 8.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for ctxify-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9d62497b5a5a08cffe18bd602a2bcc634b2a3541a932568cc21faf041a4a0750
MD5 4a76734fe5edc4327b63652565a39d3f
BLAKE2b-256 457559b3e90f1a7ea0652a8447947b1affeb26706a5bbbcba2d109fdbb76f99d

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