{"id":20094798,"url":"https://github.com/edufolly/curt","last_synced_at":"2025-05-06T04:32:48.134Z","repository":{"id":147707689,"uuid":"618610426","full_name":"edufolly/curt","owner":"edufolly","description":"Simple wrapper for curl in dart.","archived":false,"fork":false,"pushed_at":"2023-07-12T16:24:00.000Z","size":164,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-01-26T10:34:29.257Z","etag":null,"topics":["brazil","curl","dart","flutter","hacktoberfest","internet","linux","macos","windows"],"latest_commit_sha":null,"homepage":"","language":"Dart","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/edufolly.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}},"created_at":"2023-03-24T21:19:43.000Z","updated_at":"2023-07-07T11:25:02.000Z","dependencies_parsed_at":"2023-10-11T09:02:03.829Z","dependency_job_id":null,"html_url":"https://github.com/edufolly/curt","commit_stats":{"total_commits":49,"total_committers":2,"mean_commits":24.5,"dds":"0.10204081632653061","last_synced_commit":"927b851b9e37a7714f9a855ea93c30cc6916c9e9"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edufolly%2Fcurt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edufolly%2Fcurt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edufolly%2Fcurt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edufolly%2Fcurt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edufolly","download_url":"https://codeload.github.com/edufolly/curt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252622717,"owners_count":21778064,"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":["brazil","curl","dart","flutter","hacktoberfest","internet","linux","macos","windows"],"created_at":"2024-11-13T16:52:38.679Z","updated_at":"2025-05-06T04:32:47.851Z","avatar_url":"https://github.com/edufolly.png","language":"Dart","funding_links":["https://www.buymeacoffee.com/edufolly"],"categories":[],"sub_categories":[],"readme":"# curt\n\n[![Build With Love](https://img.shields.io/badge/%20built%20with-%20%E2%9D%A4-ff69b4.svg)](https://github.com/edufolly/curt/stargazers)\n[![Pub Package](https://img.shields.io/pub/v/curt?color=orange)](https://pub.dev/packages/curt)\n[![Licence](https://img.shields.io/github/license/edufolly/curt?color=blue)](https://github.com/edufolly/curt/blob/main/LICENSE)\n[![Build](https://img.shields.io/github/actions/workflow/status/edufolly/curt/main.yml?branch=main)](https://github.com/edufolly/curt/releases/latest)\n[![Coverage Report](https://img.shields.io/badge/coverage-report-C08EA1)](https://edufolly.github.io/curt/coverage/)\n\nA convenient package that allows developers to interact with the curl command\nwithin elegance of the Dart programming language.\n\nThis wrapper simplifies the process of sending HTTP requests, handling\nresponses, and managing data transfers, providing a more intuitive and efficient\nway to work with curl functionality in the Dart ecosystem. By encapsulating the\ncomplexity of curl within a straightforward wrapper, developers can leverage its\npower and flexibility while benefiting from the simplicity and elegance of the\nDart programming language.\n\n## Funding\n\nYour contribution will help drive the development of quality tools for the\nFlutter and Dart developer community. Any amount will be appreciated. Thank you\nfor your continued support!\n\n[![BuyMeACoffee](https://www.buymeacoffee.com/assets/img/guidelines/download-assets-sm-2.svg)](https://www.buymeacoffee.com/edufolly)\n\n## PIX\n\nSua contribuição ajudará a impulsionar o desenvolvimento de ferramentas de\nqualidade para a comunidade de desenvolvedores Flutter e Dart. Qualquer quantia\nserá apreciada. Obrigado pelo seu apoio contínuo!\n\n[![PIX](helpers/pix.png)](https://nubank.com.br/pagar/2bt2q/RBr4Szfuwr)\n\n## Motivation\n\nAllow https connections with TLS less than 1.2 through [curl](https://curl.se/).\n\nLegacy systems or older applications that rely on older TLS versions for\ncompatibility reasons. These systems might not have been upgraded to support TLS\n1.2 or higher due to various constraints, such as limited resources, technical\nlimitations, or compatibility issues with certain dependencies. In such cases,\nallowing HTTPS connections with TLS versions less than 1.2 through curl would\nenable these systems to continue functioning without major modifications.\n\nCertain devices or environments might enforce outdated TLS configurations due to\nspecific security policies or restrictions. These networks may still rely on\nolder TLS versions for various reasons, such as interoperability with legacy\nsystems or compliance with specific regulations. Allowing curl to establish\nHTTPS connections with TLS versions less than 1.2 would ensure compatibility and\nconnectivity in these constrained environments.\n\nHowever, it's important to note that TLS versions prior to 1.2 (such as TLS 1.0\nand TLS 1.1) are considered less secure and potentially vulnerable to various\nsecurity threats. TLS 1.2 introduced significant improvements in terms of\nsecurity, encryption algorithms, and cryptographic protocols. Therefore, it's\ngenerally recommended to use TLS 1.2 or higher for secure communications.\n\n## Example\n\n```dart\nimport 'package:curt/curt.dart';\n\n///\n/// \n/// \nvoid main() async {\n  final Curt curt = Curt();\n  final CurtResponse response = await curt.get(Uri.parse('https://google.com'));\n  print('Status Code: ${response.statusCode}');\n  print('Headers: ${response.headers}');\n  print('Body:\\n${response.body}');\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedufolly%2Fcurt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedufolly%2Fcurt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedufolly%2Fcurt/lists"}