{"id":30720241,"url":"https://github.com/xcaeser/cm","last_synced_at":"2026-04-24T20:06:55.515Z","repository":{"id":311053923,"uuid":"1036279327","full_name":"xcaeser/cm","owner":"xcaeser","description":"🤖 cumul concatenates all files in a directory into a single text file to provide context to Large Language Models (LLMs).","archived":false,"fork":false,"pushed_at":"2025-10-31T20:27:41.000Z","size":116,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-31T22:14:16.635Z","etag":null,"topics":["cross-platform","executable","zig","ziglang"],"latest_commit_sha":null,"homepage":"","language":"Zig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xcaeser.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-11T20:45:38.000Z","updated_at":"2025-10-31T20:27:43.000Z","dependencies_parsed_at":"2025-09-05T22:08:08.600Z","dependency_job_id":"5fa30b6e-c474-499b-94ff-ef242c27a249","html_url":"https://github.com/xcaeser/cm","commit_stats":null,"previous_names":["xcaeser/cm"],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/xcaeser/cm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xcaeser%2Fcm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xcaeser%2Fcm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xcaeser%2Fcm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xcaeser%2Fcm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xcaeser","download_url":"https://codeload.github.com/xcaeser/cm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xcaeser%2Fcm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32238788,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cross-platform","executable","zig","ziglang"],"created_at":"2025-09-03T11:00:39.584Z","updated_at":"2026-04-24T20:06:55.510Z","avatar_url":"https://github.com/xcaeser.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cumul\n\n`cm` is a fast CLI tool that concatenates text files in a directory into one output file, ideal for LLM context.\n\nIt respects `.gitignore`, skips binaries, dotfiles, and non-text formats (e.g., images).\n\nExecutable name: `cm`.\n\n[![Zig Version](https://img.shields.io/badge/Zig_Version-0.17.0-orange.svg?logo=zig)](README.md)\n[![License: MIT](https://img.shields.io/badge/License-MIT-lightgrey.svg?logo=cachet)](LICENSE)\n[![Built by xcaeser](https://img.shields.io/badge/Built%20by-@xcaeser-blue)](https://github.com/xcaeser)\n[![Version](https://img.shields.io/badge/cumul-v0.4.0-green)](https://github.com/xcaeser/cm/releases)\n\n## Installation\n\n```bash\ncurl -fsSL https://raw.githubusercontent.com/xcaeser/cm/main/install.sh | bash\n```\n\nUpdating is as simple as (linux/macos):\n\n```bash\ncm update\n```\n\nfor windows (powershell): WIP, for now download the binary from the [releases](https://github.com/xcaeser/cm/releases) page.\n\n## Usage\n\n### Basic\n\n```bash\ncm [directory]\n```\n\nGenerates `\u003cdirectory-name\u003e-cumul.txt` with file headers\n\n\u003e running only `cm` scans the current directory\n\n### Options\n\n- `-p, --prefix \u003cstring\u003e`: Prefix output filename (e.g., `cm -p my` → `my-\u003cdir\u003e-cumul.txt`).\n- `-e, --exclude \u003cstring\u003e`: Comma-separated list of file names, extensions, or glob patterns (supports globs). `e.g.: *.md,*.ico,src/cli/*.zig,LICENSE`,\n\n- `-h, --help`: Show help.\n\nOutputs summary: files cumulated, lines, size.\n\n## Features\n\n- Concatenates files with headers.\n- Integrates `.gitignore` (wildcards supported).\n- Filters non-text/dotfiles/output.\n- Custom exclusions.\n\n## Installation from Source\n\n```bash\nzig build install\n```\n\nInstalls `cm` to `$HOME/.local/bin`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxcaeser%2Fcm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxcaeser%2Fcm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxcaeser%2Fcm/lists"}