x 4453856fd1 Use NSURL and writeObjects for pasteboard files
Create an NSURL from the path and write it to the general pasteboard
with writeObjects:. Add nil checks for the created NSURL and remove the
legacy NSFilenamesPboardType setPropertyList code.
2026-01-31 02:10:20 +01:00
2026-01-30 19:21:54 +01:00
2026-01-30 19:21:54 +01:00
2026-01-30 19:21:54 +01:00
2026-01-30 19:21:54 +01:00
2026-01-31 01:53:12 +01:00
2026-01-30 19:21:54 +01:00
2026-01-30 19:23:37 +01:00
2026-01-30 19:21:54 +01:00
2026-01-30 19:21:54 +01:00

ctx

CLI to convert a directory tree and file contents into a single text file for LLM context. It respects .gitignore and comes with sensible defaults for ignoring binaries and lockfiles.

Installation

Go Install

go install github.com/skidoodle/ctx@latest

Binaries

Download pre-compiled binaries for Windows, macOS, and Linux from the Releases page.

Usage

Generate context for the current directory (outputs to ctx.txt):

ctx .

Generate context for a specific folder and save to a custom file:

ctx -o context.md ./src

Configuration

ctx ignores common artifacts (node_modules, .git, binaries) by default. To edit the global ignore list:

ctx -config

License

MIT

Languages
Go 100%