{"id":34656869,"url":"https://github.com/lucasepe/txtree","last_synced_at":"2026-04-29T21:34:51.648Z","repository":{"id":327697702,"uuid":"1108523894","full_name":"lucasepe/txtree","owner":"lucasepe","description":"Visualize your data, branch by branch.","archived":false,"fork":false,"pushed_at":"2025-12-24T16:03:25.000Z","size":36,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-26T07:13:24.528Z","etag":null,"topics":["ascii","command-line","golang","json","renderer","terminal","text","tree","tree-layout","treeview"],"latest_commit_sha":null,"homepage":"","language":"Go","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/lucasepe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-02T15:06:23.000Z","updated_at":"2025-12-24T16:02:28.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/lucasepe/txtree","commit_stats":null,"previous_names":["lucasepe/txtree"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/lucasepe/txtree","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasepe%2Ftxtree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasepe%2Ftxtree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasepe%2Ftxtree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasepe%2Ftxtree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lucasepe","download_url":"https://codeload.github.com/lucasepe/txtree/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucasepe%2Ftxtree/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32445487,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T20:22:27.477Z","status":"ssl_error","status_checked_at":"2026-04-29T20:22:26.507Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["ascii","command-line","golang","json","renderer","terminal","text","tree","tree-layout","treeview"],"created_at":"2025-12-24T18:21:09.729Z","updated_at":"2026-04-29T21:34:51.643Z","avatar_url":"https://github.com/lucasepe.png","language":"Go","funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=FV575PVWGXZBY\u0026source=url"],"categories":[],"sub_categories":[],"readme":"\n# `txtree`\n\nVisualize your data, branch by branch.\n\n\u003e A command-line tool to **visualize structured data as ASCII/Unicode trees**.\n\nIt works both with plain indented text and JSON input.\n\n## Features\n\n* Convert JSON or indented text into a clean tree view\n* Multiple layout styles (right-aligned or top-down)\n* Optional alphabetical sorting of JSON object keys\n* Works with stdin or file inputs\n* Unicode connectors for readable output\n\n## Usage\n\n```\ntxtree [flags] [file]\n```\n\nIf no file is provided, txtree reads from [stdin].\n\n\n## Examples\n\n### Pipe JSON from [stdin]\n\n```sh\ncat api-response.json | txtree\n```\n\n### Read JSON from file\n\n```sh\ntxtree api-response.json\n```\n\n### Parse indented text\n\n```sh\ntxtree -i text notes.txt\n```\n\n### Use a different layout\n\n```sh\ntxtree -l 3 data.json\n```\n\n## Flags\n\n```\n-h    Show help\n        (default: false)\n\n-i    Input format (auto, text, json)\n       ↳ (default: auto)\n\n-l    Layout style:\n        0 = right-center\n        1 = right-top\n        2 = right-bottom\n        3 = top-down\n        (default: 0)\n\n-s    Sort keys alphabetically (JSON only)\n        (default: false)\n```\n\nNote: `-s` applies only when `-i=json`.\nSorting does not affect plain text mode.\n\n\n## Support\n\nAll tools are completely free to use, with every feature fully unlocked and accessible.\n\nIf you find one or more of these tool helpful, please consider supporting its development with a donation.\n\nYour contribution, no matter the amount, helps cover the time and effort dedicated to creating and maintaining these tools, ensuring they remain free and receive continuous improvements.\n\nEvery bit of support makes a meaningful difference and allows me to focus on building more tools that solve real-world challenges.\n\nThank you for your generosity and for being part of this journey!\n\n[![Donate with PayPal](https://img.shields.io/badge/💸-Tip%20me%20on%20PayPal-0070ba?style=for-the-badge\u0026logo=paypal\u0026logoColor=white)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=FV575PVWGXZBY\u0026source=url)\n\n## How To Install\n\n### Using the _install.sh_ script (macOS \u0026 linux)\n\nSimply run the following command in your terminal:\n\n```sh\ncurl -sL https://raw.githubusercontent.com/lucasepe/txtree/main/install.sh | bash\n```\n\nThis script will:\n\n- Detect your operating system and architecture\n- Download the latest release binary\n- Install it into _/usr/local/bin_ (requires sudo)\n  - otherwise fallback to _$HOME/.local/bin_ \n- Make sure the install directory is in your _PATH_ environment variable\n\n\n### Manually download the latest binaries from the [releases page](https://github.com/lucasepe/txtree/releases/latest):\n\n- [macOS](https://github.com/lucasepe/txtree/releases/latest)\n- [Windows](https://github.com/lucasepe/txtree/releases/latest)\n- [Linux (arm64)](https://github.com/lucasepe/txtree/releases/latest)\n- [Linux (amd64)](https://github.com/lucasepe/txtree/releases/latest)\n\nUnpack the binary into any directory that is part of your _PATH_.\n\n## If you have [Go](https://go.dev/dl/) installed\n\nYou can also install it using:\n\n```bash\ngo install github.com/lucasepe/txtree@latest\n```\n\nMake sure your `$GOPATH/bin` is in your PATH to run `txtree` from anywhere.\n\n\n\n[stdin]: https://en.wikipedia.org/wiki/Standard_streams","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucasepe%2Ftxtree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucasepe%2Ftxtree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucasepe%2Ftxtree/lists"}