{"id":19174858,"url":"https://github.com/divisionind/fastgrep","last_synced_at":"2026-04-21T10:01:59.052Z","repository":{"id":107265323,"uuid":"262692270","full_name":"divisionind/fastgrep","owner":"divisionind","description":"a utility for quickly scanning large numbers of files for a string","archived":false,"fork":false,"pushed_at":"2020-10-26T19:27:53.000Z","size":4258,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-04T01:39:52.156Z","etag":null,"topics":["debian","grep","linux","scanning","search","searching","tools","utilities"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/divisionind.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":"2020-05-10T01:46:57.000Z","updated_at":"2024-03-22T11:17:36.000Z","dependencies_parsed_at":"2023-07-15T07:16:01.428Z","dependency_job_id":null,"html_url":"https://github.com/divisionind/fastgrep","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divisionind%2Ffastgrep","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divisionind%2Ffastgrep/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divisionind%2Ffastgrep/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divisionind%2Ffastgrep/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/divisionind","download_url":"https://codeload.github.com/divisionind/fastgrep/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240254182,"owners_count":19772386,"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":["debian","grep","linux","scanning","search","searching","tools","utilities"],"created_at":"2024-11-09T10:19:28.605Z","updated_at":"2026-04-21T10:01:58.970Z","avatar_url":"https://github.com/divisionind.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"fastgrep - a faster \"grep -r\"\n--------\n![](fastgrep_intro.gif)\n\nA utility similar to `grep -r ...` but focused on raw speed and utilization of system resources. This tool\nis useful for quickly scanning large directories for files containing a specific string.\n\nThe intro gif is fastgrep scanning the entire, un-indexed, `1.15.1 craftbukkit` sources on a Kali Linux install\nrunning on an 4-core laptop CPU (the `i7-8550U @ 1.8GHz`) for the string \"createInventory\". That is around 1 million\nlines of code searched in under 100ms. The same scan would take grep several minutes.\n\n```\n$ cd ~/craftbukkit-1.15.1-src\n$ cloc .\n-------------------------------------------------------------------------------\nLanguage                     files          blank        comment           code\n-------------------------------------------------------------------------------\nJava                          8099         200332           4926         959246\n-------------------------------------------------------------------------------\nSUM:                          8099         200332           4926         959246\n-------------------------------------------------------------------------------\n```\n\nThis functionality can be very useful for developing or modding large, documented, codebases \n(e.g. open-source or reverse engineered games, operating systems, etc.).\n\n### IntelliJ IDEA Tool Integration\nFor more info see [this](intellij_tool/README.md).\n\n### Building\n##### Requirements\n- Building: cmake, gcc\n- Running:  argp, pthread\n\n##### Installing from binary release - Linux (Debian/Ubuntu)\n```shell script\ncurl -fsSL https://raw.githubusercontent.com/divisionind/fastgrep/master/get_fastgrep.sh -o get_fastgrep.sh\nsudo sh get_fastgrep.sh\n```\n\n##### Installing from source - Linux\n1. Clone repo `git clone --recursive https://github.com/divisionind/fastgrep.git`\n2. Enter directory `cd fastgrep`\n3. Build locally and install `sudo sh install.sh`\n\n_NOTE: The install script assumes apt as the package manager. If you are running a different package manager, install\nthe requirements and remove that section of the install script._\n\n##### Windows\n1. Download the latest windows installer from the [releases page](https://github.com/divisionind/fastgrep/releases)\n2. Run the installer, make sure you select `Add fastgrep to the system PATH for all users`, complete installation\n\n### Donate\n- XMR: `83vzgeeKebLh6pj2YtBqn7PqxY47CkyzmLzUhmHfhTCQdj9Mfad4FUF12Yu9ry5uUh5JASTcXg5Fwji5ibjUngw9LomnH6Z`\n- ETH: `0x1bdA7dB6484802DFf4945edc52363B4A8FAcb470`\n- ETC: `0x4a368bb4cd854f650169ce207268c303ffecafb2`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivisionind%2Ffastgrep","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdivisionind%2Ffastgrep","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivisionind%2Ffastgrep/lists"}