- Intelligent Scanning: Automatically excludes non-essential directories (
node_modules
,.git
, etc.) - Smart Filtering: Ignores binary files, images, and other non-code assets
- Dual Output: Generates both file output and clipboard content
- Path Preservation: Maintains file paths in the output for better context
- Zero Configuration: Works out of the box with sensible defaults
- Sharing codebase context with AI tools (ChatGPT, Claude, etc.)
- Quick code documentation and analysis
- Creating comprehensive code snapshots
- Code review preparation
- Download the latest
cclip_win64.zip
from the releases page - Extract the archive to your desired location
- Add the extraction path to your system's
PATH
environment variable
Run cclip --version
to check is codeclip has been installed correctly.
Navigate to your project directory and run cclip
This will:
- Scan your codebase
- Generate
codebase_dump.txt
in the current directory - Copy the content to your clipboard automatically
CodeClip intelligently processes your codebase while ignoring:
node_modules
.git
.env
vendor
__pycache__
- Executables (
.exe
,.dll
,.bin
) - Archives (
.zip
,.tar
,.gz
) - Images (
.png
,.jpg
,.svg
, etc.) - Log files (
.log
) - Lock files (
.lock
)
- Run CodeClip from your project's root directory
- Review the generated
codebase_dump.txt
before sharing - Consider adding
codebase_dump.txt
to your.gitignore
CodeClip is built with Go, leveraging:
- Efficient file system traversal
- Concurrent processing
- Cross-platform clipboard support via atotto/clipboard
Contributions are welcome! Feel free to:
- Report bugs
- Suggest features
- Submit pull requests
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
CodeClip - Copy your entire codebase instantly
Copyright (C) 2024 Aryan Bhirud
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
- ✔️ You can use this software commercially
- ✔️ You can modify this software
- ✔️ You can distribute this software
- ✔️ You can use and modify the software in private
- ✔️ You can patent your modifications
- ❗ You MUST open source your modifications
- ❗ You MUST include the original license
- ❗ You MUST state your changes
- ❗ You MUST disclose source
Made with ❤️ for developers who love clean workflows.