Share Code with AI, Effortlessly

Select specific files, format them automatically, and get AI help with your code in seconds

📦
Zero Config
⚙️
Cross-Platform
🚀
Lightweight

What is LLMDog?

LLMDog is a command-line tool that helps developers share code with Large Language Models like Claude and ChatGPT. It allows you to select specific files from your project, formats them with proper Markdown, and copies the output to your clipboard.

~/dev
cd my-project
llmdog
🐶 LLMDog v2.0.0

main.go
utils/helpers.go
config.json

Fetched 3 items! 🐕 Woof!
Output copied to clipboard

Quick Start

Install LLMDog and start using it in your projects:

~/install
brew tap doganarif/llmdog
brew install llmdog

# Or install from source
git clone https://github.com/doganarif/llmdog.git
cd llmdog
go build -o llmdog ./cmd/llmdog

Navigate your project with ↑/↓, expand folders with Space, select files with Tab, and press Enter to generate output.

How It Works

Try it now!

Just 3 simple steps: Run the command, select your files, and paste the formatted code directly into any AI assistant. See how LLMDog transforms your workflow below:

1
Run llmdog in your terminal
2
Select files using arrow keys + space
3
Paste formatted output into any AI
👆 Interactive Demo
SELECT FILES (try clicking!)
~/projects/auth-service
📁 src/
🔹 auth.go
🔹 middleware.go
📦 package.json
📝 README.md

Selected: 3 files (4.2KB)
Press Enter to confirm
GENERATED OUTPUT
# Directory Structure ``` src/auth.go src/middleware.go README.md ``` # File Contents ## File: src/auth.go ```go package auth import ( "time" "errors" "github.com/golang-jwt/jwt/v4" ) func GenerateToken(userID string, secret string) (string, error) { token := jwt.New(jwt.SigningMethodHS256) claims := token.Claims.(jwt.MapClaims) claims["user_id"] = userID claims["exp"] = time.Now().Add(time.Hour * 24).Unix() tokenString, err := token.SignedString([]byte(secret)) if err != nil { return "", err } return tokenString, nil } ``` ## File: src/middleware.go ```go package auth import ( "net/http" "github.com/golang-jwt/jwt/v4" ) func AuthMiddleware(secret string) func(http.Handler) http.Handler { return func(next http.Handler) http.Handler { return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { // Auth logic here // ... next.ServeHTTP(w, r) }) } } ``` ## File: README.md ```md # Auth Service Simple authentication service with JWT tokens. ## Features - Token generation - Auth middleware - User validation ## Usage See documentation for examples. ```

Why LLMDog?

Working with LLMs often requires sharing code from multiple files. Manually copying and formatting each file is tedious and error-prone. LLMDog streamlines this process with an interactive interface that preserves the context of your code.

🔖 Bookmarks

Save and reuse common file selections for quick access

🔍 Content Search

Find files by the code they contain, not just by name

📋 Formatted Output

Code is properly formatted in Markdown with syntax highlighting