{"id":20282800,"url":"https://github.com/ruzhila/excel_csv_to_json_or_markdown","last_synced_at":"2026-06-11T07:31:11.668Z","repository":{"id":236472832,"uuid":"792679679","full_name":"ruzhila/excel_csv_to_json_or_markdown","owner":"ruzhila","description":"A Go program that converts data from Excel or CSV files to JSON or Markdown format.","archived":false,"fork":false,"pushed_at":"2024-04-30T10:32:48.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-04T03:32:13.179Z","etag":null,"topics":["100-line-code","campus-project","csv-to-json","csv-to-markdown","golang"],"latest_commit_sha":null,"homepage":"https://ruzhila.cn/blog?from=github_excel_go","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ruzhila.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":"2024-04-27T09:00:21.000Z","updated_at":"2024-04-30T10:32:51.000Z","dependencies_parsed_at":"2024-04-30T12:09:26.387Z","dependency_job_id":null,"html_url":"https://github.com/ruzhila/excel_csv_to_json_or_markdown","commit_stats":null,"previous_names":["ruzhila/excel_csv_to_json_or_markdown"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ruzhila/excel_csv_to_json_or_markdown","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruzhila%2Fexcel_csv_to_json_or_markdown","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruzhila%2Fexcel_csv_to_json_or_markdown/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruzhila%2Fexcel_csv_to_json_or_markdown/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruzhila%2Fexcel_csv_to_json_or_markdown/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ruzhila","download_url":"https://codeload.github.com/ruzhila/excel_csv_to_json_or_markdown/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruzhila%2Fexcel_csv_to_json_or_markdown/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34188272,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-11T02:00:06.485Z","response_time":57,"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":["100-line-code","campus-project","csv-to-json","csv-to-markdown","golang"],"created_at":"2024-11-14T14:12:00.111Z","updated_at":"2026-06-11T07:31:11.599Z","avatar_url":"https://github.com/ruzhila.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Excel/CSV to JSON/Markdown Converter\n\nThis repository contains a Go program that converts data from Excel or CSV files to JSON or Markdown format. \n\nBy [ruzhila.cn](http://ruzhila.cn/?from=github_mget), a campus for learning backend development through practice.\n\n### 🚀 [100-line-code](https://github.com/ruzhila/100-line-code)  A collection of learning projects written in 100 lines of code \n\nThis is a tutorial code demonstrating how to use Golang for data transformation. Pull requests are welcome. 👏\n\n\n## Description\n\nThe program takes two command-line arguments: the input file and the output file. It reads the data from the input file and writes it to the output file in the specified format. The format is determined by the file extension.\n\n- If the output file has a `.json` extension, the program writes the data as an array of JSON objects. The keys of the objects are taken from the first row of the input file, and each subsequent row is written as a separate object.\n\n- If the output file has a `.md` extension, the program writes the data as a Markdown table. \n\n## Usage\n\n```bash\ngo run main.go input.xlsx output.json\ngo run main.go input.csv output.md\n```\n\n## Dependencies\n\nThis program uses the following Go libraries:\n\n- `encoding/csv` for reading CSV files\n- `encoding/json` for writing JSON files\n- `os` for file operations\n- `path/filepath` for handling file paths\n- `github.com/qax-os/excelize` for reading Excel files\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruzhila%2Fexcel_csv_to_json_or_markdown","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fruzhila%2Fexcel_csv_to_json_or_markdown","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruzhila%2Fexcel_csv_to_json_or_markdown/lists"}