{"id":15696993,"url":"https://github.com/erikh/ttygrid","last_synced_at":"2025-05-08T22:27:44.088Z","repository":{"id":57670745,"uuid":"381225133","full_name":"erikh/ttygrid","owner":"erikh","description":"Automatically collapse tables based on the width of your terminal","archived":false,"fork":false,"pushed_at":"2023-09-24T05:00:53.000Z","size":35,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-20T09:39:09.177Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","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/erikh.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-06-29T03:15:07.000Z","updated_at":"2024-01-08T23:05:22.000Z","dependencies_parsed_at":"2024-10-03T19:10:50.156Z","dependency_job_id":"45ad2aa8-7c7a-4577-a195-2ecd275a25db","html_url":"https://github.com/erikh/ttygrid","commit_stats":{"total_commits":21,"total_committers":1,"mean_commits":21.0,"dds":0.0,"last_synced_commit":"884ffbe9b1fcfbc8ef64e0930b58fadf5babcd45"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erikh%2Fttygrid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erikh%2Fttygrid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erikh%2Fttygrid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erikh%2Fttygrid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/erikh","download_url":"https://codeload.github.com/erikh/ttygrid/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253156936,"owners_count":21863026,"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":"2024-10-03T19:10:44.858Z","updated_at":"2025-05-08T22:27:44.070Z","avatar_url":"https://github.com/erikh.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ttygrid: reactive layouts for terminal tables\n\nttygrid makes your tables into reactive layouts. You feed it your contents and\nthe columns you want to show, and it will calculate what to show based on the\nlength of text in the table column, and the \"priority\", an ascending number\nindicating display priority within the table.\n\nThe result is something like [this](https://asciinema.org/a/609115) with [the\ndemo source here](examples/demo.rs). Padding is allocated for all columns so\nthe tables are presented nicely and orderly.\n\n**ttygrid does not work with stream I/O. Terminal I/O only!**. At this point,\nyou must detect if you are a TTY _before_ invoking ttygrid calls.\n\nttygrid uses crossterm underneath the hood to detect the width of the terminal\nas well as manage colors when they are desired.\n\n## Usage\n\n[docs.rs has it all](https://docs.rs/ttygrid/).\n\n## Author\n\nErik Hollensbe \u003cgithub@hollensbe.org\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferikh%2Fttygrid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferikh%2Fttygrid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferikh%2Fttygrid/lists"}