{"id":15678987,"url":"https://github.com/hmarr/grephub","last_synced_at":"2025-05-07T09:12:21.898Z","repository":{"id":39005031,"uuid":"197960141","full_name":"hmarr/grephub","owner":"hmarr","description":"🔍 Search GitHub repositories with regexes","archived":false,"fork":false,"pushed_at":"2023-03-15T04:35:31.000Z","size":5563,"stargazers_count":11,"open_issues_count":4,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-07T09:12:08.117Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://grephub.hmarr.dev","language":"JavaScript","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/hmarr.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":"2019-07-20T17:11:36.000Z","updated_at":"2025-01-09T05:12:01.000Z","dependencies_parsed_at":"2025-03-10T22:32:20.061Z","dependency_job_id":"c66fc093-bfb7-429a-9ba4-36dc99e67398","html_url":"https://github.com/hmarr/grephub","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/hmarr%2Fgrephub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmarr%2Fgrephub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmarr%2Fgrephub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hmarr%2Fgrephub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hmarr","download_url":"https://codeload.github.com/hmarr/grephub/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252847515,"owners_count":21813457,"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-03T16:25:47.339Z","updated_at":"2025-05-07T09:12:21.877Z","avatar_url":"https://github.com/hmarr.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## grephub\n\nSearch GitHub repositories with regexes. GrepHub is like `git grep`, but for every repository on GitHub.\n\nJust replace \"github.com\" in a repository's URL with \"grephub.hmarr.dev\", and you're all set.\n\nFor instance, to search lodash, go to https://grephub.hmarr.dev/lodash/lodash.\n\n### Caveats\n\n- This is an experiment that may be shut off at any minute\n- It doesn't use an index so it's kind of slow and it won't work well with large repositories\n- Streaming the whole repository from GitHub for each query is a terrible idea for a variety of reasons\n\n### Similar projects\n\nThe following projects all make it really fast to search specific set of repositories. They index the code in the repositories so your queries will be lightning-fast, but the downside is you need to know which repositories you want to search before searching them.\n\n- [Hound](https://github.com/hound-search/hound)\n- [Zoekt](https://github.com/google/zoekt)\n- [Livegrep](https://github.com/livegrep/livegrep)\n\n### Running locally\n\nTo run the frontend:\n\n```\n$ npm install\n$ npm start\n```\n\nTo run the backend function, make sure you have the Go toolchain installed, then run:\n\n```\n$ make build-functions\n$ functions/search\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhmarr%2Fgrephub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhmarr%2Fgrephub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhmarr%2Fgrephub/lists"}