{"id":15415789,"url":"https://github.com/shilangyu/scoop-search","last_synced_at":"2025-05-16T12:11:55.090Z","repository":{"id":40304758,"uuid":"282233941","full_name":"shilangyu/scoop-search","owner":"shilangyu","description":"Fast `scoop search` drop-in replacement 🚀","archived":false,"fork":false,"pushed_at":"2025-04-22T12:06:37.000Z","size":1576,"stargazers_count":328,"open_issues_count":7,"forks_count":11,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-22T13:26:27.291Z","etag":null,"topics":["fast-search","hacktoberfest","scoop","scoop-search","slow-search"],"latest_commit_sha":null,"homepage":"","language":"Zig","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/shilangyu.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-07-24T13:58:48.000Z","updated_at":"2025-04-22T12:06:42.000Z","dependencies_parsed_at":"2024-01-21T20:52:47.589Z","dependency_job_id":"d2009791-73d1-4d84-bf97-e23e1235ca2b","html_url":"https://github.com/shilangyu/scoop-search","commit_stats":{"total_commits":88,"total_committers":6,"mean_commits":"14.666666666666666","dds":0.125,"last_synced_commit":"c19911ca8abcd660447d8e83d2d73ce6ab99a5bb"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shilangyu%2Fscoop-search","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shilangyu%2Fscoop-search/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shilangyu%2Fscoop-search/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shilangyu%2Fscoop-search/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shilangyu","download_url":"https://codeload.github.com/shilangyu/scoop-search/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254527099,"owners_count":22085919,"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":["fast-search","hacktoberfest","scoop","scoop-search","slow-search"],"created_at":"2024-10-01T17:09:37.832Z","updated_at":"2025-05-16T12:11:55.039Z","avatar_url":"https://github.com/shilangyu.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# scoop-search\n\n[![](https://github.com/shilangyu/scoop-search/workflows/ci/badge.svg)](https://github.com/shilangyu/scoop-search/actions)\n\nFast `scoop search` drop-in replacement 🚀\n\n## Installation\n\n```sh\nscoop install scoop-search\n```\n\n## PowerShell hook\n\nInstead of using `scoop-search.exe \u003cterm\u003e` you can create a hook that will run `scoop-search.exe` whenever you use native `scoop search`\n\nAdd this to your Powershell profile (usually located at `$PROFILE`)\n\n```ps1\nInvoke-Expression (\u0026scoop-search --hook)\n```\n\n## CMD.exe wrapper\n\nIf you use `cmd.exe` you can use a wrapper script to do the same. Name this `scoop.cmd` and add it to\na directory in your `%PATH%`\n\n```\n@echo off\n\nif \"%1\" == \"search\" (\n    call :search_subroutine %*\n) else (\n    powershell scoop.ps1 %*\n)\ngoto :eof\n\n:search_subroutine\nset \"args=%*\"\nset \"newargs=%args:* =%\"\nscoop-search.exe %newargs%\ngoto :eof\n```\n\n## Features\n\nBehaves just like `scoop search` and returns identical output. If any differences are found please open an issue.\n\n**Non-goal**: any additional features unavailable in scoop search\n\n## Building\n\nThis project uses Zig. Building and running works on all platforms, not only Windows.\n\nBuild with (output is stored in `./zig-out/bin`):\n\n```sh\nzig build -Doptimize=ReleaseFast\n```\n\nRun debug with:\n\n```sh\nzig build run -- searchterm\n```\n\n## Benchmarks\n\nDone with [hyperfine](https://github.com/sharkdp/hyperfine). `scoop-search` is on average 350 times faster.\n\n```sh\n❯ hyperfine --warmup 1 'scoop-search google' 'scoop search google'\nBenchmark 1: scoop-search google\n  Time (mean ± σ):      60.3 ms ±   3.5 ms    [User: 91.2 ms, System: 394.2 ms]\n  Range (min … max):    55.1 ms …  73.8 ms    49 runs\n\nBenchmark 2: scoop search google\n  Time (mean ± σ):     21.275 s ±  2.657 s    [User: 9.604 s, System: 11.789 s]\n  Range (min … max):   19.143 s … 27.035 s    10 runs\n\nSummary\n  scoop-search google ran\n  352.74 ± 48.49 times faster than scoop search google\n```\n\n_ran on AMD Ryzen 5 3600 @ 3.6GHz_\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshilangyu%2Fscoop-search","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshilangyu%2Fscoop-search","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshilangyu%2Fscoop-search/lists"}