{"id":14008105,"url":"https://github.com/alash3al/re-txt","last_synced_at":"2025-04-28T14:26:58.885Z","repository":{"id":57561215,"uuid":"327905773","full_name":"alash3al/re-txt","owner":"alash3al","description":"converts text-formats from one to another, it is very useful if you want to re-format a json file to yaml, toml to yaml, csv to yaml, ... etc","archived":false,"fork":false,"pushed_at":"2024-02-17T09:33:54.000Z","size":12,"stargazers_count":63,"open_issues_count":0,"forks_count":7,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-30T10:33:39.112Z","etag":null,"topics":["csv","json","text-transformations","toml","yaml"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alash3al.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-01-08T13:07:54.000Z","updated_at":"2024-10-21T22:20:25.000Z","dependencies_parsed_at":"2024-06-20T13:06:12.789Z","dependency_job_id":"4a3c3a91-8bbd-445b-9e32-f92f5d15ab7f","html_url":"https://github.com/alash3al/re-txt","commit_stats":null,"previous_names":["alash3al/a2a"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alash3al%2Fre-txt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alash3al%2Fre-txt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alash3al%2Fre-txt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alash3al%2Fre-txt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alash3al","download_url":"https://codeload.github.com/alash3al/re-txt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251328676,"owners_count":21571959,"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","json","text-transformations","toml","yaml"],"created_at":"2024-08-10T11:01:13.857Z","updated_at":"2025-04-28T14:26:58.856Z","avatar_url":"https://github.com/alash3al.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"re-txt\n==========\n\u003e reformates a text file from a structure to another, i.e: convert from json to yaml, toml to json, ... etc\n\nSupported Source Formats\n=========================\n- json\n- yaml\n- hcl\n- toml\n- csv\n\nSupported Target Formats\n=========================\n- json\n- yaml\n- toml\n\nExamples\n=========\n\n```bash\n# json to yaml using flag\n$ re-txt --src example.json json2yaml\n\n# json to yaml using stdin pipe\n$ cat example.json | re-txt json2yaml\n\n# csv to yaml by first converting to json\n$ cat example.csv | re-txt csv2json | re-txt json2yaml\n\n# csv to yaml by first converting to json\n# also merge multiple json files and convert the piped result \u0026 them into yaml\n$ cat example.csv | re-txt csv2json | re-txt --dest ./result.yaml --src=another1.json --src=another2.json json2yaml\n```\n\nInstallations\n==============\n- from source: `go get github.com/alash3al/re-txt`\n- binary download: go to [there](https://github.com/alash3al/re-txt/releases) and download the binary which support your env","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falash3al%2Fre-txt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falash3al%2Fre-txt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falash3al%2Fre-txt/lists"}