{"id":22065898,"url":"https://github.com/astrocvijo/indexer","last_synced_at":"2025-10-05T20:32:41.532Z","repository":{"id":237736829,"uuid":"795158049","full_name":"AStroCvijo/Indexer","owner":"AStroCvijo","description":"A CLI tool that indexes a given folder and allows efficient searching for string occurrences","archived":false,"fork":false,"pushed_at":"2024-05-29T16:47:57.000Z","size":11003,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T16:06:33.692Z","etag":null,"topics":["automation","cli","indexing","kotlin","string-search"],"latest_commit_sha":null,"homepage":"","language":"Java","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/AStroCvijo.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":"2024-05-02T17:37:50.000Z","updated_at":"2025-03-12T18:10:24.000Z","dependencies_parsed_at":"2024-05-29T19:42:47.200Z","dependency_job_id":null,"html_url":"https://github.com/AStroCvijo/Indexer","commit_stats":null,"previous_names":["astrocvijo/indexer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AStroCvijo%2FIndexer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AStroCvijo%2FIndexer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AStroCvijo%2FIndexer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AStroCvijo%2FIndexer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AStroCvijo","download_url":"https://codeload.github.com/AStroCvijo/Indexer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248065288,"owners_count":21041871,"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":["automation","cli","indexing","kotlin","string-search"],"created_at":"2024-11-30T19:22:30.262Z","updated_at":"2025-10-05T20:32:41.469Z","avatar_url":"https://github.com/AStroCvijo.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# File Indexer - CLI tool\n\nA CLI tool that indexes a given folder and allows efficient searching for string occurrences. \u003cbr /\u003e\u003cbr /\u003e\nDate of creation: May, 2024 \u003cbr/\u003e\n## Instructions\n\n1. Clone the repository `git clone https://github.com/AStroCvijo/Indexer`\n2. Make sure you have [gradle](https://gradle.org/install/) installed on your machine\n3. Add Gradle to the PATH variable\n4. Use the command `gradle build` to build the app\n5. Set up `allowedExtensions.txt` file in the root directory e.g.\n```txt\n\n  txt\n  kt\n  py\n\n```\n6. Use the command `gradlew run --args=\"\"` to run the app\n\n\n## Arguments guide \n\n`-path or -p` followed by path to the folder you want to index e.g. `.\\\\Data`\nThis will index the `.\\\\Data` folder and save it to `.\\\\indexedFolders` (the starting location of .\\\\\\ is inside the app folder, so either move to folder you want to index there or navigate to it)\n\n`-force or -f`\nThis will force the app to index the folder again and save it to `.\\\\indexedFolders` (if you don't force a re-index, and the folder has already been indexed, the app will just load it)\n\n`-query or -q` followed by the string you want to search for e.g. `print`\nThis will print all the occurrences of `print` in the given folder\n\n`-case or -c`\nThis will indicate that you want the search to be case-sensitive\n\n`-highlight or -h`\nThis will print the line in which the string is located and highlight it\n\n## Examples\n\n| Command | Description |\n|---------|-------------|\n| `gradlew run --args=\"-p .\\\\Data\"` | Index a Folder Without Re-indexing or Querying |\n| `gradlew run --args=\"-p .\\\\Data -f\"` | Index a Folder and Force Re-indexing |\n| `gradlew run --args=\"-p .\\\\Data -q print\"` | Index a Folder and Query Without Case Sensitivity |\n| `gradlew run --args=\"-p .\\\\Data -q print -h\"` | Index a Folder, Query Without Case Sensitivity and Highlight|\n| `gradlew run --args=\"-p .\\\\Data -f -q print\"` | Index a Folder, Force Re-indexing, and Query Without Case Sensitivity |\n| `gradlew run --args=\"-p .\\\\Data -q print -c\"` | Index a Folder, Query with Case Sensitivity |\n| `gradlew run --args=\"-p .\\\\Data -f -q print -c\"` | Index a Folder, Force Re-indexing, and Query with Case Sensitivity |\n| `gradlew run --args=\"-p .\\\\Documents -q print\"` | Index a Different Folder and Query Without Case Sensitivity |\n| `gradlew run --args=\"-p .\\\\AnotherFolder -f -q print -c\"` | Index a Folder, Force Re-indexing, and Perform Case-sensitive Search |\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastrocvijo%2Findexer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fastrocvijo%2Findexer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastrocvijo%2Findexer/lists"}