{"id":24567376,"url":"https://github.com/pr4k/locate","last_synced_at":"2025-04-22T12:51:17.333Z","repository":{"id":47987865,"uuid":"248801339","full_name":"pr4k/locate","owner":"pr4k","description":"A Recursive Search tool in Rust ","archived":false,"fork":false,"pushed_at":"2021-03-30T20:08:37.000Z","size":476,"stargazers_count":32,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-16T03:08:29.208Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","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/pr4k.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":"2020-03-20T16:23:38.000Z","updated_at":"2024-09-16T14:28:38.000Z","dependencies_parsed_at":"2022-08-12T16:00:45.206Z","dependency_job_id":null,"html_url":"https://github.com/pr4k/locate","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pr4k%2Flocate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pr4k%2Flocate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pr4k%2Flocate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pr4k%2Flocate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pr4k","download_url":"https://codeload.github.com/pr4k/locate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250243921,"owners_count":21398425,"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":"2025-01-23T13:18:07.593Z","updated_at":"2025-04-22T12:51:17.314Z","avatar_url":"https://github.com/pr4k.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"img/locate.gif\" width=\"490\" alt\"howto\" \u003e\n    \u003cbr\u003e\n    \u003cimg src=\"https://img.shields.io/github/v/release/pr4k/locate\"\n        alt=\"Release\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/language-rust-red.svg\" alt=\"Language\"\u003e\n    \u003cimg src=\"https://github.com/pr4k/locate/workflows/Publish/badge.svg\" alt=\"Passing\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/stars/pr4k/locate\" alt=\"Stars\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/issues/pr4k/locate\" alt=\"Issues\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/forks/pr4k/locate\" alt=\"Forks\"\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"#key-features\"\u003eKey Features\u003c/a\u003e •\n    \u003ca href=\"#usage\"\u003eUsage\u003c/a\u003e •\n    \u003ca href=\"#give-it-a-test-run\"\u003eTest Run\u003c/a\u003e •\n    \u003ca href=\"#demo\"\u003eDemo\u003c/a\u003e •\n    \u003ca href=\"#installation\"\u003eInstallation\u003c/a\u003e •\n    \u003ca href=\"#to-do\"\u003eTo-Do\u003c/a\u003e •\n    \u003ca href=\"#license\"\u003eLicense\u003c/a\u003e\n\u003c/p\u003e\n\n\u003e A recursive Search Tool written in Rust\n\nHow many times have you gone through files in search of a string, or finding origin of a function.\n\nLocate is a tool written in *Rust* which goes through each file and gives **exact location of the string** in the file.\n\n---\n## **Key Features**\n- Works on **Windows**, **MacOS** and **Linux**\n- Blazing **Fast**\n  \n  ![speed](img/speed.gif)\n\n- Finds String Deep Inside **Directory Structure**\n  \n\n---\n\n## **Installation** \n\n``` bash\n# Clone the repo\ngit clone https://github.com/pr4k/locate\n\n# Build the project\ncargo build --release\n\n```\nIt will create a binary in `target/release`, copy it to `/usr/bin` and you are good to go.\n\nOr simply do \n\n`cargo install locate`\n\n---\n\n## **Give it a Test Run**\nDon't want to clone the project, *No worries!!* \n\nGo to the **releases** and downlaod the latest release, copy it to `/usr/bin` that's all.\n\n---\n\n## **Usage**\n\n```bash\n➜  ~ locate -h                       \nUsage:\n  locate [OPTIONS]\n\nRecursive string locater in files\n\nOptional arguments:\n  -h,--help             Show this help message and exit\n  -p,--path PATH        Path to folder\n  -q,--query QUERY      Query string to find\n```\nTry `locate -p /path/to/folder -q /string-to-be-searched`\n\n---\n\n## **Demo**\n\u003ca href=\"https://asciinema.org/a/9uBSxwooJEGBLNZvoaW5zPPhF\"\u003e\u003cimg src = \"img/demo.gif\" width = 500/\u003e\u003c/a\u003e\n\nClick on image to get a Asciinema shot:\n\n---\n\n## **TO-DO**\n\n- Add **regex** support for the search string\n- Control Folder depth for search\n- Provide option to replace the searched word by another\n  \n## **License**\n[![GitHub license](https://img.shields.io/github/license/pr4k/locate)](https://github.com/pr4k/locate)\n\n- **[MIT license](http://opensource.org/licenses/mit-license.php)**\n- Copyright 2020 © pr4k\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpr4k%2Flocate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpr4k%2Flocate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpr4k%2Flocate/lists"}