{"id":26584159,"url":"https://github.com/entityprocess/exceltocsv","last_synced_at":"2026-04-20T09:02:23.006Z","repository":{"id":282556287,"uuid":"948973765","full_name":"EntityProcess/exceltocsv","owner":"EntityProcess","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-15T11:44:03.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T09:19:33.947Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","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/EntityProcess.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}},"created_at":"2025-03-15T11:43:47.000Z","updated_at":"2025-03-15T11:45:21.000Z","dependencies_parsed_at":"2025-03-15T12:37:57.405Z","dependency_job_id":null,"html_url":"https://github.com/EntityProcess/exceltocsv","commit_stats":null,"previous_names":["entityprocess/exceltocsv"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/EntityProcess/exceltocsv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EntityProcess%2Fexceltocsv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EntityProcess%2Fexceltocsv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EntityProcess%2Fexceltocsv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EntityProcess%2Fexceltocsv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EntityProcess","download_url":"https://codeload.github.com/EntityProcess/exceltocsv/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EntityProcess%2Fexceltocsv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32040353,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"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":[],"created_at":"2025-03-23T09:19:22.543Z","updated_at":"2026-04-20T09:02:22.928Z","avatar_url":"https://github.com/EntityProcess.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ExcelToCsv\n\nA command-line tool that converts Excel files (XLS/XLSX) to CSV format. This tool is specifically designed to work with Git's textconv feature, allowing you to search through Excel files in your Git history.\n\n## Features\n\n- Converts Excel files (XLS/XLSX) to CSV format\n- Integrates with Git's textconv for searching through Excel file history\n- Enables searching through Excel file contents using Git's search capabilities\n\n## Build\n\n### Prerequisites\n- .NET SDK \n\n### Building from Source\n\n1. Clone the repository\n2. Open a terminal in the project directory\n3. Run the following command to create a release build:\n\n```bash\ndotnet publish -c Release\n```\n\nThe executable will be created in the following path:\n```\nbin/Release/net8.0/publish/ExcelToCsv.exe\n```\n\nYou can either add this directory to your PATH or use the full path when configuring Git.\n\n## Setup\n\n### 1. Configure Git Attributes\n\nAdd the following lines to your `.gitattributes` file:\n\n```\n*.xls diff=excel\n*.xlsx diff=excel\n```\n\nIf you don't have a `.gitattributes` file, create one in your repository's root directory.\n\n### 2. Configure Git's textconv\n\nRun the following command to set up the Excel converter:\n\n```bash\ngit config --global diff.excel.textconv \"ExcelToCsv.exe\"\n```\n\n## Usage\n\nOnce configured, you can search through your Excel files' content in Git history using:\n\n```bash\ngit log -S\"your search string\" -- path/to/your/excel/files\n```\n\nFor example:\n```bash\ngit log -S\"Revenue\" -- reports/*.xlsx\n```\n\nThis will search for the term \"Revenue\" in all Excel files in the reports directory throughout your Git history.\n\n## How It Works\n\nWhen Git needs to search through Excel files, it uses ExcelToCsv to convert the Excel files to a text format (CSV) behind the scenes. This allows Git to perform text-based searches on the contents of Excel files, which would otherwise be impossible due to their binary format.\n\n## Notes\n\n- The converter needs to be in your system PATH or you should provide the full path in the git config command\n- This tool is particularly useful for tracking changes in Excel-based data files, configurations, or reports\n- The conversion is done on-the-fly and doesn't modify your original Excel files","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fentityprocess%2Fexceltocsv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fentityprocess%2Fexceltocsv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fentityprocess%2Fexceltocsv/lists"}