{"id":24557779,"url":"https://github.com/timclicks/thisthat","last_synced_at":"2025-04-19T03:15:17.386Z","repository":{"id":63486896,"uuid":"568224276","full_name":"timClicks/thisthat","owner":"timClicks","description":"Data conversion utility","archived":false,"fork":false,"pushed_at":"2022-12-18T08:11:45.000Z","size":14,"stargazers_count":39,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-15T03:05:19.079Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/timClicks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-11-19T20:52:33.000Z","updated_at":"2025-02-14T13:59:44.000Z","dependencies_parsed_at":"2023-01-29T18:40:13.151Z","dependency_job_id":null,"html_url":"https://github.com/timClicks/thisthat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timClicks%2Fthisthat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timClicks%2Fthisthat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timClicks%2Fthisthat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timClicks%2Fthisthat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timClicks","download_url":"https://codeload.github.com/timClicks/thisthat/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249598185,"owners_count":21297464,"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":[],"created_at":"2025-01-23T05:29:30.872Z","updated_at":"2025-04-19T03:15:17.352Z","avatar_url":"https://github.com/timClicks.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# thisthat\n\nData format conversion utility.\n\n## About\n\n**thisthat** provides a command-line tool `tt` for converting between data formats.\nIt can to and from convert between these formats:\n\n- CBOR\n- JSON\n- MsgPack\n- YAML\n- Pickle\n- RON\n- TOML\n- x-www-form-urlencoded (\"url\" or \"www-form\")\n\n## Usage\n\n`tt` reads from stdin and writes to stdout. Specify the formats using positional\nparameters, e.g. `tt THIS THAT`. For example, to convert from JSON to TOML, use\n`tt json toml`.\n\n```console\n$  echo '{\"abc\": 123 }' | tt json toml\nabc = 123\n```\n\nTo convert data from a file, use `cat` (or an equivalent tool) to do the reading.\n\n```console\n$ echo '{\"abc\": 123 }' \u003e /tmp/example.json\n$ cat /tmp/example.json | tt json toml\nabc = 123\n```\n\nSome formats produce non-printable characters. Send the output to anther tool to\ngenerate readable output.\n\n```console\n$  echo '{\"abc\": 123 }' | tt json msgpack | base64\ngaNhYmN7\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimclicks%2Fthisthat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimclicks%2Fthisthat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimclicks%2Fthisthat/lists"}