{"id":18053802,"url":"https://github.com/hymkor/pipe2excel","last_synced_at":"2025-04-10T22:53:27.823Z","repository":{"id":57567526,"uuid":"139260553","full_name":"hymkor/pipe2excel","owner":"hymkor","description":"Pipe2excel sends the contents of STDIN or specified files to Microsoft Excel as CSV data.","archived":false,"fork":false,"pushed_at":"2025-03-30T03:27:38.000Z","size":80,"stargazers_count":16,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T22:53:22.537Z","etag":null,"topics":["csv","excel","go","golang"],"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/hymkor.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":"2018-06-30T15:41:35.000Z","updated_at":"2025-04-09T10:13:04.000Z","dependencies_parsed_at":"2024-06-19T04:08:11.809Z","dependency_job_id":"d27b4244-5763-4a18-8a59-0ec054f83c68","html_url":"https://github.com/hymkor/pipe2excel","commit_stats":null,"previous_names":["zetamatta/pipe2excel"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hymkor%2Fpipe2excel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hymkor%2Fpipe2excel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hymkor%2Fpipe2excel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hymkor%2Fpipe2excel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hymkor","download_url":"https://codeload.github.com/hymkor/pipe2excel/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248312172,"owners_count":21082638,"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","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":["csv","excel","go","golang"],"created_at":"2024-10-31T00:08:06.112Z","updated_at":"2025-04-10T22:53:27.814Z","avatar_url":"https://github.com/hymkor.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"Pipe To Excel\r\n=============\r\n[![GoDev](https://pkg.go.dev/badge/github.com/hymkor/pipe2excel)](https://pkg.go.dev/github.com/hymkor/pipe2excel)\r\n\r\n`pipe2excel` sends the contents of STDIN or specified files to Microsoft Excel as CSV data.\r\n\r\n- Each CSV value is inserted as a string.\r\n    - However, values matching `/^\\-?[1-9]\\d*(\\.\\d*[1-9])?$/` are treated as numbers.\r\n- The CSV encoding is automatically detected, supporting both UTF-8 and the system's current code page.\r\n\r\nInstall\r\n-------\r\n\r\nYou can install pipe2excel in the following ways:\r\n\r\n### Downloading the Binary\r\n\r\nDownload the binary package from the [Releases] page and extract the executable.\r\n\r\n[Releases]: https://github.com/hymkor/pipe2excel/releases\r\n\r\n### Using `go install`\r\n\r\n```\r\ngo install github.com/hymkor/pipe2excel@latest\r\n```\r\n\r\n### Using Scoop (Windows)\r\n\r\n```\r\nscoop install https://raw.githubusercontent.com/hymkor/pipe2excel/master/pipe2excel.json\r\n```\r\n\r\nor\r\n\r\n```\r\nscoop bucket add hymkor https://github.com/hymkor/scoop-bucket\r\nscoop install hymkor/pipe2excel\r\n```\r\n\r\nHow to Use\r\n----------\r\n\r\n### OLE Mode (Windows Only)\r\n\r\n```\r\nC:\\\u003e pipe2excel foo.csv bar.csv\r\n```\r\n\r\n```\r\nC:\\\u003e type foo.csv | pipe2excel\r\n```\r\n\r\nThis launches Microsoft Excel and opens the CSV files.\r\n\r\n### Non-OLE Mode (Windows \u0026amp; Linux)\r\n\r\n```\r\nC:\\\u003e pipe2excel -o foo.xlsx foo.csv\r\n```\r\n\r\nIt does not start Microsoft Excel. Instead, it creates `foo.xlsx` directly.\r\n\r\n### Options\r\n\r\n* `-f string` → Field Sperator (default `,`)\r\n* `-o string` → Save to a file and exit immediately without starting Excel\r\n* `-v` → Show version information\r\n\r\nSource CSV Data (Sample)\r\n------------------------\r\n\r\n![image](foo-csv.png)\r\n\r\nOutput Excel Data (Sample)\r\n--------------------------\r\n\r\n![image](foo-xls.png)\r\n\r\nHistory\r\n-------\r\n\r\n### v0.5.2 (Feb 19 2022)\r\n\r\n- Fixed package dependency issues.\r\n- Moved or copied some packages into the `internal` directory.\r\n- Changed package owner to `hymkor`.\r\n\r\n### v0.5.1 (May 28, 2021)\r\n\r\n- Added Linux support (requires the `-o` option).\r\n- [#1] Fixed a panic when reading CSV from STDIN and using `-o`.\r\n\r\n[#1]: https://github.com/hymkor/pipe2excel/issues/1\r\n\r\n### v0.5.0 (Aug 08, 2018)\r\n\r\n- When `-o FILENAME` is specified, use [tealeg/xlsx](https://github.com/tealeg/xlsx) instead of [go-ole/go-ole](https://github.com/go-ole/go-ole).\r\n- Removed `-s` and `-q` options; their features are now enabled by `-o`.\r\n\r\n### v0.4.0 (Aug 05, 2018)\r\n\r\n- Added the `-f` option to set the field separator.\r\n- No longer treats negative integers as strings.\r\n\r\n### v0.3.0 (Jul 11, 2018)\r\n\r\n- Fixed COM release leak.\r\n- Display help if no arguments are provided and STDIN is not redirected.\r\n\r\n### 0.2.0 (Jul 01, 2018)\r\n\r\n- Only treats values matching `/^[1-9]\\d*(\\.\\d*[1-9])?$/` as numbers.\r\n\r\n### v0.1.0 (Jul 01, 2018)\r\n\r\n- Inserted all cells as strings.\r\n- Automatically detected encoding (UTF-8 or system code page) and removed the `-u` option.\r\n- Added the `-v` option to display the version.\r\n\r\n### v0.0.1 (Jul 01, 2018)\r\n\r\n- Initial prototype.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhymkor%2Fpipe2excel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhymkor%2Fpipe2excel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhymkor%2Fpipe2excel/lists"}