Security News
CISA Brings KEV Data to GitHub
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
A simple tool to copy repository contents to your clipboard, useful for pasting into an LLM like Claude or ChatGPT.
pip install repo2llm
# Process current directory
repo2llm .
# Process specific directory
repo2llm /path/to/your/repo
# Add custom ignore patterns (supports wildcards)
repo2llm . --ignore "*.log" # Ignore all .log files
repo2llm . --ignore "src/*.py" # Ignore Python files in src directory
repo2llm . --ignore "**/test/**" # Ignore anything in test directories
repo2llm . --ignore "build/**/*" # Ignore all contents in build directory
repo2llm . --ignore "temp/" # Ignore temp directory
# Multiple ignore patterns
repo2llm . --ignore "*.log" --ignore "temp/*" --ignore "**/test/*.py"
# Enable preview
repo2llm . --preview
# Customize preview length
repo2llm . --preview --preview-length 300
# Use custom config file
repo2llm . --config my-config.txt
The --ignore
option supports glob-style patterns:
*
matches any characters except path separators**
matches any characters including path separators (recursive)/
match directories--ignore
flagsThe tool automatically ignores common development files and directories. See repo2llm/constants.py
for the default list.
You can create a .repo2llm
file in your repository root to specify custom ignore patterns:
# Development directories
.github/
.vscode/
node_modules/
# Build artifacts
dist/
build/
*.pyc
# Custom patterns
temp/
*.bak
The config file supports:
To run the test suite, run poetry run pytest
To release a new version, run the scripts/version.py
script:
# For a patch update (0.1.0 -> 0.1.1)
poetry run python scripts/version.py patch --tag
# For a minor update (0.1.1 -> 0.2.0)
poetry run python scripts/version.py minor --tag
# For a major update (0.2.0 -> 1.0.0)
poetry run python scripts/version.py major --tag
Contributions are welcome, feel free to submit a PR.
FAQs
A tool to easily share repository contents with LLMs through the clipboard.
We found that repo2llm demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.