Generate Markdown context of a git repository and copy it straight to your clipboard, ready to paste into an LLM chat.
Project description
ReptClip
A fast, cross-platform CLI that turns a git repository into clean Markdown context for an LLM chat — and copies it straight to your clipboard.
Install
pip install reptclip
Usage
Run ccc (copy context to clipboard) from the root of a git repository:
ccc
This copies a Markdown snapshot of your project structure (every git-tracked file, as a tree listing) to the clipboard, ready to paste into a chat.
To also include the contents of specific files, pass include/exclude glob
patterns (* and ** are supported):
ccc -i src/**/*.cpp tests/**/*.cpp docs/ -e tests/VeryLargeTest.cpp
This includes every .cpp file under src/, every .cpp file under
tests/, and everything under docs/, while excluding one large test file.
Use quotes around any pattern that contains spaces.
Config file
Instead of (or in addition to) CLI flags, drop a ccc-config.toml in your
project root:
include = ["src/**/*.py", "docs/"]
exclude = ["src/generated/**"]
Patterns from the CLI and the config file are combined.
Notes
- Only files tracked by git are ever considered.
- No files' contents are included unless you explicitly ask for them via
-ior the config file — the project structure is always shown, though. - Binary files and files over 1 MB are automatically skipped (with a note in the output) instead of causing an error.
Development
pip install -e ".[dev]"
pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file reptclip-0.1.0.tar.gz.
File metadata
- Download URL: reptclip-0.1.0.tar.gz
- Upload date:
- Size: 23.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Hatch/1.17.1 {"ci":null,"cpu":"AMD64","implementation":{"name":"CPython","version":"3.14.5"},"installer":{"name":"hatch","version":"1.17.1"},"openssl_version":"OpenSSL 3.0.20 7 Apr 2026","python":"3.14.5","system":{"name":"Windows","release":"11"}} HTTPX2/2.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc63a55a9d11364100ec4fecd7026dd663d286558c719224bf7e844da7aeff30
|
|
| MD5 |
6ef59dac54a5d99af3b7ed45fd89db52
|
|
| BLAKE2b-256 |
c2fe3c7eef135848bd84b4e749e633706a6be517170c0de0bf5c433c93b62186
|
File details
Details for the file reptclip-0.1.0-py3-none-any.whl.
File metadata
- Download URL: reptclip-0.1.0-py3-none-any.whl
- Upload date:
- Size: 20.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: Hatch/1.17.1 {"ci":null,"cpu":"AMD64","implementation":{"name":"CPython","version":"3.14.5"},"installer":{"name":"hatch","version":"1.17.1"},"openssl_version":"OpenSSL 3.0.20 7 Apr 2026","python":"3.14.5","system":{"name":"Windows","release":"11"}} HTTPX2/2.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e33655cf86f0c6af0748b5bcbeee488f8af4f8a98d95c687ce4de1027bf680a3
|
|
| MD5 |
4d6bc3dfe95cc299590c28c833b53523
|
|
| BLAKE2b-256 |
790dc3bcf349a67224c453cc4cfee59745875d198dea9fd7d5b50ba772c87d34
|