{"id":21113535,"url":"https://github.com/miyako/curl","last_synced_at":"2026-05-19T18:32:45.172Z","repository":{"id":263513873,"uuid":"890596183","full_name":"miyako/curl","owner":"miyako","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-13T07:46:54.000Z","size":10868,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-13T08:33:21.466Z","etag":null,"topics":["4d-class","4d-component","curl"],"latest_commit_sha":null,"homepage":"https://miyako.github.io/curl/","language":"4D","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/miyako.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}},"created_at":"2024-11-18T21:06:53.000Z","updated_at":"2025-03-13T07:46:57.000Z","dependencies_parsed_at":"2025-03-13T08:37:22.888Z","dependency_job_id":null,"html_url":"https://github.com/miyako/curl","commit_stats":null,"previous_names":["miyako/curl"],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyako%2Fcurl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyako%2Fcurl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyako%2Fcurl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miyako%2Fcurl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/miyako","download_url":"https://codeload.github.com/miyako/curl/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243558477,"owners_count":20310574,"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":["4d-class","4d-component","curl"],"created_at":"2024-11-20T01:54:17.954Z","updated_at":"2025-12-28T18:21:58.004Z","avatar_url":"https://github.com/miyako.png","language":"4D","funding_links":[],"categories":[],"sub_categories":[],"readme":"![version](https://img.shields.io/badge/version-20%2B-E23089)\n![platform](https://img.shields.io/static/v1?label=platform\u0026message=mac-intel%20|%20mac-arm%20|%20win-64\u0026color=blue)\n[![license](https://img.shields.io/github/license/miyako/curl)](LICENSE)\n![downloads](https://img.shields.io/github/downloads/miyako/curl/total)\n\n### Licensing\n\n* the source code of this component is licensed under the [MIT license](https://github.com/miyako/curl/blob/master/LICENSE).\n* see [curl.se](https://curl.se/docs/copyright.html) for the licensing of **curl**.\n \n# curl\n\n## dependencies.json\n\n ```json\n{\n\t\"dependencies\": {\n\t\t\"curl\": {\n\t\t\t\"github\": \"miyako/curl\",\n\t\t\t\"version\": \"latest\"\n\t\t}\n\t}\n}\n```\n\nbased on [stunnel/static-curl](https://github.com/stunnel/static-curl)\n\n**note for Windows 11**: unlike the `curl` that comes with Windows 11, this edition uses OpenSSL. some servers may require the `-k` option unless local certficates are properly configured (search \"curl error 60\").\n\n## Usage - with UI\n\n```4d\n#DECLARE($params : Object)\n\nIf (Count parameters=0)\n\t\n\tCALL WORKER(1; Current method name; {})\n\t\nElse \n\t\n\t$form:=cs._curlForm.new()\n\t\nEnd if \n```\n\n\n## Usage - without UI\n\n```4d\n#DECLARE($params : Object)\n\nIf ($params=Null)\n\t\n\t/*\n\t\tasync calls must be performed in a worker or form\n\t*/\n\t\n\tCALL WORKER(1; Current method name; {})\n\t\nElse \n\t\n\tvar $curl : cs.curl\n\t$curl:=cs.curl.new(cs._curl_Controller)\n\t\n\t$URL:=\"https://resources-download.4d.com/release/20.x/20.5/latest/mac/tool4d_arm64.tar.xz\"\n\t\n\t$out:=Folder(fk desktop folder).file(\"tool4d_arm64.tar.xz\")\n\t\n\t$curl.perform([$URL; \"-o\"; $out; \"-L\"; \"-#\"])  //L:follow redirection\n\t\nEnd if\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiyako%2Fcurl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmiyako%2Fcurl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiyako%2Fcurl/lists"}