{"id":16833952,"url":"https://github.com/linus789/xcol","last_synced_at":"2025-03-18T02:23:32.082Z","repository":{"id":57672462,"uuid":"369612936","full_name":"Linus789/xcol","owner":"Linus789","description":null,"archived":false,"fork":false,"pushed_at":"2022-11-30T18:38:45.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T06:55:04.251Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://crates.io/crates/xcol","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Linus789.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}},"created_at":"2021-05-21T17:47:50.000Z","updated_at":"2022-11-30T18:38:50.000Z","dependencies_parsed_at":"2023-01-22T02:02:52.226Z","dependency_job_id":null,"html_url":"https://github.com/Linus789/xcol","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/Linus789%2Fxcol","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Linus789%2Fxcol/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Linus789%2Fxcol/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Linus789%2Fxcol/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Linus789","download_url":"https://codeload.github.com/Linus789/xcol/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244142017,"owners_count":20404927,"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-13T11:55:42.818Z","updated_at":"2025-03-18T02:23:32.064Z","avatar_url":"https://github.com/Linus789.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# xcol\nxcol is an alternative to [column(1)](https://man7.org/linux/man-pages/man1/column.1.html) with better ansi/color support.\n\nUpdate: I found out `column` didn’t work because I had `LC_ALL=C` set.\n\n## Installation\nIn order to install, just run the following command\n\n```\ncargo install --force xcol\n```\n\nThis will install git-user in your `~/.cargo/bin` (or Windows: `%USERPROFILE%\\.cargo\\bin`).\n\nMake sure to add the `~/.cargo/bin` (or Windows: `%USERPROFILE%\\.cargo\\bin`) directory to your PATH variable.\n\n## Comparison\ncolumn:\n```\n$ echo -e \"I \\033[0;31m\\033[?1000hlike Stack Overflow\\n\\033[0mI like \\033[0;31mcolors :)\" | column -t -o \"   \"\nI   like   Stack    Overflow\nI   like          colors   :)\n```\n\nxcol:\n```\n$ echo -e \"I \\033[0;31m\\033[?1000hlike Stack Overflow\\n\\033[0mI like \\033[0;31mcolors :)\" | xcol -o \"   \"\nI   like   Stack    Overflow\nI   like   colors   :)\n```\n\n![](demo.png)\n\n## Help menu\n```\nxcol 0.1\nLinus789\n\nUSAGE:\n    xcol [OPTIONS]\n\nFLAGS:\n    -h, --help       Prints help information\n    -V, --version    Prints version information\n\nOPTIONS:\n    -a, --alignment \u003calignment\u003e\n            Specify a column's alignment, may be repeated (default is left)\n            Use 'l', 'r', 'c' for left, right, center alignment\n            \n            Examples:\n            All columns left: xcol --alignment l\n            Left, center, right: xcol --alignment lcr\n\n    -o, --output-separator \u003coutput-separator\u003e\n            Specify the possible input item delimiters (default is whitespace)\n\n    -s, --separator \u003cseparator\u003e\n            Specify the columns delimiter for table output (default is whitespace)\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinus789%2Fxcol","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinus789%2Fxcol","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinus789%2Fxcol/lists"}