Skip to content

Introduction

Smart code context extraction for AI assistants. Process codebases efficiently with accurate token counting and intelligent filtering.

  • Smart Filtering — .gitignore integration with intelligent defaults
  • Token Analysis — Accurate GPT-compatible counting with tiktoken
  • Project Detection — Language and framework identification
  • Multiple Formats — Markdown and XML output options
  • Performance Focused — Optimized for large codebases
Terminal window
# Install
go install github.com/1broseidon/promptext/cmd/promptext@latest
# Extract current directory
promptext
# Analyze specific project
promptext -d /path/to/project

Continue with Getting Started for detailed setup and usage.