
Security News
Deno 2.6 + Socket: Supply Chain Defense In Your CLI
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.
A CLI tool that generates a comprehensive text file containing your codebase context for Large Language Models (LLMs)
.gitignore and .llmignore patternsDownload the appropriate binary for your platform from the Releases page.
# Clone the repository
git clone https://github.com/username/llmify.git
cd llmify
# Build the binary
go build -o llmify .
# Or on Windows: go build -o llmify.exe .
# Optional: Move to a directory in your PATH
# Linux/macOS
sudo mv llmify /usr/local/bin/
# Or for user-local installation: mv llmify ~/bin/
# Basic usage - creates llm.txt in the current directory
llmify
# Paste into your favorite LLM
cat llm.txt | pbcopy # macOS
cat llm.txt | xclip # Linux
type llm.txt | clip # Windows
# Specify a different root directory
llmify /path/to/your/project
# Specify a different output file
llmify -o context_for_gpt.txt
# Only include content from a specific subdirectory or file
llmify -p src/components
llmify --path main.go
# Exclude specific patterns
llmify -e "*.log" -e "**/.cache/*"
# Include specific files that would otherwise be excluded
llmify -i "config/important.json"
# Limit directory depth for large projects
llmify -d 3
# Disable .gitignore processing
llmify --no-gitignore
# See detailed output (helpful for debugging)
llmify -v
.llmignoreCreate a .llmignore file in your project's root directory to specify patterns that should be excluded from LLM context. This uses the same syntax as .gitignore. These rules apply after the --path filter, if used.
Example .llmignore:
# Exclude large data files
data/*.csv
*.json.gz
# Exclude generated documentation
docs/generated/
# Exclude specific libraries
lib/external/
Usage:
llmify [directory] [flags]
Flags:
-e, --exclude strings Glob patterns to exclude (can be used multiple times)
--exclude-binary Attempt to exclude binary files based on content detection (default: true)
--header Include a header with project info (default: true)
-i, --include strings Glob patterns to include (overrides excludes, use carefully)
-d, --max-depth int Maximum directory depth to crawl (0 for unlimited)
--no-gitignore Do not use .gitignore rules
--no-llmignore Do not use .llmignore rules
-o, --output string Name of the output file (default "llm.txt")
-p, --path string Only include files/directories within this specific relative path
-v, --verbose Enable verbose logging
-h, --help Display help information
============================================================
Project Root: /path/to/your/project
Generated At: 2023-06-15T10:30:45Z
============================================================
## File Tree Structure
yourproject/ ├── .gitignore ├── main.go ├── utils.go └── docs/ ├── README.md └── usage.md
============================================================
## File Contents
### File: .gitignore
node_modules/ *.log dist/
---
### File: main.go
```go
package main
import (
"fmt"
)
func main() {
fmt.Println("Hello, world!")
}
package main
// ... file content here ...
</details>
## 📝 License
MIT License - See LICENSE file for details.
---
<p align="center">
Made with ❤️ for better LLM interactions
<br>
<a href="https://github.com/username/llmify">Star on GitHub</a>
</p>
FAQs
A CLI tool that generates codebase context for LLMs
We found that llmify 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
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.