{"repo":"Tanq16/ai-context","free":true,"listed":false,"github":"https://github.com/Tanq16/ai-context","clone":"git clone https://github.com/Tanq16/ai-context.git","description":"CLI tool to produce MD context files from many sources, to help interact with LLMs (ChatGPT, Llama3, Claude, etc.).","language":"Go","stars":176,"topics":["ai","anthropic","chatgpt","claude","cli","context","golang","youtube","github","webpage-capture"],"license":"MIT","category":"cli-tools","readme_excerpt":"AI Context &nbsp; Capabilities &bull; Installation &bull; Usage &bull; Tips & Notes --- Generate AI-friendly markdown files from local code or GitHub repos using a multi-arch, multi-OS Go CLI tool to make your interactions with LLMs (like ChatGPT, Claude, etc.) easy. Capabilities Category Commands Description ---------- ---------- ------------- Processing ai-context [url/path] Process local directories or GitHub repositories Batch ai-context -f [file] Process multiple directories/repositories concurrently from a list file Stats ai-context stats [file] View lines, words, chars, and estimated LLM tokens for a file Installation Binary Download from releases: Build from Source Usage Processing Generate context from a single source. Flags: - --include, -i - Include files matching globs (e.g., ' .go, .md') - --exclude, -e - Exclude files matching globs (e.g., 'tests,docs') - --max-size, -s - Maximum file size in bytes to include (default 10MB) - --debug - Enable debug logging - --for-ai - AI-friendly output (plain text, piped input) Batch Processing Generate context from multiple sources listed in a file. Flags: - --file, -f - File with list of URLs to process - --threads, -t - Number of threads to use for processing (default: 10) File Stats & Token Estimation Analyze any generated context file (or any local file) to see its lines, words, characters, size, and an estimated LLM token count. The token heuristic is mathematically tuned for BPE tokenizers (like GPT-4 and Claude) and is","default_branch":null,"files":null,"tree":[],"storefront":"/r/Tanq16","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Tanq16/ai-context/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}