{"id":13559457,"url":"https://github.com/acheronfail/repgrep","last_synced_at":"2025-10-05T13:44:09.857Z","repository":{"id":46616087,"uuid":"273803673","full_name":"acheronfail/repgrep","owner":"acheronfail","description":"An interactive replacer for ripgrep that makes it easy to find and replace across files on the command line.","archived":false,"fork":false,"pushed_at":"2025-06-18T05:24:47.000Z","size":8540,"stargazers_count":457,"open_issues_count":9,"forks_count":6,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-09-14T03:55:57.868Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/acheronfail.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE-APACHE","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":"2020-06-20T23:58:19.000Z","updated_at":"2025-09-09T23:32:57.000Z","dependencies_parsed_at":"2023-12-15T14:27:03.220Z","dependency_job_id":"e3909848-ac32-4095-89e4-352d707d7140","html_url":"https://github.com/acheronfail/repgrep","commit_stats":{"total_commits":250,"total_committers":3,"mean_commits":83.33333333333333,"dds":0.008000000000000007,"last_synced_commit":"3778c5b131923860c4b99e4d31124a92ce7211a9"},"previous_names":[],"tags_count":53,"template":false,"template_full_name":null,"purl":"pkg:github/acheronfail/repgrep","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acheronfail%2Frepgrep","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acheronfail%2Frepgrep/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acheronfail%2Frepgrep/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acheronfail%2Frepgrep/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/acheronfail","download_url":"https://codeload.github.com/acheronfail/repgrep/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/acheronfail%2Frepgrep/sbom","scorecard":{"id":162718,"data":{"date":"2025-08-11","repo":{"name":"github.com/acheronfail/repgrep","commit":"e69d670d1a143b72b6e5ae5e7de61777bbd823fc"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.5,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/5 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Warn: no topLevel permission defined: .github/workflows/release.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":1,"reason":"0 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/acheronfail/repgrep/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/acheronfail/repgrep/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/acheronfail/repgrep/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/acheronfail/repgrep/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/acheronfail/repgrep/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:139: update your workflow using https://app.stepsecurity.io/secureworkflow/acheronfail/repgrep/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:144: update your workflow using https://app.stepsecurity.io/secureworkflow/acheronfail/repgrep/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:167: update your workflow using https://app.stepsecurity.io/secureworkflow/acheronfail/repgrep/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:106: update your workflow using https://app.stepsecurity.io/secureworkflow/acheronfail/repgrep/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:122: update your workflow using https://app.stepsecurity.io/secureworkflow/acheronfail/repgrep/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:130: update your workflow using https://app.stepsecurity.io/secureworkflow/acheronfail/repgrep/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:162: update your workflow using https://app.stepsecurity.io/secureworkflow/acheronfail/repgrep/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:227: update your workflow using https://app.stepsecurity.io/secureworkflow/acheronfail/repgrep/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:244: update your workflow using https://app.stepsecurity.io/secureworkflow/acheronfail/repgrep/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:255: update your workflow using https://app.stepsecurity.io/secureworkflow/acheronfail/repgrep/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/acheronfail/repgrep/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/acheronfail/repgrep/release.yml/master?enable=pin","Info:   0 out of  12 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   5 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE-APACHE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE-APACHE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/release.yml:238"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 0.16.1 not signed: https://api.github.com/repos/acheronfail/repgrep/releases/216712997","Warn: release artifact 0.16.0 not signed: https://api.github.com/repos/acheronfail/repgrep/releases/199833168","Warn: release artifact 0.15.0 not signed: https://api.github.com/repos/acheronfail/repgrep/releases/134240389","Warn: release artifact 0.14.3 not signed: https://api.github.com/repos/acheronfail/repgrep/releases/115688395","Warn: release artifact 0.14.2 not signed: https://api.github.com/repos/acheronfail/repgrep/releases/113292752","Warn: release artifact 0.16.1 does not have provenance: https://api.github.com/repos/acheronfail/repgrep/releases/216712997","Warn: release artifact 0.16.0 does not have provenance: https://api.github.com/repos/acheronfail/repgrep/releases/199833168","Warn: release artifact 0.15.0 does not have provenance: https://api.github.com/repos/acheronfail/repgrep/releases/134240389","Warn: release artifact 0.14.3 does not have provenance: https://api.github.com/repos/acheronfail/repgrep/releases/115688395","Warn: release artifact 0.14.2 does not have provenance: https://api.github.com/repos/acheronfail/repgrep/releases/113292752"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":5,"reason":"5 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: RUSTSEC-2021-0145 / GHSA-g98v-hv3f-hcfr","Warn: Project is vulnerable to: RUSTSEC-2024-0375","Warn: Project is vulnerable to: RUSTSEC-2021-0153","Warn: Project is vulnerable to: RUSTSEC-2020-0077","Warn: Project is vulnerable to: RUSTSEC-2024-0436"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-16T13:58:52.068Z","repository_id":46616087,"created_at":"2025-08-16T13:58:52.068Z","updated_at":"2025-08-16T13:58:52.068Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278464317,"owners_count":25991177,"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","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-08-01T13:00:25.593Z","updated_at":"2025-10-05T13:44:09.810Z","avatar_url":"https://github.com/acheronfail.png","language":"Rust","readme":"[![crate](https://img.shields.io/crates/v/repgrep)](https://crates.io/crates/repgrep)\n[![documentation](https://docs.rs/repgrep/badge.svg)](https://docs.rs/repgrep)\n[![Average time to resolve an issue](https://isitmaintained.com/badge/resolution/acheronfail/repgrep.svg)](https://isitmaintained.com/project/acheronfail/repgrep \"Average time to resolve an issue\")\n[![Percentage of issues still open](https://isitmaintained.com/badge/open/acheronfail/repgrep.svg)](https://isitmaintained.com/project/acheronfail/repgrep \"Percentage of issues still open\")\n\n# repgrep (rgr)\n\n_An interactive replacer for `ripgrep`._\n\nThis is an interactive command line tool to make find and replacement easy.\nIt uses [`ripgrep`] to find, and then provides you with a simple interface to see\nthe replacements in real-time and conditionally replace matches.\n\nSome features:\n\n* ⚡ Super fast search results\n* ✨ Interactive interface for selecting which matches should be replaced or not\n* 🕶️ Live preview of the replacements\n* 🧠 Replace using capturing groups (e.g., when using `/foo (\\w+)/` replace with `bar $1`)\n* 🦀 and more!\n\nSupported file encodings:\n\n* ASCII\n* UTF8\n* UTF16BE\n* UTF16LE\n\nOther encodings are possibly supported but untested at the moment.\nSee [this issue](https://github.com/acheronfail/repgrep/issues/12) for more information.\n\n## Usage\n\nAfter installing, just use `rgr` (think: `rg` + `replace`).\n\nThe arguments are:\n\n```bash\nrgr \u003crg arguments\u003e # See `rgr --help` for more details\n```\n\nHere's an example where we ran the command:\n\n```bash\nrgr -C5 dreamcast\n```\n\nAnd have entered the replacement `flycast`:\n\n![demo using rgr](./doc/demo.png)\n\n## Installation\n\nFirst and foremost, make sure you've installed `ripgrep` (AKA: `rg`).\nTo do so see the [`ripgrep` installation instructions].\n\n#### Precompiled binaries\n\nSee the [releases] page for pre-compiled binaries.\n\n#### Via Cargo\n\n**NOTE**: The minimum Rust version required is `1.81.0`.\n\n```bash\ncargo install repgrep\n```\n\n#### Via Pacman (Arch Linux)\n\n[`repgrep`](https://archlinux.org/packages/extra/x86_64/repgrep/) can be installed\nfrom the official repositories using [Pacman](https://wiki.archlinux.org/title/Pacman).\n\n```bash\npacman -S repgrep\n```\n\n#### Via MacPorts (macOS)\n\n`repgrep` can also be installed on macOS using [MacPorts](https://www.macports.org):\n\n```bash\nsudo port install repgrep\n```\n\nMore info [here](https://ports.macports.org/port/repgrep/).\n\n#### From Source\n\n**NOTE**: The minimum Rust version required is `1.81.0`.\n\n```bash\ngit clone https://github.com/acheronfail/repgrep/\ncd repgrep\ncargo install --path .\n```\n\n[`ripgrep`]: https://github.com/BurntSushi/ripgrep\n[releases]: https://github.com/acheronfail/repgrep/releases\n[`ripgrep` installation instructions]: https://github.com/BurntSushi/ripgrep/#installation\n\nLicense: Unlicense OR MIT OR Apache-2.0","funding_links":[],"categories":["Rust","💻 Apps","Search","\u003ca name=\"text-search-replace\"\u003e\u003c/a\u003eText search and replace (alternatives to sed)"],"sub_categories":["⌨️ Development Tools"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facheronfail%2Frepgrep","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Facheronfail%2Frepgrep","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facheronfail%2Frepgrep/lists"}