{"id":15199799,"url":"https://github.com/krish-r/proximity-sort","last_synced_at":"2026-03-07T13:33:29.921Z","repository":{"id":257654560,"uuid":"858931948","full_name":"krish-r/proximity-sort","owner":"krish-r","description":"Zig implementation of @jonhoo's proximity-sort.","archived":false,"fork":false,"pushed_at":"2024-09-20T16:42:00.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-14T00:31:12.980Z","etag":null,"topics":["zig"],"latest_commit_sha":null,"homepage":"","language":"Zig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/krish-r.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","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-09-17T19:27:10.000Z","updated_at":"2024-10-18T23:18:59.000Z","dependencies_parsed_at":"2025-01-14T00:37:41.334Z","dependency_job_id":null,"html_url":"https://github.com/krish-r/proximity-sort","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"cfb3050b53b59ee871a045b00b7512dd2a45fba6"},"previous_names":["krish-r/proximity-sort"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krish-r%2Fproximity-sort","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krish-r%2Fproximity-sort/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krish-r%2Fproximity-sort/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krish-r%2Fproximity-sort/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/krish-r","download_url":"https://codeload.github.com/krish-r/proximity-sort/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241678157,"owners_count":20001682,"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":["zig"],"created_at":"2024-09-28T02:02:03.389Z","updated_at":"2026-03-07T13:33:29.177Z","avatar_url":"https://github.com/krish-r.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# proximity-sort\n\nZig implementation of [@jonhoo][jon-gjengset]'s [proximity-sort][proximity-sort].\n\n## Why?\n\nI just started learning Zig. And, proximity-sort felt like a good first project.\n\n## Overview\n\nThe command-line utility sorts the inputs (from stdin) by their path proximity (number of shared leading path components) to a given path.\n\n## Example Usage\n\n```shell\nfd -t f | zig-out/bin/proximity-sort /path/to/file | fzf --reverse --tiebreak=index\n```\n\n## Building from Source\n\nIf you have [zig master](https://ziglang.org/download/) installed, you can build this with -\n\n```shell\nzig build -Doptimize=ReleaseSafe\n```\n\n## Credits \u0026 References\n\n-   [proximity-sort][proximity-sort] by [@jonhoo][jon-gjengset]\n-   [Performance Optimizer Observation Platform][performance-optimizer-observation-platform] by [@andrewrk][andrew-kelley].\n\n[jon-gjengset]: https://github.com/jonhoo/\n[andrew-kelley]: https://github.com/andrewrk/\n[proximity-sort]: https://github.com/jonhoo/proximity-sort/\n[performance-optimizer-observation-platform]: https://github.com/andrewrk/poop/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrish-r%2Fproximity-sort","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrish-r%2Fproximity-sort","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrish-r%2Fproximity-sort/lists"}