{"id":15701060,"url":"https://github.com/ksxgithub/strip-ansi-cli","last_synced_at":"2025-05-05T21:47:37.883Z","repository":{"id":42194614,"uuid":"294614378","full_name":"KSXGitHub/strip-ansi-cli","owner":"KSXGitHub","description":"Strip ANSI escape sequences from text","archived":false,"fork":false,"pushed_at":"2025-02-17T05:30:51.000Z","size":105,"stargazers_count":10,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-16T06:20:18.519Z","etag":null,"topics":["ansi-colors","cli","color","escape","escape-sequences","strip-ansi"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/KSXGitHub.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","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},"funding":{"github":null,"patreon":"khai96_","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2020-09-11T06:36:05.000Z","updated_at":"2025-02-17T05:30:48.000Z","dependencies_parsed_at":"2024-03-10T16:32:34.044Z","dependency_job_id":"b291f536-414f-4e33-afda-58b537055fa6","html_url":"https://github.com/KSXGitHub/strip-ansi-cli","commit_stats":{"total_commits":74,"total_committers":2,"mean_commits":37.0,"dds":"0.41891891891891897","last_synced_commit":"979cf72bc5b76274304c34e9dec61f9da0f9d574"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KSXGitHub%2Fstrip-ansi-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KSXGitHub%2Fstrip-ansi-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KSXGitHub%2Fstrip-ansi-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KSXGitHub%2Fstrip-ansi-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KSXGitHub","download_url":"https://codeload.github.com/KSXGitHub/strip-ansi-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252582619,"owners_count":21771697,"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":["ansi-colors","cli","color","escape","escape-sequences","strip-ansi"],"created_at":"2024-10-03T19:59:04.439Z","updated_at":"2025-05-05T21:47:37.857Z","avatar_url":"https://github.com/KSXGitHub.png","language":"Shell","funding_links":["https://patreon.com/khai96_"],"categories":[],"sub_categories":[],"readme":"# strip-ansi-cli\n\n[![Test](https://github.com/KSXGitHub/strip-ansi-cli/workflows/Test/badge.svg)](https://github.com/KSXGitHub/strip-ansi-cli/actions?query=workflow%3ATest)\n[![Crates.io Version](https://img.shields.io/crates/v/strip-ansi-cli?logo=rust)](https://crates.io/crates/strip-ansi-cli)\n\nStrip ANSI escape sequences from text.\n\n## Usage\n\n### Stdin as input\n\n```sh\nls --color=always | strip-ansi\n```\n\n### Argument as input\n\n```sh\nstrip-ansi \"$(ls --color=always)\"\n```\n\n### Print help message\n\n```sh\nstrip-ansi --help\n```\n\n## Installation\n\n### Manually build from source\n\n1. Make sure to have `cargo` and `rustc` installed. If not, you may install it using [rustup](https://rustup.rs/).\n\n2. Clone this repository.\n\n3. Run `cargo build --release --locked` in the repo root.\n\n4. The binary should be created at `$REPO_DIR/target/release/strip-ansi`.\n\n### Manually download prebuilt binary\n\nGo to [the Release Page](https://github.com/KSXGitHub/strip-ansi-cli/releases) and find file whose name contains `strip-ansi` and your platform name.\n\n### From [Crates.io](https://crates.io/crates/strip-ansi-cli)\n\n```sh\ncargo install strip-ansi-cli\n```\n\n### From the [Arch User Repository](https://aur.archlinux.org)\n\n#### [Build from source](https://aur.archlinux.org/packages/strip-ansi)\n\n```sh\nyay -S strip-ansi\n```\n\n#### [Prebuilt binary](https://aur.archlinux.org/packages/strip-ansi-bin)\n\n```sh\nyay -Ss strip-ansi-bin\n```\n\n## License\n\n[MIT](https://git.io/JUWVF) © [Hoàng Văn Khải](https://github.com/KSXGitHub/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fksxgithub%2Fstrip-ansi-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fksxgithub%2Fstrip-ansi-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fksxgithub%2Fstrip-ansi-cli/lists"}