{"id":32271414,"url":"https://github.com/fengqiaozhu/aria2","last_synced_at":"2026-02-23T11:03:48.003Z","repository":{"id":46203729,"uuid":"424082115","full_name":"fengqiaozhu/aria2","owner":"fengqiaozhu","description":"An aria2 api package developed with dart which can be used in a flutter project, support http and websocket connection to an aria2 jsonrpc server.","archived":false,"fork":false,"pushed_at":"2023-12-10T21:45:10.000Z","size":100,"stargazers_count":9,"open_issues_count":2,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-22T22:52:38.843Z","etag":null,"topics":["api","aria2","dart","flutter"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fengqiaozhu.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}},"created_at":"2021-11-03T03:39:24.000Z","updated_at":"2024-08-23T08:56:29.000Z","dependencies_parsed_at":"2022-09-13T08:12:26.730Z","dependency_job_id":null,"html_url":"https://github.com/fengqiaozhu/aria2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fengqiaozhu/aria2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fengqiaozhu%2Faria2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fengqiaozhu%2Faria2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fengqiaozhu%2Faria2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fengqiaozhu%2Faria2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fengqiaozhu","download_url":"https://codeload.github.com/fengqiaozhu/aria2/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fengqiaozhu%2Faria2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29741260,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-23T07:44:07.782Z","status":"ssl_error","status_checked_at":"2026-02-23T07:44:07.432Z","response_time":90,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["api","aria2","dart","flutter"],"created_at":"2025-10-22T22:52:12.295Z","updated_at":"2026-02-23T11:03:47.995Z","avatar_url":"https://github.com/fengqiaozhu.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Aria2-Dart-Package\n\nAn aria2 api package developed with dart which can be used in a flutter project, support http and websocket connection to an aria2 jsonrpc server.\n\n## Features\n\n1. Connect to an aria2 jsonrpc server, control the aria2 downloader remotely.\n2. Support http, websocket.\n3. Support secret authentication\n\n## Getting started\n\n```\nflutter pub add aria2\n```\n## Develop\n```\n// Run below shell after change the jsons/*.json model config file;\nflutter packages pub run json_model\n```\n\n## Usage\nYou can use this package like this:\n```dart\nimport 'package:aria2/aria2.dart';\n\nvoid main() async {\n    try{\n        // protocol can be \"http\" or \"websocket\"\n        Aria2c aria2c = Aria2c(rpcUrl, protocol, secret);\n\n        Aria2Version version = await aria2c.getVersion();\n        print(version.toString());\n        // return {\"id\":\"flutter\",\"jsonrpc\":\"2.0\",\"result\":{\"enabledFeatures\":[\"Async DNS\",\"BitTorrent\",\"Firefox3 Cookie\",\"GZip\",\"HTTPS\",\"Message Digest\",\"Metalink\",\"XML-RPC\",\"SFTP\"],\"version\":\"1.36.0\"}}\n\n        Aria2GlobalStat globalStatus = await aria2c.getGlobalStat();\n        print(globalStatus.toString());\n        //return {\"id\":\"flutter\",\"jsonrpc\":\"2.0\",\"result\":{\"downloadSpeed\":\"0\",\"numActive\":\"0\",\"numStopped\":\"34\",\"numStoppedTotal\":\"36\",\"numWaiting\":\"0\",\"uploadSpeed\":\"0\"}}\n\n        Aria2Option option = Aria2Option()\n            ..maxOverallDownloadLimit = 1024*1024*3;\n        await aria2c.changeGlobalOption(option)\n    } catch (e) {\n        print(e);\n    }\n}\n```\nMore aria2 usage can be found at [aria2c API](\"http://aria2.github.io/manual/en/html/aria2c.html\")\n\n## Additional information\n\nIf you have any usage problem ,please tell me in the Issues.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffengqiaozhu%2Faria2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffengqiaozhu%2Faria2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffengqiaozhu%2Faria2/lists"}