{"id":26904986,"url":"https://github.com/kornelijus/grug","last_synced_at":"2026-05-07T18:46:06.460Z","repository":{"id":253162456,"uuid":"842622006","full_name":"Kornelijus/grug","owner":"Kornelijus","description":"🔍 Grep Recursive Utility for Git","archived":false,"fork":false,"pushed_at":"2024-08-14T20:40:37.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-01T10:55:03.042Z","etag":null,"topics":["bash","cli","git","grep"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/Kornelijus.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-14T18:13:02.000Z","updated_at":"2024-10-27T13:46:38.000Z","dependencies_parsed_at":"2024-08-14T22:13:26.150Z","dependency_job_id":null,"html_url":"https://github.com/Kornelijus/grug","commit_stats":null,"previous_names":["kornelijus/grug"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kornelijus%2Fgrug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kornelijus%2Fgrug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kornelijus%2Fgrug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kornelijus%2Fgrug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kornelijus","download_url":"https://codeload.github.com/Kornelijus/grug/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246628301,"owners_count":20808106,"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":["bash","cli","git","grep"],"created_at":"2025-04-01T10:55:31.041Z","updated_at":"2026-05-07T18:46:01.412Z","avatar_url":"https://github.com/Kornelijus.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# grug\n\n**G**rep **R**ecursive **U**tility for **G**it\n\nSimple script to search through the main branches of all of your git repositories locally using `git grep`.  \nIt will periodically run `git fetch` before searching to ensure results are (kinda) up to date.\n\nShout out to everyone who can't afford GitLab Enterprise Edition :skull:\n\n# Installation\n\n```sh\n# Clone repo and navigate to script dir\ngit clone https://github.com/Kornelijus/grug.git\ncd grug/bin\n\n# Add script to your PATH\n# bash\necho \"export PATH=\\$PATH:$(pwd)\" \u003e\u003e ~/.bashrc\nsource ~/.bashrc\n\n# zsh\necho \"export PATH=\\$PATH:$(pwd)\" \u003e\u003e ~/.zshrc\nsource ~/.zshrc\n```\n\n# Configuration\n\n| Environment Variable       | Description                                                | Default Value     |\n| -------------------------- | ---------------------------------------------------------- | ----------------- |\n| `GRUG_ROOT`                | Path to directory where your git repositories are located. | Current directory |\n| `GRUG_DEFAULT_BRANCH`      | Default branch to search through.                          | `master`          |\n| `GRUG_FETCH_INTERVAL_MINS` | How often `git fetch` should be run on the main branches.  | `60`              |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkornelijus%2Fgrug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkornelijus%2Fgrug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkornelijus%2Fgrug/lists"}