{"id":13784780,"url":"https://github.com/AngeloAvv/disks","last_synced_at":"2025-05-11T20:31:14.816Z","repository":{"id":61975538,"uuid":"487018590","full_name":"AngeloAvv/disks","owner":"AngeloAvv","description":"A Flutter desktop library able to retrieve the installed devices information","archived":false,"fork":false,"pushed_at":"2024-09-25T22:30:11.000Z","size":184,"stargazers_count":11,"open_issues_count":6,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-08T10:53:36.572Z","etag":null,"topics":["cross-platform","disk-utility","flutter","flutter-desktop","flutter-linux","flutter-macos","flutter-plugins","flutter-windows"],"latest_commit_sha":null,"homepage":"","language":"C++","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/AngeloAvv.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2022-04-29T15:18:28.000Z","updated_at":"2025-03-28T16:32:33.000Z","dependencies_parsed_at":"2024-08-03T19:03:51.279Z","dependency_job_id":"34d987f6-deea-46f9-96ad-b5b776b34b01","html_url":"https://github.com/AngeloAvv/disks","commit_stats":{"total_commits":3,"total_committers":2,"mean_commits":1.5,"dds":"0.33333333333333337","last_synced_commit":"d40327d01e789cff130321c02cb3adb51e0b3ee3"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AngeloAvv%2Fdisks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AngeloAvv%2Fdisks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AngeloAvv%2Fdisks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AngeloAvv%2Fdisks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AngeloAvv","download_url":"https://codeload.github.com/AngeloAvv/disks/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253631951,"owners_count":21939368,"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":["cross-platform","disk-utility","flutter","flutter-desktop","flutter-linux","flutter-macos","flutter-plugins","flutter-windows"],"created_at":"2024-08-03T19:00:52.403Z","updated_at":"2025-05-11T20:31:14.341Z","avatar_url":"https://github.com/AngeloAvv.png","language":"C++","funding_links":["https://www.buymeacoffee.com/angeloavv"],"categories":["Packages"],"sub_categories":[],"readme":"# Disks Desktop\n\n\u003cimg align=\"center\" src=\"https://raw.githubusercontent.com/AngeloAvv/disks/master/assets/disks_logo.png\" width=\"350\" alt=\"Disks logo\" border=\"0\"\u003e\n\nDisks Desktop is Flutter desktop library able to retrieve the installed devices information\n\n[![Pub](https://img.shields.io/pub/v/disks_desktop.svg)](https://pub.dev/packages/disks_desktop)\n![Flutter CI](https://github.com/AngeloAvv/disks/workflows/Flutter%20CI/badge.svg)\n[![Star on GitHub](https://img.shields.io/github/stars/AngeloAvv/disks.svg?style=flat\u0026logo=github\u0026colorB=deeppink\u0026label=stars)](https://github.com/AngeloAvv/disks)\n[![License: MIT](https://img.shields.io/badge/license-MIT-purple.svg)](https://opensource.org/licenses/MIT)\n\nIf you want to support this project,\n\n[![\"Buy Me A Coffee\"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/angeloavv)\n\n\nWith Disks Desktop  you can get access to disks' information like:\n* block size\n* bus type\n* bus version\n* description\n* device name\n* device path\n* logical block size\n* available mountpoints\n* disk size\n* partition table type\n* is in error\n* is a card\n* is read only\n* is removable\n* is scsi\n* is system\n* is uas\n* is usb\n* is virtual\n* is raw\n\n### Installation\n\nIn general, put it under\n[dependencies](https://dart.dev/tools/pub/dependencies),\nin your [pubspec.yaml](https://dart.dev/tools/pub/pubspec):\n\n```yaml\ndependencies:\n  disks_desktop: ^1.0.1\n```\n\nYou can install packages from the command line:\n\n```terminal\nflutter pub get\n```\n\nor simply add it through the command line:\n\n```terminal\nflutter pub add disks_desktop\n```\n\n## Usage\n\nTo get the list of the available drives with their details, simply create an instance of a Disk Repository, and then invoke the query getter.\n\nExample:\n```dart\nfinal repository = DiskRepository();\nfinal disks = await repository.query;\n```\n\nYou can also use it with a FutureBuilder:\n```dart\nFutureBuilder\u003cList\u003cDisk\u003e\u003e(\n  future: DisksRepository().query,\n  builder: (context, snapshot) =\u003e [...]\n),\n```\n\n## License\n\nDisks Desktop is available under the MIT license. See the LICENSE file for more info.\ndrivelist.cpp, drivelist.hpp, list.cpp and list.hpp are available under the Apache 2.0 license and belongs to balena.io\n\n## Additional information\n\u003ca href=\"https://www.flaticon.com/free-icons/hard-disk\" title=\"hard disk icons\"\u003eDisks icon created by Freepik - Flaticon\u003c/a\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAngeloAvv%2Fdisks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAngeloAvv%2Fdisks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAngeloAvv%2Fdisks/lists"}