Skip to content

Quickly copy your codebase to clipboard - read directory files and copy them as JSON to your clipboard

Notifications You must be signed in to change notification settings

darwin808/codeclip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

1 Commit
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“‹ codeclip

Instantly copy your entire codebase to clipboard as structured JSON

Perfect for sharing code with AI assistants, creating backups, or analyzing codebases.

Installation

npm install -g codeclip


## Quickstart

codeclip                                    # Copy current directory (JS/TS files)
codeclip --path=./src                       # Copy specific directory
codeclip --ext=.py                          # Copy Python files
codeclip --all                              # Copy all file types
codeclip --output=backup.json               # Save to file

## Options

--path=<dir> - Directory to read (default: current)
--ext=<extensions> - File extensions (default: .js,.jsx,.ts,.tsx,.mjs,.cjs)
--all - Include all file types
--output=<file> - Save to file instead of clipboard
--help - Show help


## Examples

# Share with AI
codeclip --path=./src --ext=.jsx,.tsx

# Backup configs
codeclip --path=~/.config/nvim --ext=.lua --output=nvim-backup.json

# Python project
codeclip --ext=.py

# Multiple file types
codeclip --ext=.js,.json,.md

# Everything
codeclip --all

About

Quickly copy your codebase to clipboard - read directory files and copy them as JSON to your clipboard

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published