{"id":18838792,"url":"https://github.com/starkdmi/resumable_download","last_synced_at":"2025-04-14T06:36:37.137Z","repository":{"id":60739928,"uuid":"511669472","full_name":"starkdmi/resumable_download","owner":"starkdmi","description":"Resumable HTTP download request - pause, resume, cancel, progress and error handling","archived":false,"fork":false,"pushed_at":"2023-06-15T18:28:38.000Z","size":147,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-08T14:20:33.226Z","etag":null,"topics":["dart","http"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/download_task","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/starkdmi.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-07-07T20:45:01.000Z","updated_at":"2024-07-30T05:42:15.000Z","dependencies_parsed_at":"2024-11-08T02:40:51.495Z","dependency_job_id":"b3204008-8af3-4e70-af18-3d160d124995","html_url":"https://github.com/starkdmi/resumable_download","commit_stats":{"total_commits":41,"total_committers":2,"mean_commits":20.5,"dds":"0.024390243902439046","last_synced_commit":"a49c934c69c4512d19f617d645eeab05de336303"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starkdmi%2Fresumable_download","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starkdmi%2Fresumable_download/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starkdmi%2Fresumable_download/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/starkdmi%2Fresumable_download/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/starkdmi","download_url":"https://codeload.github.com/starkdmi/resumable_download/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248836290,"owners_count":21169370,"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","http"],"created_at":"2024-11-08T02:40:44.546Z","updated_at":"2025-04-14T06:36:36.788Z","avatar_url":"https://github.com/starkdmi.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"**Resumable HTTP download request** - pause, resume, cancel, realtime progress and error handling\n\n## Features\n\n- **Take control** - pause, resume and cancel\n- **Listen to updates** - realtime progress and failure handling\n- **Pure Dart** - only `http` dependency \n- **Easy to use** - singletone and stream\n\n## Getting started\n\nInclude latest version from [pub.dev](https://pub.dev/packages/download_task) to `pubspec.yaml` and simply run\n```dart\nawait DownloadTask.download(url, destination);\n```\n\n## Usage\n\n```dart\n// initialize download request\nfinal task = await DownloadTask.download(url, File(\"image.webp\"));\n\n// listen to state changes\ntask.events.listen((event) { ... }\n\n// control task\ntask.pause();\ntask.resume();\ntask.cancel();\n```\nExample full source code available at [example's directory](example/download_task_example.dart)\n\n\n## Additional information\n\nThis package is primarly used in [isolated_download_manager](https://pub.dev/packages/isolated_download_manager)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstarkdmi%2Fresumable_download","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstarkdmi%2Fresumable_download","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstarkdmi%2Fresumable_download/lists"}