{"id":47444103,"url":"https://github.com/JuliaWeb/LibCURL.jl","last_synced_at":"2026-04-06T13:00:57.763Z","repository":{"id":7497477,"uuid":"8846967","full_name":"JuliaWeb/LibCURL.jl","owner":"JuliaWeb","description":"Julia wrapper for libcurl","archived":false,"fork":false,"pushed_at":"2026-04-03T12:46:27.000Z","size":187,"stargazers_count":35,"open_issues_count":15,"forks_count":30,"subscribers_count":11,"default_branch":"master","last_synced_at":"2026-04-03T17:26:18.670Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Julia","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JuliaWeb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2013-03-18T04:21:34.000Z","updated_at":"2026-04-03T12:46:30.000Z","dependencies_parsed_at":"2025-02-05T22:43:15.711Z","dependency_job_id":"1f0a9675-6e84-468e-9eca-d5ed0700e938","html_url":"https://github.com/JuliaWeb/LibCURL.jl","commit_stats":{"total_commits":126,"total_committers":26,"mean_commits":4.846153846153846,"dds":0.7301587301587302,"last_synced_commit":"fd8af649b38ae20c3ff7f5dca53753512ca00376"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"purl":"pkg:github/JuliaWeb/LibCURL.jl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaWeb%2FLibCURL.jl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaWeb%2FLibCURL.jl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaWeb%2FLibCURL.jl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaWeb%2FLibCURL.jl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JuliaWeb","download_url":"https://codeload.github.com/JuliaWeb/LibCURL.jl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaWeb%2FLibCURL.jl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31473271,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-06T08:36:52.050Z","status":"ssl_error","status_checked_at":"2026-04-06T08:36:51.267Z","response_time":112,"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":[],"created_at":"2026-03-23T06:00:59.902Z","updated_at":"2026-04-06T13:00:57.758Z","avatar_url":"https://github.com/JuliaWeb.png","language":"Julia","funding_links":[],"categories":["Web Security"],"sub_categories":["HTTP and Web Frameworks"],"readme":"LibCURL.jl\n==========\n\n*Julia wrapper for libCURL*\n\n[![CI](https://github.com/JuliaWeb/LibCURL.jl/actions/workflows/ci.yml/badge.svg)](https://github.com/JuliaWeb/LibCURL.jl/actions/workflows/ci.yml)\n[![codecov.io](https://codecov.io/github/JuliaWeb/LibCURL.jl/graph/badge.svg)](https://codecov.io/github/JuliaWeb/LibCURL.jl)\n\n---\nThis is a simple Julia wrapper around http://curl.haxx.se/libcurl/ generated using [Clang.jl](https://github.com/ihnorton/Clang.jl). Please see the [libcurl API documentation](https://curl.haxx.se/libcurl/c/) for help on how to use this package.\n\n### Example (fetch a URL)\n\n```julia\nusing LibCURL\n\n# init a curl handle\ncurl = curl_easy_init()\n\n# set the URL and request to follow redirects\ncurl_easy_setopt(curl, CURLOPT_URL, \"http://example.com\")\ncurl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1)\n\n\n# setup the callback function to recv data\nfunction curl_write_cb(curlbuf::Ptr{Cvoid}, s::Csize_t, n::Csize_t, p_ctxt::Ptr{Cvoid})\n    sz = s * n\n    data = Array{UInt8}(undef, sz)\n\n    ccall(:memcpy, Ptr{Cvoid}, (Ptr{Cvoid}, Ptr{Cvoid}, UInt64), data, curlbuf, sz)\n    println(\"recd: \", String(data))\n\n    sz::Csize_t\nend\n\nc_curl_write_cb = @cfunction(curl_write_cb, Csize_t, (Ptr{Cvoid}, Csize_t, Csize_t, Ptr{Cvoid}))\ncurl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, c_curl_write_cb)\n\n\n# execute the query\nres = curl_easy_perform(curl)\nprintln(\"curl url exec response : \", res)\n\n# retrieve HTTP code\nhttp_code = Array{Clong}(undef, 1)\ncurl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, http_code)\nprintln(\"httpcode : \", http_code)\n\n# release handle\ncurl_easy_cleanup(curl)\n\n```\n\n### Binaries\n\nThis package uses the [LibCURL_jll](https://github.com/JuliaBinaryWrappers/libCURL_jll.jl) binary package to install compiled libCURL binaries on all supported platforms. The following products are defined in the jll\n\n* `libcurl`: A `LibraryProduct` referencing the shared library\n* `curl`: An `ExecutableProduct` referencing the binary\n\nThis package also uses the [MozillaCACerts_jll](https://github.com/JuliaBinaryWrappers/MozillaCACerts_jll.jl) package to supply the Mozilla CA root certificate bundle. Note that the `cacert` symbol is re-exported from this package for ease of use.\n\n* `cacert`: A `FileProduct` referencing the Mozilla CA certificate bundle\n\n### SSL certificates\n\nMaking SSL/TLS connections usually needs access to a CA certificate to validate peers. The Mozilla CA bundle can be used via this package. To use this certificate bundle, set the following option:\n\n```julia\ncurl_easy_setopt(curl, CURLOPT_CAINFO, LibCURL.cacert)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJuliaWeb%2FLibCURL.jl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJuliaWeb%2FLibCURL.jl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJuliaWeb%2FLibCURL.jl/lists"}