{"id":18731509,"url":"https://github.com/keegancsmith/rgp","last_synced_at":"2025-04-12T18:05:12.035Z","repository":{"id":57636266,"uuid":"120373731","full_name":"keegancsmith/rgp","owner":"keegancsmith","description":"ripgrep plus - Wraps ripgrep to add google like queries to patterns","archived":false,"fork":false,"pushed_at":"2018-02-19T07:07:30.000Z","size":725,"stargazers_count":21,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-26T12:21:24.358Z","etag":null,"topics":["command-line-tool","grep","regex","ripgrep","search"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/keegancsmith.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":"2018-02-05T23:08:42.000Z","updated_at":"2025-01-07T10:07:11.000Z","dependencies_parsed_at":"2022-09-26T20:21:47.070Z","dependency_job_id":null,"html_url":"https://github.com/keegancsmith/rgp","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/keegancsmith%2Frgp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keegancsmith%2Frgp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keegancsmith%2Frgp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/keegancsmith%2Frgp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/keegancsmith","download_url":"https://codeload.github.com/keegancsmith/rgp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248610363,"owners_count":21132920,"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":["command-line-tool","grep","regex","ripgrep","search"],"created_at":"2024-11-07T14:58:40.348Z","updated_at":"2025-04-12T18:05:12.002Z","avatar_url":"https://github.com/keegancsmith.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ripgrep plus\n\n`rgp` wraps [ripgrep](https://github.com/BurntSushi/ripgrep) to add google\nlike queries to patterns. You can now do queries like\n```sh\n$ rgp repo:myservice -file:test.go io.Writer case:yes\n```\n\nand it will search across all your local code. Just like sourcegraph, zoekt or\nchromium codesearch does.\n\n## Demo\n\n[![asciicast](https://asciinema.org/a/161083.png)](https://asciinema.org/a/161083)\n\n## Installation\n\nEnsure `ripgrep` is on your path https://github.com/BurntSushi/ripgrep#installation\n\n```sh\n# Install with go toolchain\ngo get github.com/keegancsmith/rgp\n\n# Add to your .bashrc, for now just eval locally. These are folder roots\n# contains clones of repos. Similiar to PATH or GOPATH, etc.\nexport SRCPATH=$HOME/src:$HOME/go/src\n```\n\n## Future\n\nThis is an early release, so bugs, perf and code cleanliness will come.\n\nI want to use this in my editor to quickly jump between projects, files,\nsearch results all from a unified interface. Initially this would likely be an\nemacs package (via ivy). But vscode would also be interesting to support.\n\n## Why\n\n- *Why use google like patterns?* I find it much more natural to build the\n  pattern this way, vs having to jump around previous commands to insert the\n  correct flags. This tool also provides tooling around quickly picking a repo\n  to search / searching across multiple repos.\n  \n- *Why SRCPATH?* Hopefully this can become a standard for other tooling to\n  start using (any tool that needs to discover where you keep your code\n  locally, eg IDEs). It follows the same pattern used by many other unix\n  tools.\n  \n- *Why go?* I am proficient in it. I'll likely learn some rust so it\n  potentially better interoperates with ripgrep. Or I'll embed a go tool which\n  is also fast at searching like pt.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeegancsmith%2Frgp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkeegancsmith%2Frgp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeegancsmith%2Frgp/lists"}