{"id":15777247,"url":"https://github.com/healeycodes/drep","last_synced_at":"2025-03-31T15:38:33.597Z","repository":{"id":237189631,"uuid":"626122558","full_name":"healeycodes/drep","owner":"healeycodes","description":"🗃️ A fast grep clone written with Deno.","archived":false,"fork":false,"pushed_at":"2023-04-11T07:16:27.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-05T17:43:17.017Z","etag":null,"topics":["deno","file-search","grep","workers"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/healeycodes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-04-10T21:02:43.000Z","updated_at":"2023-04-10T23:42:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"1316abfb-556b-4114-bc67-48d20ef2bc0b","html_url":"https://github.com/healeycodes/drep","commit_stats":null,"previous_names":["healeycodes/drep"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/healeycodes%2Fdrep","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/healeycodes%2Fdrep/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/healeycodes%2Fdrep/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/healeycodes%2Fdrep/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/healeycodes","download_url":"https://codeload.github.com/healeycodes/drep/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246490845,"owners_count":20786070,"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":["deno","file-search","grep","workers"],"created_at":"2024-10-04T17:43:19.740Z","updated_at":"2025-03-31T15:38:33.577Z","avatar_url":"https://github.com/healeycodes.png","language":"TypeScript","readme":"# drep\n\ndrep is a basic clone of `grep` (or more accurately, `rgrep`) written in Deno with no third-party dependencies. It uses workers to search files in separate threads, making it faster than standard `grep` (but not faster than other modern versions like `ripgrep`).\n\n## Use it\n\nTo use drep, you can run the following commands:\n\n`drep \"some string\" file_or_folder`: Search for a string in a file or folder.\n\n`cat some_file.txt | drep \"some string\"`: Search for a string in stdin.\n\n`drep \"some string\" .`: Search for a string in the current directory.\n\nSearches are recursive by default.\n\nYou can also pass a valid JavaScript RegExp instead of a search string.\n\n### Flags\n\n`-n`: Include line numbers in the search results.\n\n`-i`: Perform a case-insensitive search.\n\n## Building and Testing\n\nTo build drep, run `bash build.sh` to create a binary at `./drep`.\n\nTo run the tests, use the following command: `deno test -A`.\n\n## Contributing\n\nIf you'd like to contribute to drep, please follow these guidelines:\n\n- Before submitting a pull request, please create an issue describing the change you'd like to make.\n- Make sure your code follows the existing style and conventions.\n- Write tests for your changes.\n- Run the tests and make sure they pass.\n- Submit a pull request and await feedback from me!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhealeycodes%2Fdrep","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhealeycodes%2Fdrep","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhealeycodes%2Fdrep/lists"}