{"id":30142152,"url":"https://github.com/local-connectivity-lab/lcl-speedtest","last_synced_at":"2025-10-17T08:07:35.315Z","repository":{"id":246975167,"uuid":"762148997","full_name":"Local-Connectivity-Lab/lcl-speedtest","owner":"Local-Connectivity-Lab","description":"Speedtest client for NDT7 Testing Protocol in Swift","archived":false,"fork":false,"pushed_at":"2025-02-23T08:13:39.000Z","size":69,"stargazers_count":11,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-16T21:49:19.961Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Local-Connectivity-Lab.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"zenodo":null}},"created_at":"2024-02-23T07:21:00.000Z","updated_at":"2025-09-06T01:46:27.000Z","dependencies_parsed_at":"2025-08-11T05:41:40.755Z","dependency_job_id":"6684da9a-9c6b-4262-8bef-f4f4ffffbccf","html_url":"https://github.com/Local-Connectivity-Lab/lcl-speedtest","commit_stats":null,"previous_names":["local-connectivity-lab/lcl-speedtest"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/Local-Connectivity-Lab/lcl-speedtest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Local-Connectivity-Lab%2Flcl-speedtest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Local-Connectivity-Lab%2Flcl-speedtest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Local-Connectivity-Lab%2Flcl-speedtest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Local-Connectivity-Lab%2Flcl-speedtest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Local-Connectivity-Lab","download_url":"https://codeload.github.com/Local-Connectivity-Lab/lcl-speedtest/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Local-Connectivity-Lab%2Flcl-speedtest/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279308419,"owners_count":26144931,"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","status":"online","status_checked_at":"2025-10-17T02:00:07.504Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-08-11T05:41:37.143Z","updated_at":"2025-10-17T08:07:35.282Z","avatar_url":"https://github.com/Local-Connectivity-Lab.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LCL Speedtest\n\nLCL Speedtest is a cross-platform Speedtest client-side library written in Swift. The library is a community implementation of [NDT7 protocol from M-Lab](https://www.measurementlab.net/tests/ndt/ndt7/).\n\nPlease follow the policy and rules from M-Lab when using the measurement resources. \n\n## Requirements\n- Swift 5.7+\n- macOS 10.15+, iOS 14+, Linux\n\n## Getting Started\nAdd the following to your `Package.swift` file:\n```code\n.package(url: \"https://github.com/Local-Connectivity-Lab/lcl-speedtest.git\", from: \"1.0.0\")\n```\n\nThen import the module to your project\n```code\n.target(\n    name: \"YourAppName\",\n    .dependencies: [\n        .product(name: \"LCLSpeedtest\", package: \"lcl-speedtest\")\n    ]\n)\n```\n\n### Basic Usage\n```swift\nvar testClient = SpeedTestClient()\ntestClient.onDownloadProgress = { measurement in\n    print(measurement)\n}\ntestClient.onUploadProgress = { measurement in\n    print(measurement)\n}\ntry await testClient.start(with: .downloadAndUpload)\n```\n\n### Features\n- Measure download and upload throughputs through Websocket protocol.\n- Fine tune upload throughput following the system capacity.\n- Measurement supports cancellation.\n\n\n## Contributing\nAny contribution and pull requests are welcome! However, before you plan to implement some features or try to fix an uncertain issue, it is recommended to open a discussion first. You can also join our [Discord channel](https://discord.com/invite/gn4DKF83bP), or visit our [website](https://seattlecommunitynetwork.org/).\n\n## License\nLCL Speedtest is released under Apache License. See [LICENSE](/LICENSE) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flocal-connectivity-lab%2Flcl-speedtest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flocal-connectivity-lab%2Flcl-speedtest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flocal-connectivity-lab%2Flcl-speedtest/lists"}