Ask HN: Why hasn't x86 caught up with Apple M series?
434 points by stephenheron 3d ago 616 comments
Ask HN: Best codebases to study to learn software design?
106 points by pixelworm 5d ago 90 comments
Show HN: Cumul – Concatenate all files in a directory for LLMs
2 caeser 0 8/29/2025, 9:58:14 AM github.com ↗
Cumul is a lightweight CLI tool that concatenates text files in a directory into a single file, optimized for providing context to Large Language Models (LLMs).
It respects .gitignore, filters out binaries and non-text files, adds path headers, and generates a summary report.
Key features:
Exclude patterns via options (e.g., -e .json,.md). Custom output prefix (e.g., -p my). Built in Zig for efficiency.
Install via:
curl -fsSL https://raw.githubusercontent.com/xcaeser/cm/main/install.sh | bash
Usage: cm [directory] outputs <directory-name>-cumul.txt.
Developed to streamline LLM workflows in development.
Feedback welcome.
No comments yet