{"id":20251722,"url":"https://github.com/huynguyennovem/open_dir","last_synced_at":"2025-04-10T23:15:45.160Z","repository":{"id":147934871,"uuid":"619109505","full_name":"huynguyennovem/open_dir","owner":"huynguyennovem","description":"Flutter plugin for opening native directory on desktop platforms.","archived":false,"fork":false,"pushed_at":"2024-10-31T17:37:20.000Z","size":263,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-10T23:15:38.491Z","etag":null,"topics":["dart","desktop-environment","flutter","flutter-plugin","linux","macos","windows"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/open_dir","language":"C++","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/huynguyennovem.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-03-26T09:50:50.000Z","updated_at":"2024-10-31T18:33:07.000Z","dependencies_parsed_at":"2024-05-21T23:39:46.466Z","dependency_job_id":"9d69ebc7-36d2-4bba-869a-cf202e6756fa","html_url":"https://github.com/huynguyennovem/open_dir","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huynguyennovem%2Fopen_dir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huynguyennovem%2Fopen_dir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huynguyennovem%2Fopen_dir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huynguyennovem%2Fopen_dir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/huynguyennovem","download_url":"https://codeload.github.com/huynguyennovem/open_dir/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248312132,"owners_count":21082638,"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":["dart","desktop-environment","flutter","flutter-plugin","linux","macos","windows"],"created_at":"2024-11-14T10:12:30.692Z","updated_at":"2025-04-10T23:15:45.131Z","avatar_url":"https://github.com/huynguyennovem.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"## open_dir\n\nOpen directory on the native desktop platform with its app (Finder on MacOS, Files on Linux, File Explorer on Windows)\n\n[![Twitter URL](https://img.shields.io/twitter/url/https/twitter.com/blueaquilae.svg?style=social\u0026label=Follow%20HuyNguyenTw)](https://twitter.com/HuyNguyenTw)\n\n### Supported platforms\n\nMacOS | Linux | Windows | Android | iOS | Web |\n| :-: | :---: | :-----: | :-----: | :-----: | :-----: |\n| ✔️  |  ✔️   |   ✔️    |   ❌️️    |   ❌️️    |   ❌️️    |\n\n### Usage\n\nAdd `open_dir` as a dependency in your `pubspec.yaml` file. This is [Endorsed federated plugin](https://docs.flutter.dev/development/packages-and-plugins/developing-packages#endorsed-federated-plugin).\n\nThis plugin is also supported to highlight/select a specific file after opening the directory.\n\n### Example\n\n```dart\nfinal _openDirPlugin = OpenDir();\nfinal path = '/path/to/directory';\nfinal highlightedFileName = 'file.txt';\nawait _openDirPlugin.openNativeDir(path: path, highlightedFileName: highlightedFileName);\n```\n\n### Demo\n\n| Open dir | Open dir and highlight file |\n| --------------- | --------------- |\n\u003cvideo src=\"https://user-images.githubusercontent.com/29337364/229332980-eb111200-b13a-44b6-8f56-a1793b24d863.mp4\"/\u003e | \u003cvideo src=\"https://github.com/user-attachments/assets/8aa591d8-ee08-4dea-9294-be0defe00098\"/\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuynguyennovem%2Fopen_dir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhuynguyennovem%2Fopen_dir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuynguyennovem%2Fopen_dir/lists"}