{"id":30104096,"url":"https://github.com/nuuner/contextfind","last_synced_at":"2025-10-18T13:34:02.930Z","repository":{"id":305824148,"uuid":"1024038350","full_name":"nuuner/contextfind","owner":"nuuner","description":"Quickly get content of files for the LLM","archived":false,"fork":false,"pushed_at":"2025-07-29T15:43:11.000Z","size":589,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-29T18:06:46.330Z","etag":null,"topics":["cli","go","llm","prompt-engineering"],"latest_commit_sha":null,"homepage":"","language":"Go","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/nuuner.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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}},"created_at":"2025-07-22T05:17:23.000Z","updated_at":"2025-07-29T15:43:14.000Z","dependencies_parsed_at":"2025-07-22T07:47:02.263Z","dependency_job_id":"317c6b20-7fae-4a1c-b8b2-5809aaf1c965","html_url":"https://github.com/nuuner/contextfind","commit_stats":null,"previous_names":["nuuner/contextfind"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/nuuner/contextfind","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuuner%2Fcontextfind","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuuner%2Fcontextfind/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuuner%2Fcontextfind/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuuner%2Fcontextfind/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nuuner","download_url":"https://codeload.github.com/nuuner/contextfind/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuuner%2Fcontextfind/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269647171,"owners_count":24453159,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-09T02:00:10.424Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cli","go","llm","prompt-engineering"],"created_at":"2025-08-09T22:15:21.453Z","updated_at":"2025-10-18T13:33:57.898Z","avatar_url":"https://github.com/nuuner.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003e\n  \u003cimg src=\"logo_100x100.png\" alt=\"ContextFind Logo\" width=\"100\" height=\"100\" align=\"left\"\u003e\n  ContextFind\n\u003c/h1\u003e\n\nA CLI tool for selecting files with fzf and outputting their contents. Includes context management for saving and reusing file selections.\n\n![cf demo](./demonstration.gif)\n\n## Prerequisites\n\n- Go 1.24+ installed\n- [fzf](https://github.com/junegunn/fzf) (install via `brew install fzf` on macOS)\n- [markitdown](https://github.com/microsoft/markitdown) for binary file conversion\n- [bat](https://github.com/sharkdp/bat) (optional, for syntax highlighting in preview - install via `brew install bat` on macOS)\n\n## Installation\n\nInstall directly via Go:\n\n```bash\ngo install github.com/nuuner/contextfind/cmd/cf@latest\n```\n\nOr clone and build locally:\n\n```bash\ngit clone https://github.com/nuuner/contextfind.git\ncd contextfind\ngo build -o cf ./cmd/cf\n```\n\n## Usage\n\n### Basic File Selection\n\n```bash\ncf [directory]         # Select files from current or specified directory, automatically saves as last selection\ncf | pbcopy            # Copy output to clipboard\n```\n\n### Last Selection\n\n```bash\ncf last                # Output files from the last selection\ncf save-last [name]    # Save the last selection as a named context (prompts if no name provided)\n```\n\n### Context Management\n\n```bash\ncf save [name]         # Save current file selection as named context (prompts if no name provided)\ncf from [name]         # Load files from saved context\ncf update [name]       # Update existing context with new files\ncf delete [name]       # Delete saved contexts\n```\n\nIf no name is provided for commands like `from`, `update`, or `delete`, fzf will open for interactive selection. Context configurations are stored in `.contextfind.toml` files.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuuner%2Fcontextfind","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnuuner%2Fcontextfind","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuuner%2Fcontextfind/lists"}