{"id":21195612,"url":"https://github.com/openpeeps/find","last_synced_at":"2026-01-02T16:08:45.871Z","repository":{"id":168757701,"uuid":"592271012","full_name":"openpeeps/find","owner":"openpeeps","description":"(WIP) Finds files and directories based on different criteria via an intuitive fluent interface","archived":false,"fork":false,"pushed_at":"2023-10-07T20:23:59.000Z","size":4984,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-21T14:15:46.190Z","etag":null,"topics":["files","filesystem","find","finder","iterator","nim","nim-language","openpeep"],"latest_commit_sha":null,"homepage":"","language":"Nim","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/openpeeps.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":"2023-01-23T11:14:02.000Z","updated_at":"2023-10-19T00:37:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"07f8b13e-33b8-4573-8d4b-6a83adbfcff9","html_url":"https://github.com/openpeeps/find","commit_stats":null,"previous_names":["openpeeps/find"],"tags_count":0,"template":false,"template_full_name":"openpeeps/pistachio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openpeeps%2Ffind","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openpeeps%2Ffind/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openpeeps%2Ffind/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openpeeps%2Ffind/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openpeeps","download_url":"https://codeload.github.com/openpeeps/find/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243652706,"owners_count":20325605,"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":["files","filesystem","find","finder","iterator","nim","nim-language","openpeep"],"created_at":"2024-11-20T19:29:08.841Z","updated_at":"2026-01-02T16:08:45.826Z","avatar_url":"https://github.com/openpeeps.png","language":"Nim","funding_links":["https://www.paypal.com/donate/?hosted_button_id=RJK3ZTDWPL55C"],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/openpeeps/find/blob/main/.github/logo.png\" width=\"90px\"\u003e\u003cbr\u003e\n  Finds files and directories based on different criteria\u003cbr\u003evia an intuitive fluent interface. 👑 Written in Nim language\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ccode\u003enimble install find\u003c/code\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://openpeeps.github.io/find/\"\u003eAPI reference\u003c/a\u003e\u003cbr\u003e\u003cbr\u003e\n  \u003cimg src=\"https://github.com/openpeeps/find/workflows/test/badge.svg\" alt=\"Github Actions\"\u003e \u003cimg src=\"https://github.com/openpeeps/find/workflows/docs/badge.svg\" alt=\"Github Actions\"\u003e\n\u003c/p\u003e\n\n## 😍 Key Features\n- [x] Fluent Interface\n- [x] `Driver` Local Filesystem\n- [ ] `Driver` SSH via libssh\n- [ ] `Driver` FTP/SFTP\n- [ ] `Driver` WebDAV\n- [x] Open Source | `MIT` License\n- [x] Written in Nim language\n\n## Examples\n\nGet all `.txt` files from directory\n```nim\nlet res: Results = finder(\"./examples\").name(\"*.txt\").get\n```\n\nGet all `.txt` files from directory using `size` criteria\n```nim\nlet res = finder(\"./examples\").name(\"*.txt\").size(\u003c 10.mb).get\nfor file in res.files():\n  echo file.getSize\n```\n\nFind files using regular expression\n```nim\nlet res = finder(\"./examples\").name(re\"20[\\w-]+\\.txt\").get\nfor file in res.files:\n  echo file.getName \n```\n\nFor more examples check [/tests](https://github.com/openpeeps/find/tree/main/tests) | [API reference](https://openpeeps.github.io/find/)\n\n### ❤ Contributions \u0026 Support\n- 🐛 Found a bug? [Create a new Issue](https://github.com/openpeeps/find/issues)\n- 👋 Wanna help? [Fork it!](https://github.com/openpeeps/find/fork)\n- 😎 [Get €20 in cloud credits from Hetzner](https://hetzner.cloud/?ref=Hm0mYGM9NxZ4)\n- 🥰 [Donate via PayPal address](https://www.paypal.com/donate/?hosted_button_id=RJK3ZTDWPL55C)\n\n### 🎩 License\nFind | MIT license. [Made by Humans from OpenPeeps](https://github.com/openpeep).\u003cbr\u003e\nCopyright \u0026copy; 2023 OpenPeeps \u0026 Contributors \u0026mdash; All rights reserved.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenpeeps%2Ffind","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenpeeps%2Ffind","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenpeeps%2Ffind/lists"}